« blib/lib/Paws/S3Control/PutPublicAccessBlock.pm
↑ Summary
blib/lib/Paws/S3Control/PutStorageLensConfigurationTagging.pm »
| 1 | |||
| 2 | package Paws::S3Control::PutStorageLensConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', header_name => 'x-amz-account-id', traits => ['ParamInHeader'], required => 1); | ||
| 5 | has ConfigId => (is => 'ro', isa => 'Str', uri_name => 'storagelensid', traits => ['ParamInURI'], required => 1); | ||
| 6 | has StorageLensConfiguration => (is => 'ro', isa => 'Paws::S3Control::StorageLensConfiguration', required => 1); | ||
| 7 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::S3Control::StorageLensTag]', request_name => 'Tag', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutStorageLensConfiguration'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20180820/storagelens/{storagelensid}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | class_has _top_level_element => (isa => 'Str', is => 'ro', default => 'PutStorageLensConfigurationRequest'); | ||
| 18 | class_has _top_level_namespace => (isa => 'Str', is => 'ro', default => 'http://awss3control.amazonaws.com/doc/2018-08-20/'); | ||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::S3Control::PutStorageLensConfiguration - Arguments for method PutStorageLensConfiguration on L<Paws::S3Control> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method PutStorageLensConfiguration on the | ||
| 30 | L<AWS S3 Control|Paws::S3Control> service. Use the attributes of this class | ||
| 31 | as arguments to method PutStorageLensConfiguration. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutStorageLensConfiguration. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $s3-control = Paws->service('S3Control'); | ||
| 38 | $s3 -control->PutStorageLensConfiguration( | ||
| 39 | AccountId => 'MyAccountId', | ||
| 40 | ConfigId => 'MyConfigId', | ||
| 41 | StorageLensConfiguration => { | ||
| 42 | AccountLevel => { | ||
| 43 | BucketLevel => { | ||
| 44 | ActivityMetrics => { | ||
| 45 | IsEnabled => 1, # OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | PrefixLevel => { | ||
| 48 | StorageMetrics => { | ||
| 49 | IsEnabled => 1, # OPTIONAL | ||
| 50 | SelectionCriteria => { | ||
| 51 | Delimiter => | ||
| 52 | 'MyStorageLensPrefixLevelDelimiter', # max: 1; OPTIONAL | ||
| 53 | MaxDepth => 1, # min: 1, max: 10; OPTIONAL | ||
| 54 | MinStorageBytesPercentage => 1, # min: 0.1, max: 100; OPTIONAL | ||
| 55 | }, # OPTIONAL | ||
| 56 | }, | ||
| 57 | |||
| 58 | }, # OPTIONAL | ||
| 59 | }, | ||
| 60 | ActivityMetrics => { | ||
| 61 | IsEnabled => 1, # OPTIONAL | ||
| 62 | }, # OPTIONAL | ||
| 63 | }, | ||
| 64 | Id => 'MyConfigId', # min: 1, max: 64 | ||
| 65 | IsEnabled => 1, # OPTIONAL | ||
| 66 | AwsOrg => { | ||
| 67 | Arn => 'MyAwsOrgArn', # min: 1, max: 1024 | ||
| 68 | |||
| 69 | }, # OPTIONAL | ||
| 70 | DataExport => { | ||
| 71 | S3BucketDestination => { | ||
| 72 | AccountId => 'MyAccountId', # max: 64 | ||
| 73 | Arn => 'MyS3BucketArnString', # min: 1, max: 128 | ||
| 74 | Format => 'CSV', # values: CSV, Parquet | ||
| 75 | OutputSchemaVersion => 'V_1', # values: V_1 | ||
| 76 | Encryption => { | ||
| 77 | SSEKMS => { | ||
| 78 | KeyId => 'MySSEKMSKeyId', | ||
| 79 | |||
| 80 | }, # OPTIONAL | ||
| 81 | SSES3 => { | ||
| 82 | |||
| 83 | }, # OPTIONAL | ||
| 84 | }, # OPTIONAL | ||
| 85 | Prefix => 'MyPrefix', # OPTIONAL | ||
| 86 | }, | ||
| 87 | |||
| 88 | }, # OPTIONAL | ||
| 89 | Exclude => { | ||
| 90 | Buckets => [ | ||
| 91 | 'MyS3BucketArnString', ... # min: 1, max: 128 | ||
| 92 | ], # OPTIONAL | ||
| 93 | Regions => [ | ||
| 94 | 'MyS3AWSRegion', ... # min: 5, max: 30 | ||
| 95 | ], # OPTIONAL | ||
| 96 | }, # OPTIONAL | ||
| 97 | Include => { | ||
| 98 | Buckets => [ | ||
| 99 | 'MyS3BucketArnString', ... # min: 1, max: 128 | ||
| 100 | ], # OPTIONAL | ||
| 101 | Regions => [ | ||
| 102 | 'MyS3AWSRegion', ... # min: 5, max: 30 | ||
| 103 | ], # OPTIONAL | ||
| 104 | }, # OPTIONAL | ||
| 105 | StorageLensArn => 'MyStorageLensArn', # min: 1, max: 1024; OPTIONAL | ||
| 106 | }, | ||
| 107 | Tags => [ | ||
| 108 | { | ||
| 109 | Key => 'MyTagKeyString', # min: 1, max: 1024 | ||
| 110 | Value => 'MyTagValueString', # max: 1024 | ||
| 111 | |||
| 112 | }, | ||
| 113 | ... | ||
| 114 | ], # OPTIONAL | ||
| 115 | ); | ||
| 116 | |||
| 117 | 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. | ||
| 118 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/s3-control/PutStorageLensConfiguration> | ||
| 119 | |||
| 120 | =head1 ATTRIBUTES | ||
| 121 | |||
| 122 | |||
| 123 | =head2 B<REQUIRED> AccountId => Str | ||
| 124 | |||
| 125 | The account ID of the requester. | ||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | =head2 B<REQUIRED> ConfigId => Str | ||
| 130 | |||
| 131 | The ID of the S3 Storage Lens configuration. | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head2 B<REQUIRED> StorageLensConfiguration => L<Paws::S3Control::StorageLensConfiguration> | ||
| 136 | |||
| 137 | The S3 Storage Lens configuration. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 Tags => ArrayRef[L<Paws::S3Control::StorageLensTag>] | ||
| 142 | |||
| 143 | The tag set of the S3 Storage Lens configuration. | ||
| 144 | |||
| 145 | You can set up to a maximum of 50 tags. | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | =head1 SEE ALSO | ||
| 151 | |||
| 152 | This class forms part of L<Paws>, documenting arguments for method PutStorageLensConfiguration in L<Paws::S3Control> | ||
| 153 | |||
| 154 | =head1 BUGS and CONTRIBUTIONS | ||
| 155 | |||
| 156 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 157 | |||
| 158 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 159 | |||
| 160 | =cut | ||
| 161 |