aws-sdk-auditmanager 1.24.0 → 1.25.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 +38 -11
- data/lib/aws-sdk-auditmanager/client_api.rb +7 -2
- data/lib/aws-sdk-auditmanager/errors.rb +16 -0
- data/lib/aws-sdk-auditmanager/types.rb +22 -10
- 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: a0735abba5c1d862b6b91cf899c4bee8f5db2c1422c155cbf2f0cf2a835deb2e
|
4
|
+
data.tar.gz: 28b425c78598800e366c9e92e46b91723cb83ddfe7c8fdd99e8c6807942a83b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fefb30248da4ebca805dd6cbc451137f9605ff6de53eb6b4fedfc5c2b47cd37e0b6e83f8611dcdd308c29c5843e51ccf374b3f2de643031b54171464e69455ae
|
7
|
+
data.tar.gz: cc75e8e7786910896dd6fdb487c46bab32559fd7b4418742d7b4ba2463503371d1c3e58993d5b736af4acb5f46902ca03bda9afff495e1c137b746dfa2615170
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2022-06-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces 2 updates to the Audit Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API operation.
|
8
|
+
|
4
9
|
1.24.0 (2022-04-28)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -660,8 +660,8 @@ module Aws::AuditManager
|
|
660
660
|
# },
|
661
661
|
# roles: [ # required
|
662
662
|
# {
|
663
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
664
|
-
# role_arn: "IamArn",
|
663
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
664
|
+
# role_arn: "IamArn", # required
|
665
665
|
# },
|
666
666
|
# ],
|
667
667
|
# framework_id: "UUID", # required
|
@@ -2067,8 +2067,8 @@ module Aws::AuditManager
|
|
2067
2067
|
req.send_request(options)
|
2068
2068
|
end
|
2069
2069
|
|
2070
|
-
# Returns a list of the in-scope Amazon Web Services
|
2071
|
-
#
|
2070
|
+
# Returns a list of the in-scope Amazon Web Services for the specified
|
2071
|
+
# assessment.
|
2072
2072
|
#
|
2073
2073
|
# @return [Types::GetServicesInScopeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2074
2074
|
#
|
@@ -2804,6 +2804,32 @@ module Aws::AuditManager
|
|
2804
2804
|
# custom framework is available. Recipients have 120 days to accept or
|
2805
2805
|
# decline the request. If no action is taken, the share request expires.
|
2806
2806
|
#
|
2807
|
+
# When you create a share request, Audit Manager stores a snapshot of
|
2808
|
+
# your custom framework in the US East (N. Virginia) Amazon Web Services
|
2809
|
+
# Region. Audit Manager also stores a backup of the same snapshot in the
|
2810
|
+
# US West (Oregon) Amazon Web Services Region.
|
2811
|
+
#
|
2812
|
+
# Audit Manager deletes the snapshot and the backup snapshot when one of
|
2813
|
+
# the following events occurs:
|
2814
|
+
#
|
2815
|
+
# * The sender revokes the share request.
|
2816
|
+
#
|
2817
|
+
# * The recipient declines the share request.
|
2818
|
+
#
|
2819
|
+
# * The recipient encounters an error and doesn't successfully accept
|
2820
|
+
# the share request.
|
2821
|
+
#
|
2822
|
+
# * The share request expires before the recipient responds to the
|
2823
|
+
# request.
|
2824
|
+
#
|
2825
|
+
# When a sender [resends a share request][1], the snapshot is replaced
|
2826
|
+
# with an updated version that corresponds with the latest version of
|
2827
|
+
# the custom framework.
|
2828
|
+
#
|
2829
|
+
# When a recipient accepts a share request, the snapshot is replicated
|
2830
|
+
# into their Amazon Web Services account under the Amazon Web Services
|
2831
|
+
# Region that was specified in the share request.
|
2832
|
+
#
|
2807
2833
|
# When you invoke the `StartAssessmentFrameworkShare` API, you are about
|
2808
2834
|
# to share a custom framework with another Amazon Web Services account.
|
2809
2835
|
# You may not share a custom framework that is derived from a standard
|
@@ -2811,11 +2837,12 @@ module Aws::AuditManager
|
|
2811
2837
|
# sharing by Amazon Web Services, unless you have obtained permission to
|
2812
2838
|
# do so from the owner of the standard framework. To learn more about
|
2813
2839
|
# which standard frameworks are eligible for sharing, see [Framework
|
2814
|
-
# sharing eligibility][
|
2840
|
+
# sharing eligibility][2] in the *Audit Manager User Guide*.
|
2815
2841
|
#
|
2816
2842
|
#
|
2817
2843
|
#
|
2818
|
-
# [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/
|
2844
|
+
# [1]: https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend
|
2845
|
+
# [2]: https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility
|
2819
2846
|
#
|
2820
2847
|
# @option params [required, String] :framework_id
|
2821
2848
|
# The unique identifier for the custom framework to be shared.
|
@@ -2974,8 +3001,8 @@ module Aws::AuditManager
|
|
2974
3001
|
# },
|
2975
3002
|
# roles: [
|
2976
3003
|
# {
|
2977
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
2978
|
-
# role_arn: "IamArn",
|
3004
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
3005
|
+
# role_arn: "IamArn", # required
|
2979
3006
|
# },
|
2980
3007
|
# ],
|
2981
3008
|
# })
|
@@ -3573,8 +3600,8 @@ module Aws::AuditManager
|
|
3573
3600
|
# },
|
3574
3601
|
# default_process_owners: [
|
3575
3602
|
# {
|
3576
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
3577
|
-
# role_arn: "IamArn",
|
3603
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
3604
|
+
# role_arn: "IamArn", # required
|
3578
3605
|
# },
|
3579
3606
|
# ],
|
3580
3607
|
# kms_key: "KmsKey",
|
@@ -3651,7 +3678,7 @@ module Aws::AuditManager
|
|
3651
3678
|
params: params,
|
3652
3679
|
config: config)
|
3653
3680
|
context[:gem_name] = 'aws-sdk-auditmanager'
|
3654
|
-
context[:gem_version] = '1.
|
3681
|
+
context[:gem_version] = '1.25.0'
|
3655
3682
|
Seahorse::Client::Request.new(handlers, context)
|
3656
3683
|
end
|
3657
3684
|
|
@@ -281,6 +281,7 @@ module Aws::AuditManager
|
|
281
281
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
282
282
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
283
283
|
TestingInformation = Shapes::StringShape.new(name: 'TestingInformation')
|
284
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
284
285
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
285
286
|
TimestampUUID = Shapes::StringShape.new(name: 'TimestampUUID')
|
286
287
|
Token = Shapes::StringShape.new(name: 'Token')
|
@@ -1135,8 +1136,8 @@ module Aws::AuditManager
|
|
1135
1136
|
|
1136
1137
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
1137
1138
|
|
1138
|
-
Role.add_member(:role_type, Shapes::ShapeRef.new(shape: RoleType, location_name: "roleType"))
|
1139
|
-
Role.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamArn, location_name: "roleArn"))
|
1139
|
+
Role.add_member(:role_type, Shapes::ShapeRef.new(shape: RoleType, required: true, location_name: "roleType"))
|
1140
|
+
Role.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamArn, required: true, location_name: "roleArn"))
|
1140
1141
|
Role.struct_class = Types::Role
|
1141
1142
|
|
1142
1143
|
Roles.member = Shapes::ShapeRef.new(shape: Role)
|
@@ -1184,6 +1185,9 @@ module Aws::AuditManager
|
|
1184
1185
|
|
1185
1186
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1186
1187
|
|
1188
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
1189
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
1190
|
+
|
1187
1191
|
URL.add_member(:hyperlink_name, Shapes::ShapeRef.new(shape: HyperlinkName, location_name: "hyperlinkName"))
|
1188
1192
|
URL.add_member(:link, Shapes::ShapeRef.new(shape: UrlLink, location_name: "link"))
|
1189
1193
|
URL.struct_class = Types::URL
|
@@ -1971,6 +1975,7 @@ module Aws::AuditManager
|
|
1971
1975
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1972
1976
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1973
1977
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1978
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1974
1979
|
end)
|
1975
1980
|
|
1976
1981
|
api.add_operation(:register_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -30,6 +30,7 @@ module Aws::AuditManager
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {InternalServerException}
|
32
32
|
# * {ResourceNotFoundException}
|
33
|
+
# * {ThrottlingException}
|
33
34
|
# * {ValidationException}
|
34
35
|
#
|
35
36
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -93,6 +94,21 @@ module Aws::AuditManager
|
|
93
94
|
end
|
94
95
|
end
|
95
96
|
|
97
|
+
class ThrottlingException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::AuditManager::Types::ThrottlingException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def message
|
108
|
+
@message || @data[:message]
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
96
112
|
class ValidationException < ServiceError
|
97
113
|
|
98
114
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -278,8 +278,7 @@ module Aws::AuditManager
|
|
278
278
|
# @!attribute [rw] evidence_by_type_configuration_data_count
|
279
279
|
# The number of evidence that falls under the configuration data
|
280
280
|
# category. This evidence is collected from configuration snapshots of
|
281
|
-
# other Amazon Web Services
|
282
|
-
# IAM.
|
281
|
+
# other Amazon Web Services such as Amazon EC2, Amazon S3, or IAM.
|
283
282
|
# @return [Integer]
|
284
283
|
#
|
285
284
|
# @!attribute [rw] evidence_by_type_manual_count
|
@@ -1747,8 +1746,8 @@ module Aws::AuditManager
|
|
1747
1746
|
# },
|
1748
1747
|
# roles: [ # required
|
1749
1748
|
# {
|
1750
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
1751
|
-
# role_arn: "IamArn",
|
1749
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
1750
|
+
# role_arn: "IamArn", # required
|
1752
1751
|
# },
|
1753
1752
|
# ],
|
1754
1753
|
# framework_id: "UUID", # required
|
@@ -4174,8 +4173,8 @@ module Aws::AuditManager
|
|
4174
4173
|
# data as a hash:
|
4175
4174
|
#
|
4176
4175
|
# {
|
4177
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
4178
|
-
# role_arn: "IamArn",
|
4176
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
4177
|
+
# role_arn: "IamArn", # required
|
4179
4178
|
# }
|
4180
4179
|
#
|
4181
4180
|
# @!attribute [rw] role_type
|
@@ -4468,6 +4467,19 @@ module Aws::AuditManager
|
|
4468
4467
|
#
|
4469
4468
|
class TagResourceResponse < Aws::EmptyStructure; end
|
4470
4469
|
|
4470
|
+
# The request was denied due to request throttling.
|
4471
|
+
#
|
4472
|
+
# @!attribute [rw] message
|
4473
|
+
# @return [String]
|
4474
|
+
#
|
4475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ThrottlingException AWS API Documentation
|
4476
|
+
#
|
4477
|
+
class ThrottlingException < Struct.new(
|
4478
|
+
:message)
|
4479
|
+
SENSITIVE = []
|
4480
|
+
include Aws::Structure
|
4481
|
+
end
|
4482
|
+
|
4471
4483
|
# Short for uniform resource locator. A URL is used as a unique
|
4472
4484
|
# identifier to locate a resource on the internet.
|
4473
4485
|
#
|
@@ -4799,8 +4811,8 @@ module Aws::AuditManager
|
|
4799
4811
|
# },
|
4800
4812
|
# roles: [
|
4801
4813
|
# {
|
4802
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
4803
|
-
# role_arn: "IamArn",
|
4814
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
4815
|
+
# role_arn: "IamArn", # required
|
4804
4816
|
# },
|
4805
4817
|
# ],
|
4806
4818
|
# }
|
@@ -4988,8 +5000,8 @@ module Aws::AuditManager
|
|
4988
5000
|
# },
|
4989
5001
|
# default_process_owners: [
|
4990
5002
|
# {
|
4991
|
-
# role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
|
4992
|
-
# role_arn: "IamArn",
|
5003
|
+
# role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
|
5004
|
+
# role_arn: "IamArn", # required
|
4993
5005
|
# },
|
4994
5006
|
# ],
|
4995
5007
|
# kms_key: "KmsKey",
|
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.25.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-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|