aws-sdk-auditmanager 1.30.0 → 1.31.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-auditmanager/client.rb +2 -2
- data/lib/aws-sdk-auditmanager/client_api.rb +1 -0
- data/lib/aws-sdk-auditmanager/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-auditmanager/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-auditmanager/types.rb +21 -8
- data/lib/aws-sdk-auditmanager.rb +1 -1
- 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: 1adc31b8e81e088bb036d69116dc31fbb9a036fa48513fa4b9176b5a633a4ef7
|
4
|
+
data.tar.gz: bd700a990c06f393a515e122cc8896ed0e49ce9c7062624fc9b8bbeb52cacdbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49247ef51aa5abb955704516eb94809f03009c82493d5b363bded1a4d305eaf01b30e87aef81bb3bcf62ad9b475d3beb52e2fdae8b3b6459e645794784eb4f3e
|
7
|
+
data.tar.gz: 7df1cae8d61706880cd76e6d5fcc7c0919b0461dde152b09303b360436a03c22ca07ea03d2f30e95636ed2da308444a49691a22af0aac5cbf8b1768679a9858e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -3647,7 +3647,7 @@ module Aws::AuditManager
|
|
3647
3647
|
req.send_request(options)
|
3648
3648
|
end
|
3649
3649
|
|
3650
|
-
# Updates Audit Manager settings for the current
|
3650
|
+
# Updates Audit Manager settings for the current account.
|
3651
3651
|
#
|
3652
3652
|
# @option params [String] :sns_topic
|
3653
3653
|
# The Amazon Simple Notification Service (Amazon SNS) topic that Audit
|
@@ -3783,7 +3783,7 @@ module Aws::AuditManager
|
|
3783
3783
|
params: params,
|
3784
3784
|
config: config)
|
3785
3785
|
context[:gem_name] = 'aws-sdk-auditmanager'
|
3786
|
-
context[:gem_version] = '1.
|
3786
|
+
context[:gem_version] = '1.31.0'
|
3787
3787
|
Seahorse::Client::Request.new(handlers, context)
|
3788
3788
|
end
|
3789
3789
|
|
@@ -2111,6 +2111,7 @@ module Aws::AuditManager
|
|
2111
2111
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2112
2112
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2113
2113
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2114
2115
|
end)
|
2115
2116
|
|
2116
2117
|
api.add_operation(:update_assessment_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -50,9 +50,6 @@ module Aws::AuditManager
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::AuditManager
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://auditmanager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -38,6 +38,19 @@ module Aws::AuditManager
|
|
38
38
|
|
39
39
|
# An Amazon Web Service such as Amazon S3 or CloudTrail.
|
40
40
|
#
|
41
|
+
# For an example of how to find an Amazon Web Service name and how to
|
42
|
+
# define it in your assessment scope, see the following:
|
43
|
+
#
|
44
|
+
# * [Finding an Amazon Web Service name to use in your assessment
|
45
|
+
# scope][1]
|
46
|
+
#
|
47
|
+
# * [Defining an Amazon Web Service name in your assessment scope][2]
|
48
|
+
#
|
49
|
+
#
|
50
|
+
#
|
51
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_GetServicesInScope.html#API_GetServicesInScope_Example_2
|
52
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_GetServicesInScope.html#API_GetServicesInScope_Example_3
|
53
|
+
#
|
41
54
|
# @!attribute [rw] service_name
|
42
55
|
# The name of the Amazon Web Service.
|
43
56
|
# @return [String]
|
@@ -1085,7 +1098,7 @@ module Aws::AuditManager
|
|
1085
1098
|
# @return [Time]
|
1086
1099
|
#
|
1087
1100
|
# @!attribute [rw] created_by
|
1088
|
-
# The
|
1101
|
+
# The user or role that performed the action.
|
1089
1102
|
# @return [String]
|
1090
1103
|
#
|
1091
1104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ChangeLog AWS API Documentation
|
@@ -1154,11 +1167,11 @@ module Aws::AuditManager
|
|
1154
1167
|
# @return [Time]
|
1155
1168
|
#
|
1156
1169
|
# @!attribute [rw] created_by
|
1157
|
-
# The
|
1170
|
+
# The user or role that created the control.
|
1158
1171
|
# @return [String]
|
1159
1172
|
#
|
1160
1173
|
# @!attribute [rw] last_updated_by
|
1161
|
-
# The
|
1174
|
+
# The user or role that most recently updated the control.
|
1162
1175
|
# @return [String]
|
1163
1176
|
#
|
1164
1177
|
# @!attribute [rw] tags
|
@@ -1887,7 +1900,7 @@ module Aws::AuditManager
|
|
1887
1900
|
# @return [String]
|
1888
1901
|
#
|
1889
1902
|
# @!attribute [rw] created_by
|
1890
|
-
# The
|
1903
|
+
# The user or role that created the delegation.
|
1891
1904
|
# @return [String]
|
1892
1905
|
#
|
1893
1906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/Delegation AWS API Documentation
|
@@ -2184,8 +2197,8 @@ module Aws::AuditManager
|
|
2184
2197
|
# @return [Hash<String,String>]
|
2185
2198
|
#
|
2186
2199
|
# @!attribute [rw] iam_id
|
2187
|
-
# The unique identifier for the
|
2188
|
-
#
|
2200
|
+
# The unique identifier for the user or role that's associated with
|
2201
|
+
# the evidence.
|
2189
2202
|
# @return [String]
|
2190
2203
|
#
|
2191
2204
|
# @!attribute [rw] compliance_check
|
@@ -2413,11 +2426,11 @@ module Aws::AuditManager
|
|
2413
2426
|
# @return [Time]
|
2414
2427
|
#
|
2415
2428
|
# @!attribute [rw] created_by
|
2416
|
-
# The
|
2429
|
+
# The user or role that created the framework.
|
2417
2430
|
# @return [String]
|
2418
2431
|
#
|
2419
2432
|
# @!attribute [rw] last_updated_by
|
2420
|
-
# The
|
2433
|
+
# The user or role that most recently updated the framework.
|
2421
2434
|
# @return [String]
|
2422
2435
|
#
|
2423
2436
|
# @!attribute [rw] tags
|
data/lib/aws-sdk-auditmanager.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-auditmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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: 2023-
|
11
|
+
date: 2023-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|