aws-sdk-auditmanager 1.30.0 → 1.31.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: 1adc31b8e81e088bb036d69116dc31fbb9a036fa48513fa4b9176b5a633a4ef7
4
+ data.tar.gz: bd700a990c06f393a515e122cc8896ed0e49ce9c7062624fc9b8bbeb52cacdbf
5
5
  SHA512:
6
- metadata.gz: 89f634603acb51a938941753ca852905e9a75d0207a0299915fe884cd251c4346e8622b216f72f5e397e017b54d6632be6499168617141fa6c0543e5b16ee333
7
- data.tar.gz: 53a7afe5ed1cccd895daea850d4323937f4140c1f7ba77657aeba98c0a80dcbb496472ad97853375140b00eff0da7492ea223d1a9ce1280ee15dfdbe0f7587b1
6
+ metadata.gz: 49247ef51aa5abb955704516eb94809f03009c82493d5b363bded1a4d305eaf01b30e87aef81bb3bcf62ad9b475d3beb52e2fdae8b3b6459e645794784eb4f3e
7
+ data.tar.gz: 7df1cae8d61706880cd76e6d5fcc7c0919b0461dde152b09303b360436a03c22ca07ea03d2f30e95636ed2da308444a49691a22af0aac5cbf8b1768679a9858e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2023-02-20)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a ServiceQuotaExceededException to the UpdateAssessmentFrameworkShare API operation.
8
+
4
9
  1.30.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
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 user account.
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.30.0'
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 (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
@@ -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
@@ -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.31.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.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-01-18 00:00:00.000000000 Z
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