ServiceCatalog / Client / update_service_action

update_service_action#

ServiceCatalog.Client.update_service_action(**kwargs)#

Updates a self-service action.

See also: AWS API Documentation

Request Syntax

response = client.update_service_action(
    Id='string',
    Name='string',
    Definition={
        'string': 'string'
    },
    Description='string',
    AcceptLanguage='string'
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The self-service action identifier.

  • Name (string) – The self-service action name.

  • Definition (dict) –

    A map that defines the self-service action.

    • (string) –

      • (string) –

  • Description (string) – The self-service action description.

  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

Return type:

dict

Returns:

Response Syntax

{
    'ServiceActionDetail': {
        'ServiceActionSummary': {
            'Id': 'string',
            'Name': 'string',
            'Description': 'string',
            'DefinitionType': 'SSM_AUTOMATION'
        },
        'Definition': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • ServiceActionDetail (dict) –

      Detailed information about the self-service action.

      • ServiceActionSummary (dict) –

        Summary information about the self-service action.

        • Id (string) –

          The self-service action identifier.

        • Name (string) –

          The self-service action name.

        • Description (string) –

          The self-service action description.

        • DefinitionType (string) –

          The self-service action definition type. For example, SSM_AUTOMATION.

      • Definition (dict) –

        A map that defines the self-service action.

        • (string) –

          • (string) –

Exceptions

  • ServiceCatalog.Client.exceptions.ResourceNotFoundException

  • ServiceCatalog.Client.exceptions.InvalidParametersException