:doc:`SSMIncidents <../../ssm-incidents>` / Client / create_replication_set

**********************
create_replication_set
**********************



.. py:method:: SSMIncidents.Client.create_replication_set(**kwargs)

  

  A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateReplicationSet>`_  


  **Request Syntax**
  ::

    response = client.create_replication_set(
        clientToken='string',
        regions={
            'string': {
                'sseKmsKeyId': 'string'
            }
        },
        tags={
            'string': 'string'
        }
    )
    
  :type clientToken: string
  :param clientToken: 

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

    This field is autopopulated if not provided.

  
  :type regions: dict
  :param regions: **[REQUIRED]** 

    The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication set.

    

  
    - *(string) --* 

    
      - *(dict) --* 

        The mapping between a Amazon Web Services Region and the key that's used to encrypt the data.

        

      
        - **sseKmsKeyId** *(string) --* 

          The KMS key used to encrypt the data in your replication set.

          

        
      


  :type tags: dict
  :param tags: 

    A list of tags to add to the replication set.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the replication set.

        
  
  **Exceptions**
  
  *   :py:class:`SSMIncidents.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.ThrottlingException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.ValidationException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.ConflictException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.InternalServerException`

  