SSMIncidents / Client / update_replication_set

update_replication_set#

SSMIncidents.Client.update_replication_set(**kwargs)#

Add or delete Regions from your replication set.

See also: AWS API Documentation

Request Syntax

response = client.update_replication_set(
    actions=[
        {
            'addRegionAction': {
                'regionName': 'string',
                'sseKmsKeyId': 'string'
            },
            'deleteRegionAction': {
                'regionName': 'string'
            }
        },
    ],
    arn='string',
    clientToken='string'
)
Parameters:
  • actions (list) –

    [REQUIRED]

    An action to add or delete a Region.

    • (dict) –

      Details used when updating the replication set.

      Note

      This is a Tagged Union structure. Only one of the following top level keys can be set: addRegionAction, deleteRegionAction.

      • addRegionAction (dict) –

        Details about the Amazon Web Services Region that you’re adding to the replication set.

        • regionName (string) – [REQUIRED]

          The Amazon Web Services Region name to add to the replication set.

        • sseKmsKeyId (string) –

          The KMS key ID to use to encrypt your replication set.

      • deleteRegionAction (dict) –

        Details about the Amazon Web Services Region that you’re deleting to the replication set.

        • regionName (string) – [REQUIRED]

          The name of the Amazon Web Services Region you’re deleting from the replication set.

  • arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the replication set you’re updating.

  • clientToken (string) –

    A token that ensures that the operation is called only once with the specified details.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions