The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SSMIncidents::UpdateRelatedItems - Arguments for method UpdateRelatedItems on Paws::SSMIncidents

DESCRIPTION

This class represents the parameters used for calling the method UpdateRelatedItems on the AWS Systems Manager Incident Manager service. Use the attributes of this class as arguments to method UpdateRelatedItems.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRelatedItems.

SYNOPSIS

    my $ssm-incidents = Paws->service('SSMIncidents');
    my $UpdateRelatedItemsOutput = $ssm -incidents->UpdateRelatedItems(
      IncidentRecordArn  => 'MyArn',
      RelatedItemsUpdate => {
        ItemToAdd => {
          Identifier => {
            Type => 'ANALYSIS'
            ,    # values: ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER
            Value => {
              Arn              => 'MyArn',                 # max: 1000
              MetricDefinition => 'MyMetricDefinition',    # max: 4000; OPTIONAL
              Url              => 'MyUrl',                 # max: 1000; OPTIONAL
            },

          },
          Title => 'MyRelatedItemTitleString',             # max: 200; OPTIONAL
        },    # OPTIONAL
        ItemToRemove => {
          Type => 'ANALYSIS'
          ,    # values: ANALYSIS, INCIDENT, METRIC, PARENT, ATTACHMENT, OTHER
          Value => {
            Arn              => 'MyArn',                 # max: 1000
            MetricDefinition => 'MyMetricDefinition',    # max: 4000; OPTIONAL
            Url              => 'MyUrl',                 # max: 1000; OPTIONAL
          },

        },
      },
      ClientToken => 'MyClientToken',    # OPTIONAL
    );

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents/UpdateRelatedItems

ATTRIBUTES

ClientToken => Str

A token ensuring that the action is called only once with the specified details.

REQUIRED IncidentRecordArn => Str

The Amazon Resource Name (ARN) of the incident record you are updating related items in.

REQUIRED RelatedItemsUpdate => Paws::SSMIncidents::RelatedItemsUpdate

Details about the item you are adding or deleting.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateRelatedItems in Paws::SSMIncidents

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues