amazonka-proton-2.0: Amazon Proton 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.Proton.ListComponents

Description

List components with summary data. You can filter the result list by environment, service, or a single service instance.

For more information about components, see Proton components in the Proton User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListComponents Source #

See: newListComponents smart constructor.

Constructors

ListComponents' 

Fields

  • environmentName :: Maybe Text

    The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.

  • maxResults :: Maybe Natural

    The maximum number of components to list.

  • nextToken :: Maybe Text

    A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.

  • serviceInstanceName :: Maybe Text

    The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.

  • serviceName :: Maybe Text

    The name of a service for result list filtering. Proton returns components attached to service instances of the service.

Instances

Instances details
ToJSON ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

ToHeaders ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

ToPath ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

ToQuery ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

AWSPager ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

AWSRequest ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Associated Types

type AWSResponse ListComponents #

Generic ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Associated Types

type Rep ListComponents :: Type -> Type #

Read ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Show ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

NFData ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Methods

rnf :: ListComponents -> () #

Eq ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Hashable ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

type AWSResponse ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

type Rep ListComponents Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

type Rep ListComponents = D1 ('MetaData "ListComponents" "Amazonka.Proton.ListComponents" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ListComponents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceInstanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListComponents :: ListComponents Source #

Create a value of ListComponents 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:

ListComponents, listComponents_environmentName - The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.

$sel:maxResults:ListComponents', listComponents_maxResults - The maximum number of components to list.

ListComponents, listComponents_nextToken - A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.

ListComponents, listComponents_serviceInstanceName - The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.

ListComponents, listComponents_serviceName - The name of a service for result list filtering. Proton returns components attached to service instances of the service.

Request Lenses

listComponents_environmentName :: Lens' ListComponents (Maybe Text) Source #

The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.

listComponents_maxResults :: Lens' ListComponents (Maybe Natural) Source #

The maximum number of components to list.

listComponents_nextToken :: Lens' ListComponents (Maybe Text) Source #

A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.

listComponents_serviceInstanceName :: Lens' ListComponents (Maybe Text) Source #

The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.

listComponents_serviceName :: Lens' ListComponents (Maybe Text) Source #

The name of a service for result list filtering. Proton returns components attached to service instances of the service.

Destructuring the Response

data ListComponentsResponse Source #

See: newListComponentsResponse smart constructor.

Constructors

ListComponentsResponse' 

Fields

Instances

Instances details
Generic ListComponentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Associated Types

type Rep ListComponentsResponse :: Type -> Type #

Show ListComponentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

NFData ListComponentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

Methods

rnf :: ListComponentsResponse -> () #

Eq ListComponentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

type Rep ListComponentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListComponents

type Rep ListComponentsResponse = D1 ('MetaData "ListComponentsResponse" "Amazonka.Proton.ListComponents" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ListComponentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "components") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ComponentSummary]))))

newListComponentsResponse Source #

Create a value of ListComponentsResponse 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:

ListComponents, listComponentsResponse_nextToken - A token that indicates the location of the next component in the array of components, after the current requested list of components.

$sel:httpStatus:ListComponentsResponse', listComponentsResponse_httpStatus - The response's http status code.

$sel:components:ListComponentsResponse', listComponentsResponse_components - An array of components with summary data.

Response Lenses

listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text) Source #

A token that indicates the location of the next component in the array of components, after the current requested list of components.