Requests a description of one or more layers in a specified stack.
Note: |
---|
You must specify at least one of the parameters. |
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 on user permissions, see Managing User Permissions.
Declaration Syntax
C# |
DescribeLayersResponse DescribeLayers( DescribeLayersRequest request )
Parameters
- request (DescribeLayersRequest)
- Container for the necessary parameters to execute the DescribeLayers service method.
Return Value
The response from the DescribeLayers service method, as returned by OpsWorks.
Exceptions
Exception | Condition |
---|---|
ResourceNotFoundException |
Indicates that a resource was not found.
|
ValidationException |
Indicates that a request was invalid.
|