aws-sdk-auditmanager 1.30.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 468b77c33330cb9f390af844685d7ce89fc6d7968015eb040278817df1949e58
4
- data.tar.gz: bf14fe70d750763f6120b6c5f6142918fe53517919563bf89ff71ef7062644f8
3
+ metadata.gz: ecebd55933a905e415184c5b1621071801311a3e06f88dda32b0e718710fb9b1
4
+ data.tar.gz: 64fba66b517e923c647fc90cc2d71a23159539864ec645ee41a6439d0ee694b5
5
5
  SHA512:
6
- metadata.gz: 89f634603acb51a938941753ca852905e9a75d0207a0299915fe884cd251c4346e8622b216f72f5e397e017b54d6632be6499168617141fa6c0543e5b16ee333
7
- data.tar.gz: 53a7afe5ed1cccd895daea850d4323937f4140c1f7ba77657aeba98c0a80dcbb496472ad97853375140b00eff0da7492ea223d1a9ce1280ee15dfdbe0f7587b1
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.30.0
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 user account.
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.30.0'
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://auditmanager.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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 IAM user or role that performed the action.
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 IAM user or role that created the control.
1170
+ # The user or role that created the control.
1158
1171
  # @return [String]
1159
1172
  #
1160
1173
  # @!attribute [rw] last_updated_by
1161
- # The IAM user or role that most recently updated the control.
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 IAM user or role that created the delegation.
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 IAM user or role that's associated
2188
- # with the evidence.
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 IAM user or role that created the framework.
2429
+ # The user or role that created the framework.
2417
2430
  # @return [String]
2418
2431
  #
2419
2432
  # @!attribute [rw] last_updated_by
2420
- # The IAM user or role that most recently updated the framework.
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`\: `S3_BUCKET_ACL_PROHIBITED`
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`\: `Custom_my-custom-config-rule`
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`\: `Custom_CustomRuleForAccount-conformance-pack`
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
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-auditmanager/customizations'
52
52
  # @!group service
53
53
  module Aws::AuditManager
54
54
 
55
- GEM_VERSION = '1.30.0'
55
+ GEM_VERSION = '1.32.0'
56
56
 
57
57
  end
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.30.0
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-01-18 00:00:00.000000000 Z
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.165.0
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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement