Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns descriptions for existing environments.
- describeEnvironments :: DescribeEnvironments
- data DescribeEnvironments
- desEnvironmentIds :: Lens' DescribeEnvironments [Text]
- desEnvironmentNames :: Lens' DescribeEnvironments [Text]
- desNextToken :: Lens' DescribeEnvironments (Maybe Text)
- desVersionLabel :: Lens' DescribeEnvironments (Maybe Text)
- desMaxRecords :: Lens' DescribeEnvironments (Maybe Natural)
- desApplicationName :: Lens' DescribeEnvironments (Maybe Text)
- desIncludedDeletedBackTo :: Lens' DescribeEnvironments (Maybe UTCTime)
- desIncludeDeleted :: Lens' DescribeEnvironments (Maybe Bool)
- environmentDescriptionsMessage :: EnvironmentDescriptionsMessage
- data EnvironmentDescriptionsMessage
- edmNextToken :: Lens' EnvironmentDescriptionsMessage (Maybe Text)
- edmEnvironments :: Lens' EnvironmentDescriptionsMessage [EnvironmentDescription]
Creating a Request
describeEnvironments :: DescribeEnvironments Source #
Creates a value of DescribeEnvironments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desEnvironmentIds
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.desEnvironmentNames
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.desNextToken
- For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request. If noNextToken
is specified, the first page is retrieved.desVersionLabel
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.desMaxRecords
- For a paginated request. Specify a maximum number of environments to include in each response. If noMaxRecords
is specified, all available environments are retrieved in a single response.desApplicationName
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.desIncludedDeletedBackTo
- If specified whenIncludeDeleted
is set totrue
, then environments deleted after this date are displayed.desIncludeDeleted
- Indicates whether to include deleted environments:true
: Environments that have been deleted afterIncludedDeletedBackTo
are displayed.false
: Do not include deleted environments.
data DescribeEnvironments Source #
Request to describe one or more environments.
See: describeEnvironments
smart constructor.
Request Lenses
desEnvironmentIds :: Lens' DescribeEnvironments [Text] Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
desEnvironmentNames :: Lens' DescribeEnvironments [Text] Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
desNextToken :: Lens' DescribeEnvironments (Maybe Text) Source #
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request. If no NextToken
is specified, the first page is retrieved.
desVersionLabel :: Lens' DescribeEnvironments (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
desMaxRecords :: Lens' DescribeEnvironments (Maybe Natural) Source #
For a paginated request. Specify a maximum number of environments to include in each response. If no MaxRecords
is specified, all available environments are retrieved in a single response.
desApplicationName :: Lens' DescribeEnvironments (Maybe Text) Source #
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
desIncludedDeletedBackTo :: Lens' DescribeEnvironments (Maybe UTCTime) Source #
If specified when IncludeDeleted
is set to true
, then environments deleted after this date are displayed.
desIncludeDeleted :: Lens' DescribeEnvironments (Maybe Bool) Source #
Indicates whether to include deleted environments: true
: Environments that have been deleted after IncludedDeletedBackTo
are displayed. false
: Do not include deleted environments.
Destructuring the Response
environmentDescriptionsMessage :: EnvironmentDescriptionsMessage Source #
Creates a value of EnvironmentDescriptionsMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edmNextToken
- In a paginated request, the token that you can pass in a subsequent request to get the next response page.edmEnvironments
- Returns anEnvironmentDescription
list.
data EnvironmentDescriptionsMessage Source #
Result message containing a list of environment descriptions.
See: environmentDescriptionsMessage
smart constructor.
Response Lenses
edmNextToken :: Lens' EnvironmentDescriptionsMessage (Maybe Text) Source #
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
edmEnvironments :: Lens' EnvironmentDescriptionsMessage [EnvironmentDescription] Source #
Returns an EnvironmentDescription
list.