libZSservicesZSamazonka-configZSamazonka-config
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.Config.BatchGetResourceConfig

Description

Returns the BaseConfigurationItem for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.

  • The API does not return results for deleted resources.
  • The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
Synopsis

Creating a Request

data BatchGetResourceConfig Source #

See: newBatchGetResourceConfig smart constructor.

Constructors

BatchGetResourceConfig' 

Fields

  • resourceKeys :: NonEmpty ResourceKey

    A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.

Instances

Instances details
Eq BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Read BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Show BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Generic BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Associated Types

type Rep BatchGetResourceConfig :: Type -> Type #

NFData BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Methods

rnf :: BatchGetResourceConfig -> () #

Hashable BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

ToJSON BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

AWSRequest BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Associated Types

type AWSResponse BatchGetResourceConfig #

ToHeaders BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

ToPath BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

ToQuery BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

type Rep BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

type Rep BatchGetResourceConfig = D1 ('MetaData "BatchGetResourceConfig" "Amazonka.Config.BatchGetResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "BatchGetResourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ResourceKey))))
type AWSResponse BatchGetResourceConfig Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

newBatchGetResourceConfig Source #

Create a value of BatchGetResourceConfig 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:resourceKeys:BatchGetResourceConfig', batchGetResourceConfig_resourceKeys - A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.

Request Lenses

batchGetResourceConfig_resourceKeys :: Lens' BatchGetResourceConfig (NonEmpty ResourceKey) Source #

A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.

Destructuring the Response

data BatchGetResourceConfigResponse Source #

See: newBatchGetResourceConfigResponse smart constructor.

Constructors

BatchGetResourceConfigResponse' 

Fields

  • baseConfigurationItems :: Maybe [BaseConfigurationItem]

    A list that contains the current configuration of one or more resources.

  • unprocessedResourceKeys :: Maybe (NonEmpty ResourceKey)

    A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Read BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Show BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Generic BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

Associated Types

type Rep BatchGetResourceConfigResponse :: Type -> Type #

NFData BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

type Rep BatchGetResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.BatchGetResourceConfig

type Rep BatchGetResourceConfigResponse = D1 ('MetaData "BatchGetResourceConfigResponse" "Amazonka.Config.BatchGetResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "BatchGetResourceConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "baseConfigurationItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BaseConfigurationItem])) :*: (S1 ('MetaSel ('Just "unprocessedResourceKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourceKey))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetResourceConfigResponse Source #

Create a value of BatchGetResourceConfigResponse 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:baseConfigurationItems:BatchGetResourceConfigResponse', batchGetResourceConfigResponse_baseConfigurationItems - A list that contains the current configuration of one or more resources.

$sel:unprocessedResourceKeys:BatchGetResourceConfigResponse', batchGetResourceConfigResponse_unprocessedResourceKeys - A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.

$sel:httpStatus:BatchGetResourceConfigResponse', batchGetResourceConfigResponse_httpStatus - The response's http status code.

Response Lenses

batchGetResourceConfigResponse_baseConfigurationItems :: Lens' BatchGetResourceConfigResponse (Maybe [BaseConfigurationItem]) Source #

A list that contains the current configuration of one or more resources.

batchGetResourceConfigResponse_unprocessedResourceKeys :: Lens' BatchGetResourceConfigResponse (Maybe (NonEmpty ResourceKey)) Source #

A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.