libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.DescribeEnvironments

Description

Returns descriptions for existing environments.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeEnvironments Source #

Request to describe one or more environments.

See: newDescribeEnvironments smart constructor.

Constructors

DescribeEnvironments' 

Fields

  • environmentIds :: Maybe [Text]

    If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.

  • environmentNames :: Maybe [Text]

    If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.

  • nextToken :: Maybe Text

    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.

  • versionLabel :: Maybe Text

    If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.

  • maxRecords :: Maybe Natural

    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.

  • applicationName :: Maybe Text

    If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.

  • includedDeletedBackTo :: Maybe ISO8601

    If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.

  • includeDeleted :: Maybe Bool

    Indicates whether to include deleted environments:

    true: Environments that have been deleted after IncludedDeletedBackTo are displayed.

    false: Do not include deleted environments.

Instances

Instances details
Eq DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Read DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Show DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Generic DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Associated Types

type Rep DescribeEnvironments :: Type -> Type #

NFData DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Methods

rnf :: DescribeEnvironments -> () #

Hashable DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

AWSPager DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

AWSRequest DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Associated Types

type AWSResponse DescribeEnvironments #

ToHeaders DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

ToPath DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

ToQuery DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

type Rep DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

type Rep DescribeEnvironments = D1 ('MetaData "DescribeEnvironments" "Amazonka.ElasticBeanstalk.DescribeEnvironments" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DescribeEnvironments'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "environmentIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "environmentNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "includedDeletedBackTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "includeDeleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))
type AWSResponse DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

newDescribeEnvironments :: DescribeEnvironments Source #

Create a value of DescribeEnvironments with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:environmentIds:DescribeEnvironments', describeEnvironments_environmentIds - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.

$sel:environmentNames:DescribeEnvironments', describeEnvironments_environmentNames - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.

$sel:nextToken:DescribeEnvironments', describeEnvironments_nextToken - 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.

$sel:versionLabel:DescribeEnvironments', describeEnvironments_versionLabel - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.

$sel:maxRecords:DescribeEnvironments', describeEnvironments_maxRecords - 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.

$sel:applicationName:DescribeEnvironments', describeEnvironments_applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.

$sel:includedDeletedBackTo:DescribeEnvironments', describeEnvironments_includedDeletedBackTo - If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.

$sel:includeDeleted:DescribeEnvironments', describeEnvironments_includeDeleted - Indicates whether to include deleted environments:

true: Environments that have been deleted after IncludedDeletedBackTo are displayed.

false: Do not include deleted environments.

Request Lenses

describeEnvironments_environmentIds :: Lens' DescribeEnvironments (Maybe [Text]) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.

describeEnvironments_environmentNames :: Lens' DescribeEnvironments (Maybe [Text]) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.

describeEnvironments_nextToken :: 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.

describeEnvironments_versionLabel :: 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.

describeEnvironments_maxRecords :: 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.

describeEnvironments_applicationName :: Lens' DescribeEnvironments (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.

describeEnvironments_includedDeletedBackTo :: Lens' DescribeEnvironments (Maybe UTCTime) Source #

If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.

describeEnvironments_includeDeleted :: 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

data EnvironmentDescriptionsMessage Source #

Result message containing a list of environment descriptions.

See: newEnvironmentDescriptionsMessage smart constructor.

Constructors

EnvironmentDescriptionsMessage' 

Fields

Instances

Instances details
Eq EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Read EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Show EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Generic EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Associated Types

type Rep EnvironmentDescriptionsMessage :: Type -> Type #

NFData EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Hashable EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

FromXML EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

type Rep EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

type Rep EnvironmentDescriptionsMessage = D1 ('MetaData "EnvironmentDescriptionsMessage" "Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "EnvironmentDescriptionsMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentDescription]))))

newEnvironmentDescriptionsMessage :: EnvironmentDescriptionsMessage Source #

Create a value of EnvironmentDescriptionsMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:EnvironmentDescriptionsMessage', environmentDescriptionsMessage_nextToken - In a paginated request, the token that you can pass in a subsequent request to get the next response page.

$sel:environments:EnvironmentDescriptionsMessage', environmentDescriptionsMessage_environments - Returns an EnvironmentDescription list.

Response Lenses

environmentDescriptionsMessage_nextToken :: 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.