:doc:`CloudFormation <../../cloudformation>` / Client / stop_stack_set_operation

************************
stop_stack_set_operation
************************



.. py:method:: CloudFormation.Client.stop_stack_set_operation(**kwargs)

  

  Stops an in-progress operation on a StackSet and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation>`_  


  **Request Syntax**
  ::

    response = client.stop_stack_set_operation(
        StackSetName='string',
        OperationId='string',
        CallAs='SELF'|'DELEGATED_ADMIN'
    )
    
  :type StackSetName: string
  :param StackSetName: **[REQUIRED]** 

    The name or unique ID of the StackSet that you want to stop the operation for.

    

  
  :type OperationId: string
  :param OperationId: **[REQUIRED]** 

    The ID of the stack operation.

    

  
  :type CallAs: string
  :param CallAs: 

    Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid only if the StackSet uses service-managed permissions.

     

    By default, ``SELF`` is specified. Use ``SELF`` for StackSets with self-managed permissions.

     

    
    * If you are signed in to the management account, specify ``SELF``.
     
    * If you are signed in to a delegated administrator account, specify ``DELEGATED_ADMIN``. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`__ in the *CloudFormation User Guide*.
    

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudFormation.Client.exceptions.StackSetNotFoundException`

  
  *   :py:class:`CloudFormation.Client.exceptions.OperationNotFoundException`

  
  *   :py:class:`CloudFormation.Client.exceptions.InvalidOperationException`

  