« blib/lib/Paws/AuditManager/UpdateControlResponse.pm
↑ Summary
blib/lib/Paws/AuditManager/UpdateSettingsResponse.pm »
| 1 | |||
| 2 | package Paws::AuditManager::UpdateSettings; | ||
| 3 | use Moose; | ||
| 4 | has DefaultAssessmentReportsDestination => (is => 'ro', isa => 'Paws::AuditManager::AssessmentReportsDestination', traits => ['NameInRequest'], request_name => 'defaultAssessmentReportsDestination'); | ||
| 5 | has DefaultProcessOwners => (is => 'ro', isa => 'ArrayRef[Paws::AuditManager::Role]', traits => ['NameInRequest'], request_name => 'defaultProcessOwners'); | ||
| 6 | has KmsKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'kmsKey'); | ||
| 7 | has SnsTopic => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'snsTopic'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSettings'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/settings'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AuditManager::UpdateSettingsResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::AuditManager::UpdateSettings - Arguments for method UpdateSettings on L<Paws::AuditManager> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateSettings on the | ||
| 26 | L<AWS Audit Manager|Paws::AuditManager> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateSettings. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSettings. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $auditmanager = Paws->service('AuditManager'); | ||
| 34 | my $UpdateSettingsResponse = $auditmanager->UpdateSettings( | ||
| 35 | DefaultAssessmentReportsDestination => { | ||
| 36 | Destination => 'MyS3Url', # min: 1, max: 1024; OPTIONAL | ||
| 37 | DestinationType => 'S3', # values: S3; OPTIONAL | ||
| 38 | }, # OPTIONAL | ||
| 39 | DefaultProcessOwners => [ | ||
| 40 | { | ||
| 41 | RoleArn => 'MyIamArn', # min: 20, max: 2048; OPTIONAL | ||
| 42 | RoleType => | ||
| 43 | 'PROCESS_OWNER', # values: PROCESS_OWNER, RESOURCE_OWNER; OPTIONAL | ||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], # OPTIONAL | ||
| 47 | KmsKey => 'MyKmsKey', # OPTIONAL | ||
| 48 | SnsTopic => 'MySnsArn', # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $Settings = $UpdateSettingsResponse->Settings; | ||
| 53 | |||
| 54 | # Returns a L<Paws::AuditManager::UpdateSettingsResponse> object. | ||
| 55 | |||
| 56 | 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. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/auditmanager/UpdateSettings> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 DefaultAssessmentReportsDestination => L<Paws::AuditManager::AssessmentReportsDestination> | ||
| 63 | |||
| 64 | The default storage destination for assessment reports. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 DefaultProcessOwners => ArrayRef[L<Paws::AuditManager::Role>] | ||
| 69 | |||
| 70 | A list of the default audit owners. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 KmsKey => Str | ||
| 75 | |||
| 76 | The AWS KMS key details. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 SnsTopic => Str | ||
| 81 | |||
| 82 | The Amazon Simple Notification Service (Amazon SNS) topic to which AWS | ||
| 83 | Audit Manager sends notifications. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method UpdateSettings in L<Paws::AuditManager> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |