aws-sdk-auditmanager 1.30.0 → 1.32.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-auditmanager/client.rb +7 -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 +28 -15
- data/lib/aws-sdk-auditmanager.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecebd55933a905e415184c5b1621071801311a3e06f88dda32b0e718710fb9b1
|
4
|
+
data.tar.gz: 64fba66b517e923c647fc90cc2d71a23159539864ec645ee41a6439d0ee694b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 263d9275451f8ec7fdc889c2b11c496996681cab6ff8a001b8c34cf1f984ea2971acce01df4cbb2d0279b732c5f67f748ff897cf5b22e9e902e90afe07ee25c4
|
7
|
+
data.tar.gz: a4484026dc0c02eaa9bfc05f34fffb3ad5ba36067c15a317822cd7380ff51920744e7b3856a16c3291700e79bcb28373ef0233afaf86ec509f1d586ac1f986c7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.31.0 (2023-02-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a ServiceQuotaExceededException to the UpdateAssessmentFrameworkShare API operation.
|
13
|
+
|
4
14
|
1.30.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -275,6 +275,11 @@ module Aws::AuditManager
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -3647,7 +3652,7 @@ module Aws::AuditManager
|
|
3647
3652
|
req.send_request(options)
|
3648
3653
|
end
|
3649
3654
|
|
3650
|
-
# Updates Audit Manager settings for the current
|
3655
|
+
# Updates Audit Manager settings for the current account.
|
3651
3656
|
#
|
3652
3657
|
# @option params [String] :sns_topic
|
3653
3658
|
# The Amazon Simple Notification Service (Amazon SNS) topic that Audit
|
@@ -3783,7 +3788,7 @@ module Aws::AuditManager
|
|
3783
3788
|
params: params,
|
3784
3789
|
config: config)
|
3785
3790
|
context[:gem_name] = 'aws-sdk-auditmanager'
|
3786
|
-
context[:gem_version] = '1.
|
3791
|
+
context[:gem_version] = '1.32.0'
|
3787
3792
|
Seahorse::Client::Request.new(handlers, context)
|
3788
3793
|
end
|
3789
3794
|
|
@@ -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
|
@@ -1360,7 +1373,7 @@ module Aws::AuditManager
|
|
1360
1373
|
#
|
1361
1374
|
# To learn more about the supported keywords that you can use when
|
1362
1375
|
# mapping a control data source, see the following pages in the *Audit
|
1363
|
-
# Manager User Guide
|
1376
|
+
# Manager User Guide*:
|
1364
1377
|
#
|
1365
1378
|
# * [Config rules supported by Audit Manager][1]
|
1366
1379
|
#
|
@@ -1699,7 +1712,7 @@ module Aws::AuditManager
|
|
1699
1712
|
#
|
1700
1713
|
# To learn more about the supported keywords that you can use when
|
1701
1714
|
# mapping a control data source, see the following pages in the *Audit
|
1702
|
-
# Manager User Guide
|
1715
|
+
# Manager User Guide*:
|
1703
1716
|
#
|
1704
1717
|
# * [Config rules supported by Audit Manager][1]
|
1705
1718
|
#
|
@@ -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
|
@@ -4002,7 +4015,7 @@ module Aws::AuditManager
|
|
4002
4015
|
#
|
4003
4016
|
# To learn more about the supported keywords that you can use when
|
4004
4017
|
# mapping a control data source, see the following pages in the *Audit
|
4005
|
-
# Manager User Guide
|
4018
|
+
# Manager User Guide*:
|
4006
4019
|
#
|
4007
4020
|
# * [Config rules supported by Audit Manager][1]
|
4008
4021
|
#
|
@@ -4038,7 +4051,7 @@ module Aws::AuditManager
|
|
4038
4051
|
#
|
4039
4052
|
# * Managed rule name: [s3-bucket-acl-prohibited][3]
|
4040
4053
|
#
|
4041
|
-
# `keywordValue
|
4054
|
+
# `keywordValue`: `S3_BUCKET_ACL_PROHIBITED`
|
4042
4055
|
#
|
4043
4056
|
# * For [custom rules][4], you form the `keywordValue` by adding the
|
4044
4057
|
# `Custom_` prefix to the rule name. This prefix distinguishes the
|
@@ -4046,7 +4059,7 @@ module Aws::AuditManager
|
|
4046
4059
|
#
|
4047
4060
|
# * Custom rule name: my-custom-config-rule
|
4048
4061
|
#
|
4049
|
-
# `keywordValue
|
4062
|
+
# `keywordValue`: `Custom_my-custom-config-rule`
|
4050
4063
|
#
|
4051
4064
|
# * For [service-linked rules][5], you form the `keywordValue` by
|
4052
4065
|
# adding the `Custom_` prefix to the rule name. In addition, you
|
@@ -4055,12 +4068,12 @@ module Aws::AuditManager
|
|
4055
4068
|
# * Service-linked rule name:
|
4056
4069
|
# CustomRuleForAccount-conformance-pack-szsm1uv0w
|
4057
4070
|
#
|
4058
|
-
# `keywordValue
|
4071
|
+
# `keywordValue`: `Custom_CustomRuleForAccount-conformance-pack`
|
4059
4072
|
#
|
4060
4073
|
# * Service-linked rule name:
|
4061
4074
|
# OrgConfigRule-s3-bucket-versioning-enabled-dbgzf8ba
|
4062
4075
|
#
|
4063
|
-
# `keywordValue
|
4076
|
+
# `keywordValue`:
|
4064
4077
|
# `Custom_OrgConfigRule-s3-bucket-versioning-enabled`
|
4065
4078
|
#
|
4066
4079
|
#
|
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.32.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-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|