libZSservicesZSamazonka-ecrZSamazonka-ecr
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.ECR.PutReplicationConfiguration

Description

Creates or updates the replication configuration for a registry. The existing replication configuration for a repository can be retrieved with the DescribeRegistry API action. The first time the PutReplicationConfiguration API is called, a service-linked IAM role is created in your account for the replication process. For more information, see Using service-linked roles for Amazon ECR in the Amazon Elastic Container Registry User Guide.

When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a registry permissions policy. For more information, see PutRegistryPolicy.

Synopsis

Creating a Request

data PutReplicationConfiguration Source #

See: newPutReplicationConfiguration smart constructor.

Constructors

PutReplicationConfiguration' 

Fields

Instances

Instances details
Eq PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Read PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Show PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Generic PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Associated Types

type Rep PutReplicationConfiguration :: Type -> Type #

NFData PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Hashable PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

ToJSON PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

AWSRequest PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

ToHeaders PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

ToPath PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

ToQuery PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

type Rep PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

type Rep PutReplicationConfiguration = D1 ('MetaData "PutReplicationConfiguration" "Amazonka.ECR.PutReplicationConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutReplicationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReplicationConfiguration)))
type AWSResponse PutReplicationConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

newPutReplicationConfiguration Source #

Create a value of PutReplicationConfiguration 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:replicationConfiguration:PutReplicationConfiguration', putReplicationConfiguration_replicationConfiguration - An object representing the replication configuration for a registry.

Request Lenses

Destructuring the Response

data PutReplicationConfigurationResponse Source #

Constructors

PutReplicationConfigurationResponse' 

Fields

Instances

Instances details
Eq PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Read PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Show PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

Generic PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

NFData PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

type Rep PutReplicationConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutReplicationConfiguration

type Rep PutReplicationConfigurationResponse = D1 ('MetaData "PutReplicationConfigurationResponse" "Amazonka.ECR.PutReplicationConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutReplicationConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutReplicationConfigurationResponse Source #

Create a value of PutReplicationConfigurationResponse 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:replicationConfiguration:PutReplicationConfiguration', putReplicationConfigurationResponse_replicationConfiguration - The contents of the replication configuration for the registry.

$sel:httpStatus:PutReplicationConfigurationResponse', putReplicationConfigurationResponse_httpStatus - The response's http status code.

Response Lenses