aws-sdk-auditmanager 1.25.0 → 1.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0735abba5c1d862b6b91cf899c4bee8f5db2c1422c155cbf2f0cf2a835deb2e
4
- data.tar.gz: 28b425c78598800e366c9e92e46b91723cb83ddfe7c8fdd99e8c6807942a83b8
3
+ metadata.gz: 85293e710b9fde06bc424368aedd260eba403da7e2ad96071c25303749becc72
4
+ data.tar.gz: 8e3cea7674bcd05eab13df691f5a34273ee08d6ce435b11c82d6ddd746424d6f
5
5
  SHA512:
6
- metadata.gz: fefb30248da4ebca805dd6cbc451137f9605ff6de53eb6b4fedfc5c2b47cd37e0b6e83f8611dcdd308c29c5843e51ccf374b3f2de643031b54171464e69455ae
7
- data.tar.gz: cc75e8e7786910896dd6fdb487c46bab32559fd7b4418742d7b4ba2463503371d1c3e58993d5b736af4acb5f46902ca03bda9afff495e1c137b746dfa2615170
6
+ metadata.gz: e0d3c2bd3224884f3e73aa29f0ade496dfbe545442c9ba22b29070f5ff77b8fdbc1d4ab28bdd1bf736d10dcf64eaa63d7474ddd1c380eea3e473390360a3cd8b
7
+ data.tar.gz: 607ef3f41f13ac29557a612a8cb81f14396e88cb94e166c6a2a7354e3db10cdbad4a5baea50122134fe9c8a3fdf8854b8d807a01cb86285026d9ff48d4bcdd4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-07-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds an exceeded quota exception to several APIs. We added a ServiceQuotaExceededException for the following operations: CreateAssessment, CreateControl, CreateAssessmentFramework, and UpdateAssessmentStatus.
8
+
4
9
  1.25.0 (2022-06-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -3678,7 +3678,7 @@ module Aws::AuditManager
3678
3678
  params: params,
3679
3679
  config: config)
3680
3680
  context[:gem_name] = 'aws-sdk-auditmanager'
3681
- context[:gem_version] = '1.25.0'
3681
+ context[:gem_version] = '1.26.0'
3682
3682
  Seahorse::Client::Request.new(handlers, context)
3683
3683
  end
3684
3684
 
@@ -258,6 +258,7 @@ module Aws::AuditManager
258
258
  Scope = Shapes::StructureShape.new(name: 'Scope')
259
259
  ServiceMetadata = Shapes::StructureShape.new(name: 'ServiceMetadata')
260
260
  ServiceMetadataList = Shapes::ListShape.new(name: 'ServiceMetadataList')
261
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
261
262
  SettingAttribute = Shapes::StringShape.new(name: 'SettingAttribute')
262
263
  Settings = Shapes::StructureShape.new(name: 'Settings')
263
264
  ShareRequestAction = Shapes::StringShape.new(name: 'ShareRequestAction')
@@ -1154,6 +1155,9 @@ module Aws::AuditManager
1154
1155
 
1155
1156
  ServiceMetadataList.member = Shapes::ShapeRef.new(shape: ServiceMetadata)
1156
1157
 
1158
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1159
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1160
+
1157
1161
  Settings.add_member(:is_aws_org_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isAwsOrgEnabled"))
1158
1162
  Settings.add_member(:sns_topic, Shapes::ShapeRef.new(shape: SNSTopic, location_name: "snsTopic"))
1159
1163
  Settings.add_member(:default_assessment_reports_destination, Shapes::ShapeRef.new(shape: AssessmentReportsDestination, location_name: "defaultAssessmentReportsDestination"))
@@ -1404,6 +1408,7 @@ module Aws::AuditManager
1404
1408
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1405
1409
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1406
1410
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1411
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1407
1412
  end)
1408
1413
 
1409
1414
  api.add_operation(:create_assessment_framework, Seahorse::Model::Operation.new.tap do |o|
@@ -1416,6 +1421,7 @@ module Aws::AuditManager
1416
1421
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1417
1422
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1418
1423
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1419
1425
  end)
1420
1426
 
1421
1427
  api.add_operation(:create_assessment_report, Seahorse::Model::Operation.new.tap do |o|
@@ -1440,6 +1446,7 @@ module Aws::AuditManager
1440
1446
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1441
1447
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1442
1448
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1449
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1443
1450
  end)
1444
1451
 
1445
1452
  api.add_operation(:delete_assessment, Seahorse::Model::Operation.new.tap do |o|
@@ -2094,6 +2101,7 @@ module Aws::AuditManager
2094
2101
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2095
2102
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2096
2103
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2104
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2097
2105
  end)
2098
2106
 
2099
2107
  api.add_operation(:update_control, Seahorse::Model::Operation.new.tap do |o|
@@ -30,6 +30,7 @@ module Aws::AuditManager
30
30
  # * {AccessDeniedException}
31
31
  # * {InternalServerException}
32
32
  # * {ResourceNotFoundException}
33
+ # * {ServiceQuotaExceededException}
33
34
  # * {ThrottlingException}
34
35
  # * {ValidationException}
35
36
  #
@@ -94,6 +95,21 @@ module Aws::AuditManager
94
95
  end
95
96
  end
96
97
 
98
+ class ServiceQuotaExceededException < ServiceError
99
+
100
+ # @param [Seahorse::Client::RequestContext] context
101
+ # @param [String] message
102
+ # @param [Aws::AuditManager::Types::ServiceQuotaExceededException] data
103
+ def initialize(context, message, data = Aws::EmptyStructure.new)
104
+ super(context, message, data)
105
+ end
106
+
107
+ # @return [String]
108
+ def message
109
+ @message || @data[:message]
110
+ end
111
+ end
112
+
97
113
  class ThrottlingException < ServiceError
98
114
 
99
115
  # @param [Seahorse::Client::RequestContext] context
@@ -1462,6 +1462,25 @@ module Aws::AuditManager
1462
1462
  # @!attribute [rw] source_keyword
1463
1463
  # The keyword to search for in CloudTrail logs, Config rules, Security
1464
1464
  # Hub checks, and Amazon Web Services API names.
1465
+ #
1466
+ # To learn more about the supported keywords that you can use when
1467
+ # mapping a control data source, see the following pages in the *Audit
1468
+ # Manager User Guide*\:
1469
+ #
1470
+ # * [Config rules supported by Audit Manager][1]
1471
+ #
1472
+ # * [Security Hub controls supported by Audit Manager][2]
1473
+ #
1474
+ # * [API calls supported by Audit Manager][3]
1475
+ #
1476
+ # * [CloudTrail event names supported by Audit Manager][4]
1477
+ #
1478
+ #
1479
+ #
1480
+ # [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html
1481
+ # [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html
1482
+ # [3]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html
1483
+ # [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html
1465
1484
  # @return [Types::SourceKeyword]
1466
1485
  #
1467
1486
  # @!attribute [rw] source_frequency
@@ -1857,6 +1876,25 @@ module Aws::AuditManager
1857
1876
  # @!attribute [rw] source_keyword
1858
1877
  # The keyword to search for in CloudTrail logs, Config rules, Security
1859
1878
  # Hub checks, and Amazon Web Services API names.
1879
+ #
1880
+ # To learn more about the supported keywords that you can use when
1881
+ # mapping a control data source, see the following pages in the *Audit
1882
+ # Manager User Guide*\:
1883
+ #
1884
+ # * [Config rules supported by Audit Manager][1]
1885
+ #
1886
+ # * [Security Hub controls supported by Audit Manager][2]
1887
+ #
1888
+ # * [API calls supported by Audit Manager][3]
1889
+ #
1890
+ # * [CloudTrail event names supported by Audit Manager][4]
1891
+ #
1892
+ #
1893
+ #
1894
+ # [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html
1895
+ # [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html
1896
+ # [3]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html
1897
+ # [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html
1860
1898
  # @return [Types::SourceKeyword]
1861
1899
  #
1862
1900
  # @!attribute [rw] source_frequency
@@ -4273,6 +4311,28 @@ module Aws::AuditManager
4273
4311
  include Aws::Structure
4274
4312
  end
4275
4313
 
4314
+ # You've reached your account quota for this resource type. To perform
4315
+ # the requested action, delete some existing resources or [request a
4316
+ # quota increase][1] from the Service Quotas console. For a list of
4317
+ # Audit Manager service quotas, see [Quotas and restrictions for Audit
4318
+ # Manager][2].
4319
+ #
4320
+ #
4321
+ #
4322
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
4323
+ # [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html
4324
+ #
4325
+ # @!attribute [rw] message
4326
+ # @return [String]
4327
+ #
4328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ServiceQuotaExceededException AWS API Documentation
4329
+ #
4330
+ class ServiceQuotaExceededException < Struct.new(
4331
+ :message)
4332
+ SENSITIVE = []
4333
+ include Aws::Structure
4334
+ end
4335
+
4276
4336
  # The settings object that holds all supported Audit Manager settings.
4277
4337
  #
4278
4338
  # @!attribute [rw] is_aws_org_enabled
@@ -4311,6 +4371,25 @@ module Aws::AuditManager
4311
4371
  # The keyword to search for in CloudTrail logs, Config rules, Security
4312
4372
  # Hub checks, and Amazon Web Services API names.
4313
4373
  #
4374
+ # To learn more about the supported keywords that you can use when
4375
+ # mapping a control data source, see the following pages in the *Audit
4376
+ # Manager User Guide*\:
4377
+ #
4378
+ # * [Config rules supported by Audit Manager][1]
4379
+ #
4380
+ # * [Security Hub controls supported by Audit Manager][2]
4381
+ #
4382
+ # * [API calls supported by Audit Manager][3]
4383
+ #
4384
+ # * [CloudTrail event names supported by Audit Manager][4]
4385
+ #
4386
+ #
4387
+ #
4388
+ # [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html
4389
+ # [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html
4390
+ # [3]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html
4391
+ # [4]: https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html
4392
+ #
4314
4393
  # @note When making an API call, you may pass SourceKeyword
4315
4394
  # data as a hash:
4316
4395
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-auditmanager/customizations'
48
48
  # @!group service
49
49
  module Aws::AuditManager
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  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.25.0
4
+ version: 1.26.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: 2022-06-07 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core