libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
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.ImageBuilder.ListComponents

Description

Returns the list of component build versions for the specified semantic version.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

Synopsis

Creating a Request

data ListComponents Source #

See: newListComponents smart constructor.

Constructors

ListComponents' 

Fields

  • filters :: Maybe (NonEmpty Filter)

    Use the following filters to streamline results:

    • description
    • name
    • platform
    • supportedOsVersion
    • type
    • version
  • owner :: Maybe Ownership

    The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.

  • byName :: Maybe Bool

    Returns the list of component build versions for the specified name.

  • nextToken :: Maybe Text

    A token to specify where to start paginating. This is the NextToken from a previously truncated response.

  • maxResults :: Maybe Natural

    The maximum items to return in a request.

Instances

Instances details
Eq ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Read ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Show ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Generic ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Associated Types

type Rep ListComponents :: Type -> Type #

NFData ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Methods

rnf :: ListComponents -> () #

Hashable ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

ToJSON ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

AWSRequest ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Associated Types

type AWSResponse ListComponents #

ToHeaders ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

ToPath ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

ToQuery ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

type Rep ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

type Rep ListComponents = D1 ('MetaData "ListComponents" "Amazonka.ImageBuilder.ListComponents" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "ListComponents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Filter))) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ownership))) :*: (S1 ('MetaSel ('Just "byName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListComponents Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

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:

$sel:filters:ListComponents', listComponents_filters - Use the following filters to streamline results:

  • description
  • name
  • platform
  • supportedOsVersion
  • type
  • version

$sel:owner:ListComponents', listComponents_owner - The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.

$sel:byName:ListComponents', listComponents_byName - Returns the list of component build versions for the specified name.

$sel:nextToken:ListComponents', listComponents_nextToken - A token to specify where to start paginating. This is the NextToken from a previously truncated response.

$sel:maxResults:ListComponents', listComponents_maxResults - The maximum items to return in a request.

Request Lenses

listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter)) Source #

Use the following filters to streamline results:

  • description
  • name
  • platform
  • supportedOsVersion
  • type
  • version

listComponents_owner :: Lens' ListComponents (Maybe Ownership) Source #

The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.

listComponents_byName :: Lens' ListComponents (Maybe Bool) Source #

Returns the list of component build versions for the specified name.

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

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

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

The maximum items to return in a request.

Destructuring the Response

data ListComponentsResponse Source #

See: newListComponentsResponse smart constructor.

Constructors

ListComponentsResponse' 

Fields

  • requestId :: Maybe Text

    The request ID that uniquely identifies this request.

  • componentVersionList :: Maybe [ComponentVersion]

    The list of component semantic versions.

    The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

  • nextToken :: Maybe Text

    The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Read ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Show ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Generic ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Associated Types

type Rep ListComponentsResponse :: Type -> Type #

NFData ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

Methods

rnf :: ListComponentsResponse -> () #

type Rep ListComponentsResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.ListComponents

type Rep ListComponentsResponse = D1 ('MetaData "ListComponentsResponse" "Amazonka.ImageBuilder.ListComponents" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "ListComponentsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "componentVersionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComponentVersion]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:

$sel:requestId:ListComponentsResponse', listComponentsResponse_requestId - The request ID that uniquely identifies this request.

$sel:componentVersionList:ListComponentsResponse', listComponentsResponse_componentVersionList - The list of component semantic versions.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

$sel:nextToken:ListComponents', listComponentsResponse_nextToken - The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

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

Response Lenses

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

The request ID that uniquely identifies this request.

listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion]) Source #

The list of component semantic versions.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

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

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.