SSM / Client / register_default_patch_baseline

register_default_patch_baseline#

SSM.Client.register_default_patch_baseline(**kwargs)#

Defines the default patch baseline for the relevant operating system.

To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of pb-0574b43a65ea646ed.

See also: AWS API Documentation

Request Syntax

response = client.register_default_patch_baseline(
    BaselineId='string'
)
Parameters:

BaselineId (string) –

[REQUIRED]

The ID of the patch baseline that should be the default patch baseline.

Return type:

dict

Returns:

Response Syntax

{
    'BaselineId': 'string'
}

Response Structure

  • (dict) –

    • BaselineId (string) –

      The ID of the default patch baseline.

Exceptions