v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1474216311.3 KB

Requests a description of one or more layers in a specified stack.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

post/#X-Amz-Target=OpsWorks_20130218.DescribeLayers

Headers

X-Amz-Target'OpsWorks_20130218.DescribeLayers' required

Request body

StackIdstring

The stack ID.

LayerIdsString[]

An array of layer IDs that specify the layers to be described. If you omit this parameter, <code>DescribeLayers</code> returns a description of every layer in the specified stack.

Response

Success