libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.CreateAssociationBatch

Description

Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified instances or targets.

When you associate a document with one or more instances using instance IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the instance processes the document and configures the instance as specified.

If you associate a document with an instance that already has an associated document, the system returns the AssociationAlreadyExists exception.

Synopsis

Creating a Request

data CreateAssociationBatch Source #

See: newCreateAssociationBatch smart constructor.

Constructors

CreateAssociationBatch' 

Fields

Instances

Instances details
Eq CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Read CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Show CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Generic CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Associated Types

type Rep CreateAssociationBatch :: Type -> Type #

NFData CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Methods

rnf :: CreateAssociationBatch -> () #

Hashable CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

ToJSON CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

AWSRequest CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Associated Types

type AWSResponse CreateAssociationBatch #

ToHeaders CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

ToPath CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

ToQuery CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

type Rep CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

type Rep CreateAssociationBatch = D1 ('MetaData "CreateAssociationBatch" "Amazonka.SSM.CreateAssociationBatch" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "CreateAssociationBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CreateAssociationBatchRequestEntry))))
type AWSResponse CreateAssociationBatch Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

newCreateAssociationBatch Source #

Create a value of CreateAssociationBatch 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:entries:CreateAssociationBatch', createAssociationBatch_entries - One or more associations.

Request Lenses

Destructuring the Response

data CreateAssociationBatchResponse Source #

See: newCreateAssociationBatchResponse smart constructor.

Constructors

CreateAssociationBatchResponse' 

Fields

Instances

Instances details
Eq CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Read CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Show CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Generic CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

Associated Types

type Rep CreateAssociationBatchResponse :: Type -> Type #

NFData CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

type Rep CreateAssociationBatchResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateAssociationBatch

type Rep CreateAssociationBatchResponse = D1 ('MetaData "CreateAssociationBatchResponse" "Amazonka.SSM.CreateAssociationBatch" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "CreateAssociationBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssociationDescription])) :*: (S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedCreateAssociation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateAssociationBatchResponse Source #

Create a value of CreateAssociationBatchResponse 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:successful:CreateAssociationBatchResponse', createAssociationBatchResponse_successful - Information about the associations that succeeded.

$sel:failed:CreateAssociationBatchResponse', createAssociationBatchResponse_failed - Information about the associations that failed.

$sel:httpStatus:CreateAssociationBatchResponse', createAssociationBatchResponse_httpStatus - The response's http status code.

Response Lenses