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::AuditManager::UpdateAssessment - Arguments for method UpdateAssessment on Paws::AuditManager

DESCRIPTION

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

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

SYNOPSIS

    my $auditmanager = Paws->service('AuditManager');
    my $UpdateAssessmentResponse = $auditmanager->UpdateAssessment(
      AssessmentId => 'MyUUID',
      Scope        => {
        AwsAccounts => [
          {
            EmailAddress => 'MyEmailAddress',    # min: 1, max: 320; OPTIONAL
            Id           => 'MyAccountId',       # min: 12, max: 12; OPTIONAL
            Name         => 'MyAccountName',     # min: 1, max: 50; OPTIONAL
          },
          ...
        ],    # OPTIONAL
        AwsServices => [
          {
            ServiceName => 'MyAWSServiceName',    # min: 1, max: 40; OPTIONAL
          },
          ...
        ],    # OPTIONAL
      },
      AssessmentDescription        => 'MyAssessmentDescription',    # OPTIONAL
      AssessmentName               => 'MyAssessmentName',           # OPTIONAL
      AssessmentReportsDestination => {
        Destination     => 'MyS3Url',    # min: 1, max: 1024; OPTIONAL
        DestinationType => 'S3',         # values: S3; OPTIONAL
      },    # OPTIONAL
      Roles => [
        {
          RoleArn  => 'MyIamArn',    # min: 20, max: 2048; OPTIONAL
          RoleType =>
            'PROCESS_OWNER',   # values: PROCESS_OWNER, RESOURCE_OWNER; OPTIONAL
        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $Assessment = $UpdateAssessmentResponse->Assessment;

    # Returns a L<Paws::AuditManager::UpdateAssessmentResponse> object.

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/auditmanager/UpdateAssessment

ATTRIBUTES

AssessmentDescription => Str

The description of the specified assessment.

REQUIRED AssessmentId => Str

The identifier for the specified assessment.

AssessmentName => Str

The name of the specified assessment to be updated.

AssessmentReportsDestination => Paws::AuditManager::AssessmentReportsDestination

The assessment report storage destination for the specified assessment that is being updated.

Roles => ArrayRef[Paws::AuditManager::Role]

The list of roles for the specified assessment.

REQUIRED Scope => Paws::AuditManager::Scope

The scope of the specified assessment.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateAssessment in Paws::AuditManager

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