aws-sdk-macie2 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +4 -3
- data/lib/aws-sdk-macie2/client_api.rb +2 -0
- data/lib/aws-sdk-macie2/types.rb +21 -13
- 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: ee2cde70f8885abb6f361b9b9ffdaf0fe735e9b71b220b81a0b3a3ff1d064c28
|
4
|
+
data.tar.gz: 6059d20a0e6834f00bc0da5366bccab9509d42f0607ec61b837d35c4fef15124
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db40a4546a5e6da768c159bc8373e0c353219b1669240a400fa2ebcecd67f37c00ee545e59e0cc33466b9f33ab2f44312b84f2a7f2b37fd9ea112f9f11231d6
|
7
|
+
data.tar.gz: be2b727cc11bcf0f22fca2ca95fb7ddc716c787966b09f6b8919a46306899e6f40555b417da63c546c0cd82b568c201b685a088fe89e5bc290f7260504f454b2
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -1712,14 +1712,15 @@ module Aws::Macie2
|
|
1712
1712
|
# resp = client.get_usage_statistics({
|
1713
1713
|
# filter_by: [
|
1714
1714
|
# {
|
1715
|
-
#
|
1715
|
+
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
1716
|
+
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
1716
1717
|
# values: ["__string"],
|
1717
1718
|
# },
|
1718
1719
|
# ],
|
1719
1720
|
# max_results: 1,
|
1720
1721
|
# next_token: "__string",
|
1721
1722
|
# sort_by: {
|
1722
|
-
# key: "accountId", # accepts accountId, total
|
1723
|
+
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
1723
1724
|
# order_by: "ASC", # accepts ASC, DESC
|
1724
1725
|
# },
|
1725
1726
|
# })
|
@@ -2443,7 +2444,7 @@ module Aws::Macie2
|
|
2443
2444
|
params: params,
|
2444
2445
|
config: config)
|
2445
2446
|
context[:gem_name] = 'aws-sdk-macie2'
|
2446
|
-
context[:gem_version] = '1.
|
2447
|
+
context[:gem_version] = '1.7.0'
|
2447
2448
|
Seahorse::Client::Request.new(handlers, context)
|
2448
2449
|
end
|
2449
2450
|
|
@@ -241,6 +241,7 @@ module Aws::Macie2
|
|
241
241
|
UsageByAccount = Shapes::StructureShape.new(name: 'UsageByAccount')
|
242
242
|
UsageRecord = Shapes::StructureShape.new(name: 'UsageRecord')
|
243
243
|
UsageStatisticsFilter = Shapes::StructureShape.new(name: 'UsageStatisticsFilter')
|
244
|
+
UsageStatisticsFilterComparator = Shapes::StringShape.new(name: 'UsageStatisticsFilterComparator')
|
244
245
|
UsageStatisticsFilterKey = Shapes::StringShape.new(name: 'UsageStatisticsFilterKey')
|
245
246
|
UsageStatisticsSortBy = Shapes::StructureShape.new(name: 'UsageStatisticsSortBy')
|
246
247
|
UsageStatisticsSortKey = Shapes::StringShape.new(name: 'UsageStatisticsSortKey')
|
@@ -1169,6 +1170,7 @@ module Aws::Macie2
|
|
1169
1170
|
UsageRecord.add_member(:usage, Shapes::ShapeRef.new(shape: __listOfUsageByAccount, location_name: "usage"))
|
1170
1171
|
UsageRecord.struct_class = Types::UsageRecord
|
1171
1172
|
|
1173
|
+
UsageStatisticsFilter.add_member(:comparator, Shapes::ShapeRef.new(shape: UsageStatisticsFilterComparator, location_name: "comparator"))
|
1172
1174
|
UsageStatisticsFilter.add_member(:key, Shapes::ShapeRef.new(shape: UsageStatisticsFilterKey, location_name: "key"))
|
1173
1175
|
UsageStatisticsFilter.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
|
1174
1176
|
UsageStatisticsFilter.struct_class = Types::UsageStatisticsFilter
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -515,9 +515,9 @@ module Aws::Macie2
|
|
515
515
|
# @return [Integer]
|
516
516
|
#
|
517
517
|
# @!attribute [rw] object_count_by_encryption_type
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
518
|
+
# Provides information about the number of objects that are in an S3
|
519
|
+
# bucket and use certain types of server-side encryption, use
|
520
|
+
# client-side encryption, or aren't encrypted.
|
521
521
|
# @return [Types::ObjectCountByEncryptionType]
|
522
522
|
#
|
523
523
|
# @!attribute [rw] public_access
|
@@ -2660,14 +2660,15 @@ module Aws::Macie2
|
|
2660
2660
|
# {
|
2661
2661
|
# filter_by: [
|
2662
2662
|
# {
|
2663
|
-
#
|
2663
|
+
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
2664
|
+
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
2664
2665
|
# values: ["__string"],
|
2665
2666
|
# },
|
2666
2667
|
# ],
|
2667
2668
|
# max_results: 1,
|
2668
2669
|
# next_token: "__string",
|
2669
2670
|
# sort_by: {
|
2670
|
-
# key: "accountId", # accepts accountId, total
|
2671
|
+
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
2671
2672
|
# order_by: "ASC", # accepts ASC, DESC
|
2672
2673
|
# },
|
2673
2674
|
# }
|
@@ -3678,9 +3679,9 @@ module Aws::Macie2
|
|
3678
3679
|
include Aws::Structure
|
3679
3680
|
end
|
3680
3681
|
|
3681
|
-
#
|
3682
|
-
#
|
3683
|
-
#
|
3682
|
+
# Provides information about the number of objects that are in an S3
|
3683
|
+
# bucket and use certain types of server-side encryption, use
|
3684
|
+
# client-side encryption, or aren't encrypted.
|
3684
3685
|
#
|
3685
3686
|
# @!attribute [rw] customer_managed
|
3686
3687
|
# @return [Integer]
|
@@ -4897,20 +4898,26 @@ module Aws::Macie2
|
|
4897
4898
|
include Aws::Structure
|
4898
4899
|
end
|
4899
4900
|
|
4900
|
-
# Specifies
|
4901
|
+
# Specifies a condition for filtering the results of a query for account
|
4901
4902
|
# quotas and usage data.
|
4902
4903
|
#
|
4903
4904
|
# @note When making an API call, you may pass UsageStatisticsFilter
|
4904
4905
|
# data as a hash:
|
4905
4906
|
#
|
4906
4907
|
# {
|
4907
|
-
#
|
4908
|
+
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
4909
|
+
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
4908
4910
|
# values: ["__string"],
|
4909
4911
|
# }
|
4910
4912
|
#
|
4913
|
+
# @!attribute [rw] comparator
|
4914
|
+
# The operator to use in a condition that filters the results of a
|
4915
|
+
# query for account quotas and usage data. Valid values are:
|
4916
|
+
# @return [String]
|
4917
|
+
#
|
4911
4918
|
# @!attribute [rw] key
|
4912
|
-
# The field to use
|
4913
|
-
# and usage data:
|
4919
|
+
# The field to use in a condition that filters the results of a query
|
4920
|
+
# for account quotas and usage data. Valid values are:
|
4914
4921
|
# @return [String]
|
4915
4922
|
#
|
4916
4923
|
# @!attribute [rw] values
|
@@ -4919,6 +4926,7 @@ module Aws::Macie2
|
|
4919
4926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageStatisticsFilter AWS API Documentation
|
4920
4927
|
#
|
4921
4928
|
class UsageStatisticsFilter < Struct.new(
|
4929
|
+
:comparator,
|
4922
4930
|
:key,
|
4923
4931
|
:values)
|
4924
4932
|
SENSITIVE = []
|
@@ -4932,7 +4940,7 @@ module Aws::Macie2
|
|
4932
4940
|
# data as a hash:
|
4933
4941
|
#
|
4934
4942
|
# {
|
4935
|
-
# key: "accountId", # accepts accountId, total
|
4943
|
+
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
4936
4944
|
# order_by: "ASC", # accepts ASC, DESC
|
4937
4945
|
# }
|
4938
4946
|
#
|
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.7.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: 2020-07-
|
11
|
+
date: 2020-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|