aws-sdk-macie2 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +22 -3
- data/lib/aws-sdk-macie2/client_api.rb +12 -0
- data/lib/aws-sdk-macie2/types.rb +111 -37
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a86fdd452db57654374b53a7009d91c7b6f714c2677daa38503f2a7c8e9c39da
|
4
|
+
data.tar.gz: 3898f3e57324d170f322b32c20d0cd0a1bf0f42e5ea9ce03d22c02554a853e9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b5013cfb0156624d929aeaa7c0c438349c9db7cf22f5589477037daccf5551eb58887e97c1977b8d5206d6c577ad4576b782e67836dd4db2f196f1cd959f859
|
7
|
+
data.tar.gz: 7cda3ea6156623c2953475de1f657605a3f1324f762b95bfb6266a7d1c8c8911d326be468b56788ba54ba937d86a16fd117dca87595fdf52ed952f66ea1083ab
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -949,6 +949,8 @@ module Aws::Macie2
|
|
949
949
|
# resp.buckets[0].replication_details.replicated_externally #=> Boolean
|
950
950
|
# resp.buckets[0].replication_details.replication_accounts #=> Array
|
951
951
|
# resp.buckets[0].replication_details.replication_accounts[0] #=> String
|
952
|
+
# resp.buckets[0].server_side_encryption.kms_master_key_id #=> String
|
953
|
+
# resp.buckets[0].server_side_encryption.type #=> String, one of "NONE", "AES256", "aws:kms"
|
952
954
|
# resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
|
953
955
|
# resp.buckets[0].size_in_bytes #=> Integer
|
954
956
|
# resp.buckets[0].size_in_bytes_compressed #=> Integer
|
@@ -1791,13 +1793,18 @@ module Aws::Macie2
|
|
1791
1793
|
# @option params [String] :next_token
|
1792
1794
|
#
|
1793
1795
|
# @option params [Types::UsageStatisticsSortBy] :sort_by
|
1794
|
-
# Specifies criteria for sorting the results of a query for
|
1795
|
-
# quotas and usage data.
|
1796
|
+
# Specifies criteria for sorting the results of a query for Amazon Macie
|
1797
|
+
# account quotas and usage data.
|
1798
|
+
#
|
1799
|
+
# @option params [String] :time_range
|
1800
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
1801
|
+
# Possible values are:
|
1796
1802
|
#
|
1797
1803
|
# @return [Types::GetUsageStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1798
1804
|
#
|
1799
1805
|
# * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
|
1800
1806
|
# * {Types::GetUsageStatisticsResponse#records #records} => Array<Types::UsageRecord>
|
1807
|
+
# * {Types::GetUsageStatisticsResponse#time_range #time_range} => String
|
1801
1808
|
#
|
1802
1809
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1803
1810
|
#
|
@@ -1817,6 +1824,7 @@ module Aws::Macie2
|
|
1817
1824
|
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
1818
1825
|
# order_by: "ASC", # accepts ASC, DESC
|
1819
1826
|
# },
|
1827
|
+
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
1820
1828
|
# })
|
1821
1829
|
#
|
1822
1830
|
# @example Response structure
|
@@ -1832,6 +1840,7 @@ module Aws::Macie2
|
|
1832
1840
|
# resp.records[0].usage[0].service_limit.unit #=> String, one of "TERABYTES"
|
1833
1841
|
# resp.records[0].usage[0].service_limit.value #=> Integer
|
1834
1842
|
# resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
|
1843
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1835
1844
|
#
|
1836
1845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation
|
1837
1846
|
#
|
@@ -1844,12 +1853,22 @@ module Aws::Macie2
|
|
1844
1853
|
|
1845
1854
|
# Retrieves (queries) aggregated usage data for an account.
|
1846
1855
|
#
|
1856
|
+
# @option params [String] :time_range
|
1857
|
+
#
|
1847
1858
|
# @return [Types::GetUsageTotalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1848
1859
|
#
|
1860
|
+
# * {Types::GetUsageTotalsResponse#time_range #time_range} => String
|
1849
1861
|
# * {Types::GetUsageTotalsResponse#usage_totals #usage_totals} => Array<Types::UsageTotal>
|
1850
1862
|
#
|
1863
|
+
# @example Request syntax with placeholder values
|
1864
|
+
#
|
1865
|
+
# resp = client.get_usage_totals({
|
1866
|
+
# time_range: "__string",
|
1867
|
+
# })
|
1868
|
+
#
|
1851
1869
|
# @example Response structure
|
1852
1870
|
#
|
1871
|
+
# resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
|
1853
1872
|
# resp.usage_totals #=> Array
|
1854
1873
|
# resp.usage_totals[0].currency #=> String, one of "USD"
|
1855
1874
|
# resp.usage_totals[0].estimated_cost #=> String
|
@@ -2544,7 +2563,7 @@ module Aws::Macie2
|
|
2544
2563
|
params: params,
|
2545
2564
|
config: config)
|
2546
2565
|
context[:gem_name] = 'aws-sdk-macie2'
|
2547
|
-
context[:gem_version] = '1.
|
2566
|
+
context[:gem_version] = '1.22.0'
|
2548
2567
|
Seahorse::Client::Request.new(handlers, context)
|
2549
2568
|
end
|
2550
2569
|
|
@@ -39,6 +39,7 @@ module Aws::Macie2
|
|
39
39
|
BucketPermissionConfiguration = Shapes::StructureShape.new(name: 'BucketPermissionConfiguration')
|
40
40
|
BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
|
41
41
|
BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
|
42
|
+
BucketServerSideEncryption = Shapes::StructureShape.new(name: 'BucketServerSideEncryption')
|
42
43
|
BucketSortCriteria = Shapes::StructureShape.new(name: 'BucketSortCriteria')
|
43
44
|
Cell = Shapes::StructureShape.new(name: 'Cell')
|
44
45
|
Cells = Shapes::ListShape.new(name: 'Cells')
|
@@ -239,6 +240,8 @@ module Aws::Macie2
|
|
239
240
|
TestCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierRequest')
|
240
241
|
TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
|
241
242
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
243
|
+
TimeRange = Shapes::StringShape.new(name: 'TimeRange')
|
244
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
242
245
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
243
246
|
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
244
247
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -410,6 +413,7 @@ module Aws::Macie2
|
|
410
413
|
BucketMetadata.add_member(:public_access, Shapes::ShapeRef.new(shape: BucketPublicAccess, location_name: "publicAccess"))
|
411
414
|
BucketMetadata.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
412
415
|
BucketMetadata.add_member(:replication_details, Shapes::ShapeRef.new(shape: ReplicationDetails, location_name: "replicationDetails"))
|
416
|
+
BucketMetadata.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: BucketServerSideEncryption, location_name: "serverSideEncryption"))
|
413
417
|
BucketMetadata.add_member(:shared_access, Shapes::ShapeRef.new(shape: SharedAccess, location_name: "sharedAccess"))
|
414
418
|
BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
|
415
419
|
BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
|
@@ -431,6 +435,10 @@ module Aws::Macie2
|
|
431
435
|
BucketPublicAccess.add_member(:permission_configuration, Shapes::ShapeRef.new(shape: BucketPermissionConfiguration, location_name: "permissionConfiguration"))
|
432
436
|
BucketPublicAccess.struct_class = Types::BucketPublicAccess
|
433
437
|
|
438
|
+
BucketServerSideEncryption.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsMasterKeyId"))
|
439
|
+
BucketServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
440
|
+
BucketServerSideEncryption.struct_class = Types::BucketServerSideEncryption
|
441
|
+
|
434
442
|
BucketSortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
|
435
443
|
BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
436
444
|
BucketSortCriteria.struct_class = Types::BucketSortCriteria
|
@@ -824,14 +832,18 @@ module Aws::Macie2
|
|
824
832
|
GetUsageStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
|
825
833
|
GetUsageStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
826
834
|
GetUsageStatisticsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: UsageStatisticsSortBy, location_name: "sortBy"))
|
835
|
+
GetUsageStatisticsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
827
836
|
GetUsageStatisticsRequest.struct_class = Types::GetUsageStatisticsRequest
|
828
837
|
|
829
838
|
GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
830
839
|
GetUsageStatisticsResponse.add_member(:records, Shapes::ShapeRef.new(shape: __listOfUsageRecord, location_name: "records"))
|
840
|
+
GetUsageStatisticsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
831
841
|
GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
|
832
842
|
|
843
|
+
GetUsageTotalsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "timeRange"))
|
833
844
|
GetUsageTotalsRequest.struct_class = Types::GetUsageTotalsRequest
|
834
845
|
|
846
|
+
GetUsageTotalsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
835
847
|
GetUsageTotalsResponse.add_member(:usage_totals, Shapes::ShapeRef.new(shape: __listOfUsageTotal, location_name: "usageTotals"))
|
836
848
|
GetUsageTotalsResponse.struct_class = Types::GetUsageTotalsResponse
|
837
849
|
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -97,7 +97,7 @@ module Aws::Macie2
|
|
97
97
|
include Aws::Structure
|
98
98
|
end
|
99
99
|
|
100
|
-
# Provides information about account-level permissions settings that
|
100
|
+
# Provides information about the account-level permissions settings that
|
101
101
|
# apply to an S3 bucket.
|
102
102
|
#
|
103
103
|
# @!attribute [rw] block_public_access
|
@@ -365,7 +365,8 @@ module Aws::Macie2
|
|
365
365
|
end
|
366
366
|
|
367
367
|
# Provides information about the number of S3 buckets that use certain
|
368
|
-
# types of server-side encryption or don't encrypt
|
368
|
+
# types of server-side encryption by default or don't encrypt new
|
369
|
+
# objects by default.
|
369
370
|
#
|
370
371
|
# @!attribute [rw] kms_managed
|
371
372
|
# @return [Integer]
|
@@ -551,6 +552,18 @@ module Aws::Macie2
|
|
551
552
|
# accounts and, if so, which accounts.
|
552
553
|
# @return [Types::ReplicationDetails]
|
553
554
|
#
|
555
|
+
# @!attribute [rw] server_side_encryption
|
556
|
+
# Provides information about the default server-side encryption
|
557
|
+
# settings for an S3 bucket. For detailed information about these
|
558
|
+
# settings, see [Setting default server-side encryption behavior for
|
559
|
+
# Amazon S3 buckets][1] in the *Amazon Simple Storage Service User
|
560
|
+
# Guide*.
|
561
|
+
#
|
562
|
+
#
|
563
|
+
#
|
564
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
565
|
+
# @return [Types::BucketServerSideEncryption]
|
566
|
+
#
|
554
567
|
# @!attribute [rw] shared_access
|
555
568
|
# @return [String]
|
556
569
|
#
|
@@ -598,6 +611,7 @@ module Aws::Macie2
|
|
598
611
|
:public_access,
|
599
612
|
:region,
|
600
613
|
:replication_details,
|
614
|
+
:server_side_encryption,
|
601
615
|
:shared_access,
|
602
616
|
:size_in_bytes,
|
603
617
|
:size_in_bytes_compressed,
|
@@ -613,8 +627,8 @@ module Aws::Macie2
|
|
613
627
|
# permissions settings for an S3 bucket.
|
614
628
|
#
|
615
629
|
# @!attribute [rw] account_level_permissions
|
616
|
-
# Provides information about account-level permissions settings
|
617
|
-
# apply to an S3 bucket.
|
630
|
+
# Provides information about the account-level permissions settings
|
631
|
+
# that apply to an S3 bucket.
|
618
632
|
# @return [Types::AccountLevelPermissions]
|
619
633
|
#
|
620
634
|
# @!attribute [rw] bucket_level_permissions
|
@@ -669,6 +683,30 @@ module Aws::Macie2
|
|
669
683
|
include Aws::Structure
|
670
684
|
end
|
671
685
|
|
686
|
+
# Provides information about the default server-side encryption settings
|
687
|
+
# for an S3 bucket. For detailed information about these settings, see
|
688
|
+
# [Setting default server-side encryption behavior for Amazon S3
|
689
|
+
# buckets][1] in the *Amazon Simple Storage Service User Guide*.
|
690
|
+
#
|
691
|
+
#
|
692
|
+
#
|
693
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
|
694
|
+
#
|
695
|
+
# @!attribute [rw] kms_master_key_id
|
696
|
+
# @return [String]
|
697
|
+
#
|
698
|
+
# @!attribute [rw] type
|
699
|
+
# @return [String]
|
700
|
+
#
|
701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketServerSideEncryption AWS API Documentation
|
702
|
+
#
|
703
|
+
class BucketServerSideEncryption < Struct.new(
|
704
|
+
:kms_master_key_id,
|
705
|
+
:type)
|
706
|
+
SENSITIVE = []
|
707
|
+
include Aws::Structure
|
708
|
+
end
|
709
|
+
|
672
710
|
# Specifies criteria for sorting the results of a query for information
|
673
711
|
# about S3 buckets.
|
674
712
|
#
|
@@ -2306,8 +2344,8 @@ module Aws::Macie2
|
|
2306
2344
|
#
|
2307
2345
|
# @!attribute [rw] bucket_count_by_encryption_type
|
2308
2346
|
# Provides information about the number of S3 buckets that use certain
|
2309
|
-
# types of server-side encryption or don't encrypt
|
2310
|
-
# default.
|
2347
|
+
# types of server-side encryption by default or don't encrypt new
|
2348
|
+
# objects by default.
|
2311
2349
|
# @return [Types::BucketCountByEncryptionType]
|
2312
2350
|
#
|
2313
2351
|
# @!attribute [rw] bucket_count_by_shared_access_type
|
@@ -2801,8 +2839,8 @@ module Aws::Macie2
|
|
2801
2839
|
end
|
2802
2840
|
|
2803
2841
|
# Specifies criteria for filtering, sorting, and paginating the results
|
2804
|
-
# of a query for quotas and aggregated usage data for one or more
|
2805
|
-
# accounts.
|
2842
|
+
# of a query for quotas and aggregated usage data for one or more Amazon
|
2843
|
+
# Macie accounts.
|
2806
2844
|
#
|
2807
2845
|
# @note When making an API call, you may pass GetUsageStatisticsRequest
|
2808
2846
|
# data as a hash:
|
@@ -2821,6 +2859,7 @@ module Aws::Macie2
|
|
2821
2859
|
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
2822
2860
|
# order_by: "ASC", # accepts ASC, DESC
|
2823
2861
|
# },
|
2862
|
+
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
2824
2863
|
# }
|
2825
2864
|
#
|
2826
2865
|
# @!attribute [rw] filter_by
|
@@ -2833,23 +2872,29 @@ module Aws::Macie2
|
|
2833
2872
|
# @return [String]
|
2834
2873
|
#
|
2835
2874
|
# @!attribute [rw] sort_by
|
2836
|
-
# Specifies criteria for sorting the results of a query for
|
2837
|
-
# quotas and usage data.
|
2875
|
+
# Specifies criteria for sorting the results of a query for Amazon
|
2876
|
+
# Macie account quotas and usage data.
|
2838
2877
|
# @return [Types::UsageStatisticsSortBy]
|
2839
2878
|
#
|
2879
|
+
# @!attribute [rw] time_range
|
2880
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
2881
|
+
# Possible values are:
|
2882
|
+
# @return [String]
|
2883
|
+
#
|
2840
2884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsRequest AWS API Documentation
|
2841
2885
|
#
|
2842
2886
|
class GetUsageStatisticsRequest < Struct.new(
|
2843
2887
|
:filter_by,
|
2844
2888
|
:max_results,
|
2845
2889
|
:next_token,
|
2846
|
-
:sort_by
|
2890
|
+
:sort_by,
|
2891
|
+
:time_range)
|
2847
2892
|
SENSITIVE = []
|
2848
2893
|
include Aws::Structure
|
2849
2894
|
end
|
2850
2895
|
|
2851
2896
|
# Provides the results of a query that retrieved quotas and aggregated
|
2852
|
-
# usage data for one or more accounts.
|
2897
|
+
# usage data for one or more Amazon Macie accounts.
|
2853
2898
|
#
|
2854
2899
|
# @!attribute [rw] next_token
|
2855
2900
|
# @return [String]
|
@@ -2857,23 +2902,46 @@ module Aws::Macie2
|
|
2857
2902
|
# @!attribute [rw] records
|
2858
2903
|
# @return [Array<Types::UsageRecord>]
|
2859
2904
|
#
|
2905
|
+
# @!attribute [rw] time_range
|
2906
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
2907
|
+
# Possible values are:
|
2908
|
+
# @return [String]
|
2909
|
+
#
|
2860
2910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsResponse AWS API Documentation
|
2861
2911
|
#
|
2862
2912
|
class GetUsageStatisticsResponse < Struct.new(
|
2863
2913
|
:next_token,
|
2864
|
-
:records
|
2914
|
+
:records,
|
2915
|
+
:time_range)
|
2865
2916
|
SENSITIVE = []
|
2866
2917
|
include Aws::Structure
|
2867
2918
|
end
|
2868
2919
|
|
2869
|
-
# @
|
2920
|
+
# @note When making an API call, you may pass GetUsageTotalsRequest
|
2921
|
+
# data as a hash:
|
2922
|
+
#
|
2923
|
+
# {
|
2924
|
+
# time_range: "__string",
|
2925
|
+
# }
|
2926
|
+
#
|
2927
|
+
# @!attribute [rw] time_range
|
2928
|
+
# @return [String]
|
2870
2929
|
#
|
2871
2930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsRequest AWS API Documentation
|
2872
2931
|
#
|
2873
|
-
class GetUsageTotalsRequest <
|
2932
|
+
class GetUsageTotalsRequest < Struct.new(
|
2933
|
+
:time_range)
|
2934
|
+
SENSITIVE = []
|
2935
|
+
include Aws::Structure
|
2936
|
+
end
|
2874
2937
|
|
2875
2938
|
# Provides the results of a query that retrieved aggregated usage data
|
2876
|
-
# for an
|
2939
|
+
# for an Amazon Macie account.
|
2940
|
+
#
|
2941
|
+
# @!attribute [rw] time_range
|
2942
|
+
# An inclusive time period that Amazon Macie usage data applies to.
|
2943
|
+
# Possible values are:
|
2944
|
+
# @return [String]
|
2877
2945
|
#
|
2878
2946
|
# @!attribute [rw] usage_totals
|
2879
2947
|
# @return [Array<Types::UsageTotal>]
|
@@ -2881,6 +2949,7 @@ module Aws::Macie2
|
|
2881
2949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsResponse AWS API Documentation
|
2882
2950
|
#
|
2883
2951
|
class GetUsageTotalsResponse < Struct.new(
|
2952
|
+
:time_range,
|
2884
2953
|
:usage_totals)
|
2885
2954
|
SENSITIVE = []
|
2886
2955
|
include Aws::Structure
|
@@ -4579,7 +4648,7 @@ module Aws::Macie2
|
|
4579
4648
|
include Aws::Structure
|
4580
4649
|
end
|
4581
4650
|
|
4582
|
-
# Specifies a current quota for an account.
|
4651
|
+
# Specifies a current quota for an Amazon Macie account.
|
4583
4652
|
#
|
4584
4653
|
# @!attribute [rw] is_service_limited
|
4585
4654
|
# @return [Boolean]
|
@@ -5215,23 +5284,23 @@ module Aws::Macie2
|
|
5215
5284
|
class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end
|
5216
5285
|
|
5217
5286
|
# Provides data for a specific usage metric and the corresponding quota
|
5218
|
-
# for an account.
|
5219
|
-
# reports usage during the past 30 days.
|
5287
|
+
# for an Amazon Macie account.
|
5220
5288
|
#
|
5221
5289
|
# @!attribute [rw] currency
|
5222
|
-
# The type of currency that data for
|
5223
|
-
# Possible values are:
|
5290
|
+
# The type of currency that the data for an Amazon Macie usage metric
|
5291
|
+
# is reported in. Possible values are:
|
5224
5292
|
# @return [String]
|
5225
5293
|
#
|
5226
5294
|
# @!attribute [rw] estimated_cost
|
5227
5295
|
# @return [String]
|
5228
5296
|
#
|
5229
5297
|
# @!attribute [rw] service_limit
|
5230
|
-
# Specifies a current quota for an account.
|
5298
|
+
# Specifies a current quota for an Amazon Macie account.
|
5231
5299
|
# @return [Types::ServiceLimit]
|
5232
5300
|
#
|
5233
5301
|
# @!attribute [rw] type
|
5234
|
-
# The name of
|
5302
|
+
# The name of an Amazon Macie usage metric for an account. Possible
|
5303
|
+
# values are:
|
5235
5304
|
# @return [String]
|
5236
5305
|
#
|
5237
5306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageByAccount AWS API Documentation
|
@@ -5245,7 +5314,7 @@ module Aws::Macie2
|
|
5245
5314
|
include Aws::Structure
|
5246
5315
|
end
|
5247
5316
|
|
5248
|
-
# Provides quota and aggregated usage data for an account.
|
5317
|
+
# Provides quota and aggregated usage data for an Amazon Macie account.
|
5249
5318
|
#
|
5250
5319
|
# @!attribute [rw] account_id
|
5251
5320
|
# @return [String]
|
@@ -5266,8 +5335,9 @@ module Aws::Macie2
|
|
5266
5335
|
include Aws::Structure
|
5267
5336
|
end
|
5268
5337
|
|
5269
|
-
# Specifies a condition for filtering the results of a query for
|
5270
|
-
# quotas and usage data
|
5338
|
+
# Specifies a condition for filtering the results of a query for the
|
5339
|
+
# quotas and usage data that applies to one or more Amazon Macie
|
5340
|
+
# accounts.
|
5271
5341
|
#
|
5272
5342
|
# @note When making an API call, you may pass UsageStatisticsFilter
|
5273
5343
|
# data as a hash:
|
@@ -5280,12 +5350,13 @@ module Aws::Macie2
|
|
5280
5350
|
#
|
5281
5351
|
# @!attribute [rw] comparator
|
5282
5352
|
# The operator to use in a condition that filters the results of a
|
5283
|
-
# query for account quotas and usage data. Valid values
|
5353
|
+
# query for Amazon Macie account quotas and usage data. Valid values
|
5354
|
+
# are:
|
5284
5355
|
# @return [String]
|
5285
5356
|
#
|
5286
5357
|
# @!attribute [rw] key
|
5287
5358
|
# The field to use in a condition that filters the results of a query
|
5288
|
-
# for account quotas and usage data. Valid values are:
|
5359
|
+
# for Amazon Macie account quotas and usage data. Valid values are:
|
5289
5360
|
# @return [String]
|
5290
5361
|
#
|
5291
5362
|
# @!attribute [rw] values
|
@@ -5301,8 +5372,8 @@ module Aws::Macie2
|
|
5301
5372
|
include Aws::Structure
|
5302
5373
|
end
|
5303
5374
|
|
5304
|
-
# Specifies criteria for sorting the results of a query for
|
5305
|
-
# quotas and usage data.
|
5375
|
+
# Specifies criteria for sorting the results of a query for Amazon Macie
|
5376
|
+
# account quotas and usage data.
|
5306
5377
|
#
|
5307
5378
|
# @note When making an API call, you may pass UsageStatisticsSortBy
|
5308
5379
|
# data as a hash:
|
@@ -5313,8 +5384,8 @@ module Aws::Macie2
|
|
5313
5384
|
# }
|
5314
5385
|
#
|
5315
5386
|
# @!attribute [rw] key
|
5316
|
-
# The field to use to sort the results of a query for
|
5317
|
-
# and usage data. Valid values are:
|
5387
|
+
# The field to use to sort the results of a query for Amazon Macie
|
5388
|
+
# account quotas and usage data. Valid values are:
|
5318
5389
|
# @return [String]
|
5319
5390
|
#
|
5320
5391
|
# @!attribute [rw] order_by
|
@@ -5329,19 +5400,22 @@ module Aws::Macie2
|
|
5329
5400
|
include Aws::Structure
|
5330
5401
|
end
|
5331
5402
|
|
5332
|
-
# Provides aggregated data for
|
5333
|
-
# reports usage data for an account
|
5403
|
+
# Provides aggregated data for an Amazon Macie usage metric. The value
|
5404
|
+
# for the metric reports estimated usage data for an account for the
|
5405
|
+
# preceding 30 days or the current calendar month to date, depending on
|
5406
|
+
# the time period (timeRange) specified in the request.
|
5334
5407
|
#
|
5335
5408
|
# @!attribute [rw] currency
|
5336
|
-
# The type of currency that data for
|
5337
|
-
# Possible values are:
|
5409
|
+
# The type of currency that the data for an Amazon Macie usage metric
|
5410
|
+
# is reported in. Possible values are:
|
5338
5411
|
# @return [String]
|
5339
5412
|
#
|
5340
5413
|
# @!attribute [rw] estimated_cost
|
5341
5414
|
# @return [String]
|
5342
5415
|
#
|
5343
5416
|
# @!attribute [rw] type
|
5344
|
-
# The name of
|
5417
|
+
# The name of an Amazon Macie usage metric for an account. Possible
|
5418
|
+
# values are:
|
5345
5419
|
# @return [String]
|
5346
5420
|
#
|
5347
5421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageTotal AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|