amazonka-elasticbeanstalk-2.0: Amazon Elastic Beanstalk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • applicationName :: Maybe Text

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

  • 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.

  • 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.

  • includedDeletedBackTo :: Maybe ISO8601

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

  • 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.

  • 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.

Instances

Instances details
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

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 #

Generic DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Associated Types

type Rep DescribeEnvironments :: Type -> Type #

Read DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Show DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

NFData DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Methods

rnf :: DescribeEnvironments -> () #

Eq DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

Hashable DescribeEnvironments Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironments

type AWSResponse 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" "amazonka-elasticbeanstalk-2.0-HLGGuY0kjXTIKSbM7JuMHy" 'False) (C1 ('MetaCons "DescribeEnvironments'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "environmentNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "includeDeleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "includedDeletedBackTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:

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

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

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

$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.

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.

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

Request Lenses

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_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_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.

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

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

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_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.

Destructuring the Response

data EnvironmentDescriptionsMessage Source #

Result message containing a list of environment descriptions.

See: newEnvironmentDescriptionsMessage smart constructor.

Constructors

EnvironmentDescriptionsMessage' 

Fields

Instances

Instances details
FromXML 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 #

Read EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Show EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

NFData EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Eq EnvironmentDescriptionsMessage Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescriptionsMessage

Hashable 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" "amazonka-elasticbeanstalk-2.0-HLGGuY0kjXTIKSbM7JuMHy" 'False) (C1 ('MetaCons "EnvironmentDescriptionsMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentDescription])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:environments:EnvironmentDescriptionsMessage', environmentDescriptionsMessage_environments - Returns an EnvironmentDescription list.

$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.

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.