aws-sdk-mpa 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-mpa/client.rb +1628 -0
- data/lib/aws-sdk-mpa/client_api.rb +898 -0
- data/lib/aws-sdk-mpa/customizations.rb +0 -0
- data/lib/aws-sdk-mpa/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-mpa/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-mpa/endpoints.rb +20 -0
- data/lib/aws-sdk-mpa/errors.rb +191 -0
- data/lib/aws-sdk-mpa/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-mpa/resource.rb +26 -0
- data/lib/aws-sdk-mpa/types.rb +2151 -0
- data/lib/aws-sdk-mpa/waiters.rb +15 -0
- data/lib/aws-sdk-mpa.rb +62 -0
- data/sig/client.rbs +402 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +84 -0
- data/sig/types.rbs +549 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -0,0 +1,898 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::MPA
|
12
|
+
# @api private
|
13
|
+
module ClientApi
|
14
|
+
|
15
|
+
include Seahorse::Model
|
16
|
+
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
19
|
+
ActionCompletionStrategy = Shapes::StringShape.new(name: 'ActionCompletionStrategy')
|
20
|
+
ActionName = Shapes::StringShape.new(name: 'ActionName')
|
21
|
+
ApprovalStrategy = Shapes::UnionShape.new(name: 'ApprovalStrategy')
|
22
|
+
ApprovalStrategyResponse = Shapes::UnionShape.new(name: 'ApprovalStrategyResponse')
|
23
|
+
ApprovalTeamArn = Shapes::StringShape.new(name: 'ApprovalTeamArn')
|
24
|
+
ApprovalTeamName = Shapes::StringShape.new(name: 'ApprovalTeamName')
|
25
|
+
ApprovalTeamRequestApprover = Shapes::StructureShape.new(name: 'ApprovalTeamRequestApprover')
|
26
|
+
ApprovalTeamRequestApprovers = Shapes::ListShape.new(name: 'ApprovalTeamRequestApprovers')
|
27
|
+
ApprovalTeamStatus = Shapes::StringShape.new(name: 'ApprovalTeamStatus')
|
28
|
+
ApprovalTeamStatusCode = Shapes::StringShape.new(name: 'ApprovalTeamStatusCode')
|
29
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
30
|
+
CancelSessionRequest = Shapes::StructureShape.new(name: 'CancelSessionRequest')
|
31
|
+
CancelSessionResponse = Shapes::StructureShape.new(name: 'CancelSessionResponse')
|
32
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
33
|
+
CreateApprovalTeamRequest = Shapes::StructureShape.new(name: 'CreateApprovalTeamRequest')
|
34
|
+
CreateApprovalTeamResponse = Shapes::StructureShape.new(name: 'CreateApprovalTeamResponse')
|
35
|
+
CreateIdentitySourceRequest = Shapes::StructureShape.new(name: 'CreateIdentitySourceRequest')
|
36
|
+
CreateIdentitySourceResponse = Shapes::StructureShape.new(name: 'CreateIdentitySourceResponse')
|
37
|
+
DeleteIdentitySourceRequest = Shapes::StructureShape.new(name: 'DeleteIdentitySourceRequest')
|
38
|
+
DeleteInactiveApprovalTeamVersionRequest = Shapes::StructureShape.new(name: 'DeleteInactiveApprovalTeamVersionRequest')
|
39
|
+
DeleteInactiveApprovalTeamVersionResponse = Shapes::StructureShape.new(name: 'DeleteInactiveApprovalTeamVersionResponse')
|
40
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
41
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
42
|
+
FilterField = Shapes::StringShape.new(name: 'FilterField')
|
43
|
+
Filters = Shapes::ListShape.new(name: 'Filters')
|
44
|
+
GetApprovalTeamRequest = Shapes::StructureShape.new(name: 'GetApprovalTeamRequest')
|
45
|
+
GetApprovalTeamResponse = Shapes::StructureShape.new(name: 'GetApprovalTeamResponse')
|
46
|
+
GetApprovalTeamResponseApprover = Shapes::StructureShape.new(name: 'GetApprovalTeamResponseApprover')
|
47
|
+
GetApprovalTeamResponseApprovers = Shapes::ListShape.new(name: 'GetApprovalTeamResponseApprovers')
|
48
|
+
GetIdentitySourceRequest = Shapes::StructureShape.new(name: 'GetIdentitySourceRequest')
|
49
|
+
GetIdentitySourceResponse = Shapes::StructureShape.new(name: 'GetIdentitySourceResponse')
|
50
|
+
GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
|
51
|
+
GetPolicyVersionResponse = Shapes::StructureShape.new(name: 'GetPolicyVersionResponse')
|
52
|
+
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
53
|
+
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
54
|
+
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
55
|
+
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
56
|
+
GetSessionResponseApproverResponse = Shapes::StructureShape.new(name: 'GetSessionResponseApproverResponse')
|
57
|
+
GetSessionResponseApproverResponses = Shapes::ListShape.new(name: 'GetSessionResponseApproverResponses')
|
58
|
+
IamIdentityCenter = Shapes::StructureShape.new(name: 'IamIdentityCenter')
|
59
|
+
IamIdentityCenterForGet = Shapes::StructureShape.new(name: 'IamIdentityCenterForGet')
|
60
|
+
IamIdentityCenterForList = Shapes::StructureShape.new(name: 'IamIdentityCenterForList')
|
61
|
+
IdcInstanceArn = Shapes::StringShape.new(name: 'IdcInstanceArn')
|
62
|
+
IdentityId = Shapes::StringShape.new(name: 'IdentityId')
|
63
|
+
IdentitySourceForList = Shapes::StructureShape.new(name: 'IdentitySourceForList')
|
64
|
+
IdentitySourceParameters = Shapes::StructureShape.new(name: 'IdentitySourceParameters')
|
65
|
+
IdentitySourceParametersForGet = Shapes::UnionShape.new(name: 'IdentitySourceParametersForGet')
|
66
|
+
IdentitySourceParametersForList = Shapes::UnionShape.new(name: 'IdentitySourceParametersForList')
|
67
|
+
IdentitySourceStatus = Shapes::StringShape.new(name: 'IdentitySourceStatus')
|
68
|
+
IdentitySourceStatusCode = Shapes::StringShape.new(name: 'IdentitySourceStatusCode')
|
69
|
+
IdentitySourceType = Shapes::StringShape.new(name: 'IdentitySourceType')
|
70
|
+
IdentitySources = Shapes::ListShape.new(name: 'IdentitySources')
|
71
|
+
IdentityStatus = Shapes::StringShape.new(name: 'IdentityStatus')
|
72
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
73
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
74
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
75
|
+
IsoTimestamp = Shapes::TimestampShape.new(name: 'IsoTimestamp', timestampFormat: "iso8601")
|
76
|
+
ListApprovalTeamsRequest = Shapes::StructureShape.new(name: 'ListApprovalTeamsRequest')
|
77
|
+
ListApprovalTeamsResponse = Shapes::StructureShape.new(name: 'ListApprovalTeamsResponse')
|
78
|
+
ListApprovalTeamsResponseApprovalTeam = Shapes::StructureShape.new(name: 'ListApprovalTeamsResponseApprovalTeam')
|
79
|
+
ListApprovalTeamsResponseApprovalTeams = Shapes::ListShape.new(name: 'ListApprovalTeamsResponseApprovalTeams')
|
80
|
+
ListIdentitySourcesRequest = Shapes::StructureShape.new(name: 'ListIdentitySourcesRequest')
|
81
|
+
ListIdentitySourcesResponse = Shapes::StructureShape.new(name: 'ListIdentitySourcesResponse')
|
82
|
+
ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
|
83
|
+
ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
|
84
|
+
ListPolicyVersionsRequest = Shapes::StructureShape.new(name: 'ListPolicyVersionsRequest')
|
85
|
+
ListPolicyVersionsResponse = Shapes::StructureShape.new(name: 'ListPolicyVersionsResponse')
|
86
|
+
ListResourcePoliciesRequest = Shapes::StructureShape.new(name: 'ListResourcePoliciesRequest')
|
87
|
+
ListResourcePoliciesResponse = Shapes::StructureShape.new(name: 'ListResourcePoliciesResponse')
|
88
|
+
ListResourcePoliciesResponseResourcePolicies = Shapes::ListShape.new(name: 'ListResourcePoliciesResponseResourcePolicies')
|
89
|
+
ListResourcePoliciesResponseResourcePolicy = Shapes::StructureShape.new(name: 'ListResourcePoliciesResponseResourcePolicy')
|
90
|
+
ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
|
91
|
+
ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
|
92
|
+
ListSessionsResponseSession = Shapes::StructureShape.new(name: 'ListSessionsResponseSession')
|
93
|
+
ListSessionsResponseSessions = Shapes::ListShape.new(name: 'ListSessionsResponseSessions')
|
94
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
95
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
96
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
97
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
98
|
+
MofNApprovalStrategy = Shapes::StructureShape.new(name: 'MofNApprovalStrategy')
|
99
|
+
MofNApprovalStrategyMinApprovalsRequiredInteger = Shapes::IntegerShape.new(name: 'MofNApprovalStrategyMinApprovalsRequiredInteger')
|
100
|
+
Operator = Shapes::StringShape.new(name: 'Operator')
|
101
|
+
ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
|
102
|
+
PendingUpdate = Shapes::StructureShape.new(name: 'PendingUpdate')
|
103
|
+
Policies = Shapes::ListShape.new(name: 'Policies')
|
104
|
+
PoliciesReferences = Shapes::ListShape.new(name: 'PoliciesReferences')
|
105
|
+
Policy = Shapes::StructureShape.new(name: 'Policy')
|
106
|
+
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
107
|
+
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
108
|
+
PolicyReference = Shapes::StructureShape.new(name: 'PolicyReference')
|
109
|
+
PolicyStatus = Shapes::StringShape.new(name: 'PolicyStatus')
|
110
|
+
PolicyType = Shapes::StringShape.new(name: 'PolicyType')
|
111
|
+
PolicyVersion = Shapes::StructureShape.new(name: 'PolicyVersion')
|
112
|
+
PolicyVersionId = Shapes::IntegerShape.new(name: 'PolicyVersionId')
|
113
|
+
PolicyVersionSummary = Shapes::StructureShape.new(name: 'PolicyVersionSummary')
|
114
|
+
PolicyVersions = Shapes::ListShape.new(name: 'PolicyVersions')
|
115
|
+
QualifiedPolicyArn = Shapes::StringShape.new(name: 'QualifiedPolicyArn')
|
116
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
117
|
+
RequesterComment = Shapes::StringShape.new(name: 'RequesterComment')
|
118
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
119
|
+
ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
|
120
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
121
|
+
SessionArn = Shapes::StringShape.new(name: 'SessionArn')
|
122
|
+
SessionExecutionStatus = Shapes::StringShape.new(name: 'SessionExecutionStatus')
|
123
|
+
SessionKey = Shapes::StringShape.new(name: 'SessionKey')
|
124
|
+
SessionMetadata = Shapes::MapShape.new(name: 'SessionMetadata')
|
125
|
+
SessionResponse = Shapes::StringShape.new(name: 'SessionResponse')
|
126
|
+
SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
|
127
|
+
SessionStatusCode = Shapes::StringShape.new(name: 'SessionStatusCode')
|
128
|
+
SessionValue = Shapes::StringShape.new(name: 'SessionValue')
|
129
|
+
StartActiveApprovalTeamDeletionRequest = Shapes::StructureShape.new(name: 'StartActiveApprovalTeamDeletionRequest')
|
130
|
+
StartActiveApprovalTeamDeletionResponse = Shapes::StructureShape.new(name: 'StartActiveApprovalTeamDeletionResponse')
|
131
|
+
String = Shapes::StringShape.new(name: 'String')
|
132
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
133
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
134
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
135
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
136
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
137
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
138
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
139
|
+
Token = Shapes::StringShape.new(name: 'Token')
|
140
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
141
|
+
UnqualifiedPolicyArn = Shapes::StringShape.new(name: 'UnqualifiedPolicyArn')
|
142
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
143
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
144
|
+
UpdateApprovalTeamRequest = Shapes::StructureShape.new(name: 'UpdateApprovalTeamRequest')
|
145
|
+
UpdateApprovalTeamResponse = Shapes::StructureShape.new(name: 'UpdateApprovalTeamResponse')
|
146
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
147
|
+
|
148
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
149
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
150
|
+
|
151
|
+
ApprovalStrategy.add_member(:mof_n, Shapes::ShapeRef.new(shape: MofNApprovalStrategy, location_name: "MofN"))
|
152
|
+
ApprovalStrategy.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
153
|
+
ApprovalStrategy.add_member_subclass(:mof_n, Types::ApprovalStrategy::MofN)
|
154
|
+
ApprovalStrategy.add_member_subclass(:unknown, Types::ApprovalStrategy::Unknown)
|
155
|
+
ApprovalStrategy.struct_class = Types::ApprovalStrategy
|
156
|
+
|
157
|
+
ApprovalStrategyResponse.add_member(:mof_n, Shapes::ShapeRef.new(shape: MofNApprovalStrategy, location_name: "MofN"))
|
158
|
+
ApprovalStrategyResponse.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
159
|
+
ApprovalStrategyResponse.add_member_subclass(:mof_n, Types::ApprovalStrategyResponse::MofN)
|
160
|
+
ApprovalStrategyResponse.add_member_subclass(:unknown, Types::ApprovalStrategyResponse::Unknown)
|
161
|
+
ApprovalStrategyResponse.struct_class = Types::ApprovalStrategyResponse
|
162
|
+
|
163
|
+
ApprovalTeamRequestApprover.add_member(:primary_identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "PrimaryIdentityId"))
|
164
|
+
ApprovalTeamRequestApprover.add_member(:primary_identity_source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PrimaryIdentitySourceArn"))
|
165
|
+
ApprovalTeamRequestApprover.struct_class = Types::ApprovalTeamRequestApprover
|
166
|
+
|
167
|
+
ApprovalTeamRequestApprovers.member = Shapes::ShapeRef.new(shape: ApprovalTeamRequestApprover)
|
168
|
+
|
169
|
+
CancelSessionRequest.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location: "uri", location_name: "SessionArn"))
|
170
|
+
CancelSessionRequest.struct_class = Types::CancelSessionRequest
|
171
|
+
|
172
|
+
CancelSessionResponse.struct_class = Types::CancelSessionResponse
|
173
|
+
|
174
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
175
|
+
ConflictException.struct_class = Types::ConflictException
|
176
|
+
|
177
|
+
CreateApprovalTeamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: Token, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
178
|
+
CreateApprovalTeamRequest.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategy, required: true, location_name: "ApprovalStrategy"))
|
179
|
+
CreateApprovalTeamRequest.add_member(:approvers, Shapes::ShapeRef.new(shape: ApprovalTeamRequestApprovers, required: true, location_name: "Approvers"))
|
180
|
+
CreateApprovalTeamRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "Description"))
|
181
|
+
CreateApprovalTeamRequest.add_member(:policies, Shapes::ShapeRef.new(shape: PoliciesReferences, required: true, location_name: "Policies"))
|
182
|
+
CreateApprovalTeamRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApprovalTeamName, required: true, location_name: "Name"))
|
183
|
+
CreateApprovalTeamRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
184
|
+
CreateApprovalTeamRequest.struct_class = Types::CreateApprovalTeamRequest
|
185
|
+
|
186
|
+
CreateApprovalTeamResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
187
|
+
CreateApprovalTeamResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, location_name: "Arn"))
|
188
|
+
CreateApprovalTeamResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
189
|
+
CreateApprovalTeamResponse.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
190
|
+
CreateApprovalTeamResponse.struct_class = Types::CreateApprovalTeamResponse
|
191
|
+
|
192
|
+
CreateIdentitySourceRequest.add_member(:identity_source_parameters, Shapes::ShapeRef.new(shape: IdentitySourceParameters, required: true, location_name: "IdentitySourceParameters"))
|
193
|
+
CreateIdentitySourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: Token, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
194
|
+
CreateIdentitySourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
195
|
+
CreateIdentitySourceRequest.struct_class = Types::CreateIdentitySourceRequest
|
196
|
+
|
197
|
+
CreateIdentitySourceResponse.add_member(:identity_source_type, Shapes::ShapeRef.new(shape: IdentitySourceType, location_name: "IdentitySourceType"))
|
198
|
+
CreateIdentitySourceResponse.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "IdentitySourceArn"))
|
199
|
+
CreateIdentitySourceResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
200
|
+
CreateIdentitySourceResponse.struct_class = Types::CreateIdentitySourceResponse
|
201
|
+
|
202
|
+
DeleteIdentitySourceRequest.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "IdentitySourceArn"))
|
203
|
+
DeleteIdentitySourceRequest.struct_class = Types::DeleteIdentitySourceRequest
|
204
|
+
|
205
|
+
DeleteInactiveApprovalTeamVersionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
|
206
|
+
DeleteInactiveApprovalTeamVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "VersionId"))
|
207
|
+
DeleteInactiveApprovalTeamVersionRequest.struct_class = Types::DeleteInactiveApprovalTeamVersionRequest
|
208
|
+
|
209
|
+
DeleteInactiveApprovalTeamVersionResponse.struct_class = Types::DeleteInactiveApprovalTeamVersionResponse
|
210
|
+
|
211
|
+
Filter.add_member(:field_name, Shapes::ShapeRef.new(shape: FilterField, location_name: "FieldName"))
|
212
|
+
Filter.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, location_name: "Operator"))
|
213
|
+
Filter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
214
|
+
Filter.struct_class = Types::Filter
|
215
|
+
|
216
|
+
Filters.member = Shapes::ShapeRef.new(shape: Filter)
|
217
|
+
|
218
|
+
GetApprovalTeamRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
|
219
|
+
GetApprovalTeamRequest.struct_class = Types::GetApprovalTeamRequest
|
220
|
+
|
221
|
+
GetApprovalTeamResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
222
|
+
GetApprovalTeamResponse.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategyResponse, location_name: "ApprovalStrategy"))
|
223
|
+
GetApprovalTeamResponse.add_member(:number_of_approvers, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfApprovers"))
|
224
|
+
GetApprovalTeamResponse.add_member(:approvers, Shapes::ShapeRef.new(shape: GetApprovalTeamResponseApprovers, location_name: "Approvers"))
|
225
|
+
GetApprovalTeamResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
226
|
+
GetApprovalTeamResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
227
|
+
GetApprovalTeamResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
228
|
+
GetApprovalTeamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApprovalTeamStatus, location_name: "Status"))
|
229
|
+
GetApprovalTeamResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: ApprovalTeamStatusCode, location_name: "StatusCode"))
|
230
|
+
GetApprovalTeamResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
231
|
+
GetApprovalTeamResponse.add_member(:update_session_arn, Shapes::ShapeRef.new(shape: String, location_name: "UpdateSessionArn"))
|
232
|
+
GetApprovalTeamResponse.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
233
|
+
GetApprovalTeamResponse.add_member(:policies, Shapes::ShapeRef.new(shape: PoliciesReferences, location_name: "Policies"))
|
234
|
+
GetApprovalTeamResponse.add_member(:last_update_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "LastUpdateTime"))
|
235
|
+
GetApprovalTeamResponse.add_member(:pending_update, Shapes::ShapeRef.new(shape: PendingUpdate, location_name: "PendingUpdate"))
|
236
|
+
GetApprovalTeamResponse.struct_class = Types::GetApprovalTeamResponse
|
237
|
+
|
238
|
+
GetApprovalTeamResponseApprover.add_member(:approver_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ApproverId"))
|
239
|
+
GetApprovalTeamResponseApprover.add_member(:response_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "ResponseTime"))
|
240
|
+
GetApprovalTeamResponseApprover.add_member(:primary_identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "PrimaryIdentityId"))
|
241
|
+
GetApprovalTeamResponseApprover.add_member(:primary_identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryIdentitySourceArn"))
|
242
|
+
GetApprovalTeamResponseApprover.add_member(:primary_identity_status, Shapes::ShapeRef.new(shape: IdentityStatus, location_name: "PrimaryIdentityStatus"))
|
243
|
+
GetApprovalTeamResponseApprover.struct_class = Types::GetApprovalTeamResponseApprover
|
244
|
+
|
245
|
+
GetApprovalTeamResponseApprovers.member = Shapes::ShapeRef.new(shape: GetApprovalTeamResponseApprover)
|
246
|
+
|
247
|
+
GetIdentitySourceRequest.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "IdentitySourceArn"))
|
248
|
+
GetIdentitySourceRequest.struct_class = Types::GetIdentitySourceRequest
|
249
|
+
|
250
|
+
GetIdentitySourceResponse.add_member(:identity_source_type, Shapes::ShapeRef.new(shape: IdentitySourceType, location_name: "IdentitySourceType"))
|
251
|
+
GetIdentitySourceResponse.add_member(:identity_source_parameters, Shapes::ShapeRef.new(shape: IdentitySourceParametersForGet, location_name: "IdentitySourceParameters"))
|
252
|
+
GetIdentitySourceResponse.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "IdentitySourceArn"))
|
253
|
+
GetIdentitySourceResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
254
|
+
GetIdentitySourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: IdentitySourceStatus, location_name: "Status"))
|
255
|
+
GetIdentitySourceResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: IdentitySourceStatusCode, location_name: "StatusCode"))
|
256
|
+
GetIdentitySourceResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
257
|
+
GetIdentitySourceResponse.struct_class = Types::GetIdentitySourceResponse
|
258
|
+
|
259
|
+
GetPolicyVersionRequest.add_member(:policy_version_arn, Shapes::ShapeRef.new(shape: QualifiedPolicyArn, required: true, location: "uri", location_name: "PolicyVersionArn"))
|
260
|
+
GetPolicyVersionRequest.struct_class = Types::GetPolicyVersionRequest
|
261
|
+
|
262
|
+
GetPolicyVersionResponse.add_member(:policy_version, Shapes::ShapeRef.new(shape: PolicyVersion, required: true, location_name: "PolicyVersion"))
|
263
|
+
GetPolicyVersionResponse.struct_class = Types::GetPolicyVersionResponse
|
264
|
+
|
265
|
+
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
266
|
+
GetResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PolicyName"))
|
267
|
+
GetResourcePolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
268
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
269
|
+
|
270
|
+
GetResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
271
|
+
GetResourcePolicyResponse.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
272
|
+
GetResourcePolicyResponse.add_member(:policy_version_arn, Shapes::ShapeRef.new(shape: String, location_name: "PolicyVersionArn"))
|
273
|
+
GetResourcePolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "PolicyName"))
|
274
|
+
GetResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "PolicyDocument"))
|
275
|
+
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
276
|
+
|
277
|
+
GetSessionRequest.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location: "uri", location_name: "SessionArn"))
|
278
|
+
GetSessionRequest.struct_class = Types::GetSessionRequest
|
279
|
+
|
280
|
+
GetSessionResponse.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, location_name: "SessionArn"))
|
281
|
+
GetSessionResponse.add_member(:approval_team_arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, location_name: "ApprovalTeamArn"))
|
282
|
+
GetSessionResponse.add_member(:approval_team_name, Shapes::ShapeRef.new(shape: ApprovalTeamName, location_name: "ApprovalTeamName"))
|
283
|
+
GetSessionResponse.add_member(:protected_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ProtectedResourceArn"))
|
284
|
+
GetSessionResponse.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategyResponse, location_name: "ApprovalStrategy"))
|
285
|
+
GetSessionResponse.add_member(:number_of_approvers, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfApprovers"))
|
286
|
+
GetSessionResponse.add_member(:initiation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "InitiationTime"))
|
287
|
+
GetSessionResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "ExpirationTime"))
|
288
|
+
GetSessionResponse.add_member(:completion_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CompletionTime"))
|
289
|
+
GetSessionResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
290
|
+
GetSessionResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: SessionMetadata, location_name: "Metadata"))
|
291
|
+
GetSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
|
292
|
+
GetSessionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: SessionStatusCode, location_name: "StatusCode"))
|
293
|
+
GetSessionResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
294
|
+
GetSessionResponse.add_member(:execution_status, Shapes::ShapeRef.new(shape: SessionExecutionStatus, location_name: "ExecutionStatus"))
|
295
|
+
GetSessionResponse.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, location_name: "ActionName"))
|
296
|
+
GetSessionResponse.add_member(:requester_service_principal, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "RequesterServicePrincipal"))
|
297
|
+
GetSessionResponse.add_member(:requester_principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "RequesterPrincipalArn"))
|
298
|
+
GetSessionResponse.add_member(:requester_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "RequesterAccountId"))
|
299
|
+
GetSessionResponse.add_member(:requester_region, Shapes::ShapeRef.new(shape: Region, location_name: "RequesterRegion"))
|
300
|
+
GetSessionResponse.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
|
301
|
+
GetSessionResponse.add_member(:action_completion_strategy, Shapes::ShapeRef.new(shape: ActionCompletionStrategy, location_name: "ActionCompletionStrategy"))
|
302
|
+
GetSessionResponse.add_member(:approver_responses, Shapes::ShapeRef.new(shape: GetSessionResponseApproverResponses, location_name: "ApproverResponses"))
|
303
|
+
GetSessionResponse.struct_class = Types::GetSessionResponse
|
304
|
+
|
305
|
+
GetSessionResponseApproverResponse.add_member(:approver_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ApproverId"))
|
306
|
+
GetSessionResponseApproverResponse.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "IdentitySourceArn"))
|
307
|
+
GetSessionResponseApproverResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
308
|
+
GetSessionResponseApproverResponse.add_member(:response, Shapes::ShapeRef.new(shape: SessionResponse, location_name: "Response"))
|
309
|
+
GetSessionResponseApproverResponse.add_member(:response_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "ResponseTime"))
|
310
|
+
GetSessionResponseApproverResponse.struct_class = Types::GetSessionResponseApproverResponse
|
311
|
+
|
312
|
+
GetSessionResponseApproverResponses.member = Shapes::ShapeRef.new(shape: GetSessionResponseApproverResponse)
|
313
|
+
|
314
|
+
IamIdentityCenter.add_member(:instance_arn, Shapes::ShapeRef.new(shape: IdcInstanceArn, required: true, location_name: "InstanceArn"))
|
315
|
+
IamIdentityCenter.add_member(:region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Region"))
|
316
|
+
IamIdentityCenter.struct_class = Types::IamIdentityCenter
|
317
|
+
|
318
|
+
IamIdentityCenterForGet.add_member(:instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceArn"))
|
319
|
+
IamIdentityCenterForGet.add_member(:approval_portal_url, Shapes::ShapeRef.new(shape: String, location_name: "ApprovalPortalUrl"))
|
320
|
+
IamIdentityCenterForGet.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
321
|
+
IamIdentityCenterForGet.struct_class = Types::IamIdentityCenterForGet
|
322
|
+
|
323
|
+
IamIdentityCenterForList.add_member(:instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceArn"))
|
324
|
+
IamIdentityCenterForList.add_member(:approval_portal_url, Shapes::ShapeRef.new(shape: String, location_name: "ApprovalPortalUrl"))
|
325
|
+
IamIdentityCenterForList.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
326
|
+
IamIdentityCenterForList.struct_class = Types::IamIdentityCenterForList
|
327
|
+
|
328
|
+
IdentitySourceForList.add_member(:identity_source_type, Shapes::ShapeRef.new(shape: IdentitySourceType, location_name: "IdentitySourceType"))
|
329
|
+
IdentitySourceForList.add_member(:identity_source_parameters, Shapes::ShapeRef.new(shape: IdentitySourceParametersForList, location_name: "IdentitySourceParameters"))
|
330
|
+
IdentitySourceForList.add_member(:identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "IdentitySourceArn"))
|
331
|
+
IdentitySourceForList.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
332
|
+
IdentitySourceForList.add_member(:status, Shapes::ShapeRef.new(shape: IdentitySourceStatus, location_name: "Status"))
|
333
|
+
IdentitySourceForList.add_member(:status_code, Shapes::ShapeRef.new(shape: IdentitySourceStatusCode, location_name: "StatusCode"))
|
334
|
+
IdentitySourceForList.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
335
|
+
IdentitySourceForList.struct_class = Types::IdentitySourceForList
|
336
|
+
|
337
|
+
IdentitySourceParameters.add_member(:iam_identity_center, Shapes::ShapeRef.new(shape: IamIdentityCenter, location_name: "IamIdentityCenter"))
|
338
|
+
IdentitySourceParameters.struct_class = Types::IdentitySourceParameters
|
339
|
+
|
340
|
+
IdentitySourceParametersForGet.add_member(:iam_identity_center, Shapes::ShapeRef.new(shape: IamIdentityCenterForGet, location_name: "IamIdentityCenter"))
|
341
|
+
IdentitySourceParametersForGet.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
342
|
+
IdentitySourceParametersForGet.add_member_subclass(:iam_identity_center, Types::IdentitySourceParametersForGet::IamIdentityCenter)
|
343
|
+
IdentitySourceParametersForGet.add_member_subclass(:unknown, Types::IdentitySourceParametersForGet::Unknown)
|
344
|
+
IdentitySourceParametersForGet.struct_class = Types::IdentitySourceParametersForGet
|
345
|
+
|
346
|
+
IdentitySourceParametersForList.add_member(:iam_identity_center, Shapes::ShapeRef.new(shape: IamIdentityCenterForList, location_name: "IamIdentityCenter"))
|
347
|
+
IdentitySourceParametersForList.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
348
|
+
IdentitySourceParametersForList.add_member_subclass(:iam_identity_center, Types::IdentitySourceParametersForList::IamIdentityCenter)
|
349
|
+
IdentitySourceParametersForList.add_member_subclass(:unknown, Types::IdentitySourceParametersForList::Unknown)
|
350
|
+
IdentitySourceParametersForList.struct_class = Types::IdentitySourceParametersForList
|
351
|
+
|
352
|
+
IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceForList)
|
353
|
+
|
354
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
355
|
+
InternalServerException.struct_class = Types::InternalServerException
|
356
|
+
|
357
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
358
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
359
|
+
|
360
|
+
ListApprovalTeamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
361
|
+
ListApprovalTeamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
362
|
+
ListApprovalTeamsRequest.struct_class = Types::ListApprovalTeamsRequest
|
363
|
+
|
364
|
+
ListApprovalTeamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
365
|
+
ListApprovalTeamsResponse.add_member(:approval_teams, Shapes::ShapeRef.new(shape: ListApprovalTeamsResponseApprovalTeams, location_name: "ApprovalTeams"))
|
366
|
+
ListApprovalTeamsResponse.struct_class = Types::ListApprovalTeamsResponse
|
367
|
+
|
368
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CreationTime"))
|
369
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategyResponse, location_name: "ApprovalStrategy"))
|
370
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:number_of_approvers, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfApprovers"))
|
371
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, location_name: "Arn"))
|
372
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:name, Shapes::ShapeRef.new(shape: ApprovalTeamName, location_name: "Name"))
|
373
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
374
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:status, Shapes::ShapeRef.new(shape: ApprovalTeamStatus, location_name: "Status"))
|
375
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:status_code, Shapes::ShapeRef.new(shape: ApprovalTeamStatusCode, location_name: "StatusCode"))
|
376
|
+
ListApprovalTeamsResponseApprovalTeam.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
377
|
+
ListApprovalTeamsResponseApprovalTeam.struct_class = Types::ListApprovalTeamsResponseApprovalTeam
|
378
|
+
|
379
|
+
ListApprovalTeamsResponseApprovalTeams.member = Shapes::ShapeRef.new(shape: ListApprovalTeamsResponseApprovalTeam)
|
380
|
+
|
381
|
+
ListIdentitySourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
382
|
+
ListIdentitySourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
383
|
+
ListIdentitySourcesRequest.struct_class = Types::ListIdentitySourcesRequest
|
384
|
+
|
385
|
+
ListIdentitySourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
386
|
+
ListIdentitySourcesResponse.add_member(:identity_sources, Shapes::ShapeRef.new(shape: IdentitySources, location_name: "IdentitySources"))
|
387
|
+
ListIdentitySourcesResponse.struct_class = Types::ListIdentitySourcesResponse
|
388
|
+
|
389
|
+
ListPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
390
|
+
ListPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
391
|
+
ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
|
392
|
+
|
393
|
+
ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
394
|
+
ListPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "Policies"))
|
395
|
+
ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
|
396
|
+
|
397
|
+
ListPolicyVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
398
|
+
ListPolicyVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
399
|
+
ListPolicyVersionsRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: UnqualifiedPolicyArn, required: true, location: "uri", location_name: "PolicyArn"))
|
400
|
+
ListPolicyVersionsRequest.struct_class = Types::ListPolicyVersionsRequest
|
401
|
+
|
402
|
+
ListPolicyVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
403
|
+
ListPolicyVersionsResponse.add_member(:policy_versions, Shapes::ShapeRef.new(shape: PolicyVersions, location_name: "PolicyVersions"))
|
404
|
+
ListPolicyVersionsResponse.struct_class = Types::ListPolicyVersionsResponse
|
405
|
+
|
406
|
+
ListResourcePoliciesRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
407
|
+
ListResourcePoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
408
|
+
ListResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
409
|
+
ListResourcePoliciesRequest.struct_class = Types::ListResourcePoliciesRequest
|
410
|
+
|
411
|
+
ListResourcePoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
412
|
+
ListResourcePoliciesResponse.add_member(:resource_policies, Shapes::ShapeRef.new(shape: ListResourcePoliciesResponseResourcePolicies, location_name: "ResourcePolicies"))
|
413
|
+
ListResourcePoliciesResponse.struct_class = Types::ListResourcePoliciesResponse
|
414
|
+
|
415
|
+
ListResourcePoliciesResponseResourcePolicies.member = Shapes::ShapeRef.new(shape: ListResourcePoliciesResponseResourcePolicy)
|
416
|
+
|
417
|
+
ListResourcePoliciesResponseResourcePolicy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "PolicyArn"))
|
418
|
+
ListResourcePoliciesResponseResourcePolicy.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, location_name: "PolicyType"))
|
419
|
+
ListResourcePoliciesResponseResourcePolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, location_name: "PolicyName"))
|
420
|
+
ListResourcePoliciesResponseResourcePolicy.struct_class = Types::ListResourcePoliciesResponseResourcePolicy
|
421
|
+
|
422
|
+
ListSessionsRequest.add_member(:approval_team_arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "ApprovalTeamArn"))
|
423
|
+
ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
424
|
+
ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
425
|
+
ListSessionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
426
|
+
ListSessionsRequest.struct_class = Types::ListSessionsRequest
|
427
|
+
|
428
|
+
ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
429
|
+
ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: ListSessionsResponseSessions, location_name: "Sessions"))
|
430
|
+
ListSessionsResponse.struct_class = Types::ListSessionsResponse
|
431
|
+
|
432
|
+
ListSessionsResponseSession.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, location_name: "SessionArn"))
|
433
|
+
ListSessionsResponseSession.add_member(:approval_team_name, Shapes::ShapeRef.new(shape: ApprovalTeamName, location_name: "ApprovalTeamName"))
|
434
|
+
ListSessionsResponseSession.add_member(:approval_team_arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, location_name: "ApprovalTeamArn"))
|
435
|
+
ListSessionsResponseSession.add_member(:initiation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "InitiationTime"))
|
436
|
+
ListSessionsResponseSession.add_member(:expiration_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "ExpirationTime"))
|
437
|
+
ListSessionsResponseSession.add_member(:completion_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "CompletionTime"))
|
438
|
+
ListSessionsResponseSession.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
439
|
+
ListSessionsResponseSession.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, location_name: "ActionName"))
|
440
|
+
ListSessionsResponseSession.add_member(:protected_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ProtectedResourceArn"))
|
441
|
+
ListSessionsResponseSession.add_member(:requester_service_principal, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "RequesterServicePrincipal"))
|
442
|
+
ListSessionsResponseSession.add_member(:requester_principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "RequesterPrincipalArn"))
|
443
|
+
ListSessionsResponseSession.add_member(:requester_region, Shapes::ShapeRef.new(shape: Region, location_name: "RequesterRegion"))
|
444
|
+
ListSessionsResponseSession.add_member(:requester_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "RequesterAccountId"))
|
445
|
+
ListSessionsResponseSession.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
|
446
|
+
ListSessionsResponseSession.add_member(:status_code, Shapes::ShapeRef.new(shape: SessionStatusCode, location_name: "StatusCode"))
|
447
|
+
ListSessionsResponseSession.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
448
|
+
ListSessionsResponseSession.add_member(:action_completion_strategy, Shapes::ShapeRef.new(shape: ActionCompletionStrategy, location_name: "ActionCompletionStrategy"))
|
449
|
+
ListSessionsResponseSession.struct_class = Types::ListSessionsResponseSession
|
450
|
+
|
451
|
+
ListSessionsResponseSessions.member = Shapes::ShapeRef.new(shape: ListSessionsResponseSession)
|
452
|
+
|
453
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
454
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
455
|
+
|
456
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
457
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
458
|
+
|
459
|
+
MofNApprovalStrategy.add_member(:min_approvals_required, Shapes::ShapeRef.new(shape: MofNApprovalStrategyMinApprovalsRequiredInteger, required: true, location_name: "MinApprovalsRequired"))
|
460
|
+
MofNApprovalStrategy.struct_class = Types::MofNApprovalStrategy
|
461
|
+
|
462
|
+
PendingUpdate.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
463
|
+
PendingUpdate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
464
|
+
PendingUpdate.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategyResponse, location_name: "ApprovalStrategy"))
|
465
|
+
PendingUpdate.add_member(:number_of_approvers, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfApprovers"))
|
466
|
+
PendingUpdate.add_member(:status, Shapes::ShapeRef.new(shape: ApprovalTeamStatus, location_name: "Status"))
|
467
|
+
PendingUpdate.add_member(:status_code, Shapes::ShapeRef.new(shape: ApprovalTeamStatusCode, location_name: "StatusCode"))
|
468
|
+
PendingUpdate.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
469
|
+
PendingUpdate.add_member(:approvers, Shapes::ShapeRef.new(shape: GetApprovalTeamResponseApprovers, location_name: "Approvers"))
|
470
|
+
PendingUpdate.add_member(:update_initiation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "UpdateInitiationTime"))
|
471
|
+
PendingUpdate.struct_class = Types::PendingUpdate
|
472
|
+
|
473
|
+
Policies.member = Shapes::ShapeRef.new(shape: Policy)
|
474
|
+
|
475
|
+
PoliciesReferences.member = Shapes::ShapeRef.new(shape: PolicyReference)
|
476
|
+
|
477
|
+
Policy.add_member(:arn, Shapes::ShapeRef.new(shape: UnqualifiedPolicyArn, required: true, location_name: "Arn"))
|
478
|
+
Policy.add_member(:default_version, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location_name: "DefaultVersion"))
|
479
|
+
Policy.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
480
|
+
Policy.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "Name"))
|
481
|
+
Policy.struct_class = Types::Policy
|
482
|
+
|
483
|
+
PolicyReference.add_member(:policy_arn, Shapes::ShapeRef.new(shape: QualifiedPolicyArn, required: true, location_name: "PolicyArn"))
|
484
|
+
PolicyReference.struct_class = Types::PolicyReference
|
485
|
+
|
486
|
+
PolicyVersion.add_member(:arn, Shapes::ShapeRef.new(shape: QualifiedPolicyArn, required: true, location_name: "Arn"))
|
487
|
+
PolicyVersion.add_member(:policy_arn, Shapes::ShapeRef.new(shape: UnqualifiedPolicyArn, required: true, location_name: "PolicyArn"))
|
488
|
+
PolicyVersion.add_member(:version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location_name: "VersionId"))
|
489
|
+
PolicyVersion.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
490
|
+
PolicyVersion.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IsDefault"))
|
491
|
+
PolicyVersion.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "Name"))
|
492
|
+
PolicyVersion.add_member(:status, Shapes::ShapeRef.new(shape: PolicyStatus, required: true, location_name: "Status"))
|
493
|
+
PolicyVersion.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, required: true, location_name: "CreationTime"))
|
494
|
+
PolicyVersion.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: IsoTimestamp, required: true, location_name: "LastUpdatedTime"))
|
495
|
+
PolicyVersion.add_member(:document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Document"))
|
496
|
+
PolicyVersion.struct_class = Types::PolicyVersion
|
497
|
+
|
498
|
+
PolicyVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: QualifiedPolicyArn, required: true, location_name: "Arn"))
|
499
|
+
PolicyVersionSummary.add_member(:policy_arn, Shapes::ShapeRef.new(shape: UnqualifiedPolicyArn, required: true, location_name: "PolicyArn"))
|
500
|
+
PolicyVersionSummary.add_member(:version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location_name: "VersionId"))
|
501
|
+
PolicyVersionSummary.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
502
|
+
PolicyVersionSummary.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IsDefault"))
|
503
|
+
PolicyVersionSummary.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "Name"))
|
504
|
+
PolicyVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PolicyStatus, required: true, location_name: "Status"))
|
505
|
+
PolicyVersionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: IsoTimestamp, required: true, location_name: "CreationTime"))
|
506
|
+
PolicyVersionSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: IsoTimestamp, required: true, location_name: "LastUpdatedTime"))
|
507
|
+
PolicyVersionSummary.struct_class = Types::PolicyVersionSummary
|
508
|
+
|
509
|
+
PolicyVersions.member = Shapes::ShapeRef.new(shape: PolicyVersionSummary)
|
510
|
+
|
511
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
512
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
513
|
+
|
514
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
515
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
516
|
+
|
517
|
+
SessionMetadata.key = Shapes::ShapeRef.new(shape: SessionKey)
|
518
|
+
SessionMetadata.value = Shapes::ShapeRef.new(shape: SessionValue)
|
519
|
+
|
520
|
+
StartActiveApprovalTeamDeletionRequest.add_member(:pending_window_days, Shapes::ShapeRef.new(shape: Integer, location_name: "PendingWindowDays"))
|
521
|
+
StartActiveApprovalTeamDeletionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
|
522
|
+
StartActiveApprovalTeamDeletionRequest.struct_class = Types::StartActiveApprovalTeamDeletionRequest
|
523
|
+
|
524
|
+
StartActiveApprovalTeamDeletionResponse.add_member(:deletion_completion_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "DeletionCompletionTime"))
|
525
|
+
StartActiveApprovalTeamDeletionResponse.add_member(:deletion_start_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "DeletionStartTime"))
|
526
|
+
StartActiveApprovalTeamDeletionResponse.struct_class = Types::StartActiveApprovalTeamDeletionResponse
|
527
|
+
|
528
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
529
|
+
|
530
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
531
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
532
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
533
|
+
|
534
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
535
|
+
|
536
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
537
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
538
|
+
|
539
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
540
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
541
|
+
|
542
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
543
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
|
544
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
545
|
+
|
546
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
547
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
548
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
549
|
+
|
550
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
551
|
+
|
552
|
+
UpdateApprovalTeamRequest.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategy, location_name: "ApprovalStrategy"))
|
553
|
+
UpdateApprovalTeamRequest.add_member(:approvers, Shapes::ShapeRef.new(shape: ApprovalTeamRequestApprovers, location_name: "Approvers"))
|
554
|
+
UpdateApprovalTeamRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
555
|
+
UpdateApprovalTeamRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
|
556
|
+
UpdateApprovalTeamRequest.struct_class = Types::UpdateApprovalTeamRequest
|
557
|
+
|
558
|
+
UpdateApprovalTeamResponse.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
559
|
+
UpdateApprovalTeamResponse.struct_class = Types::UpdateApprovalTeamResponse
|
560
|
+
|
561
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
562
|
+
ValidationException.struct_class = Types::ValidationException
|
563
|
+
|
564
|
+
|
565
|
+
# @api private
|
566
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
567
|
+
|
568
|
+
api.version = "2022-07-26"
|
569
|
+
|
570
|
+
api.metadata = {
|
571
|
+
"apiVersion" => "2022-07-26",
|
572
|
+
"auth" => ["aws.auth#sigv4"],
|
573
|
+
"endpointPrefix" => "mpa",
|
574
|
+
"protocol" => "rest-json",
|
575
|
+
"protocols" => ["rest-json"],
|
576
|
+
"serviceFullName" => "AWS Multi-party Approval",
|
577
|
+
"serviceId" => "MPA",
|
578
|
+
"signatureVersion" => "v4",
|
579
|
+
"signingName" => "mpa",
|
580
|
+
"uid" => "mpa-2022-07-26",
|
581
|
+
}
|
582
|
+
|
583
|
+
api.add_operation(:cancel_session, Seahorse::Model::Operation.new.tap do |o|
|
584
|
+
o.name = "CancelSession"
|
585
|
+
o.http_method = "PUT"
|
586
|
+
o.http_request_uri = "/sessions/{SessionArn}"
|
587
|
+
o.input = Shapes::ShapeRef.new(shape: CancelSessionRequest)
|
588
|
+
o.output = Shapes::ShapeRef.new(shape: CancelSessionResponse)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
595
|
+
end)
|
596
|
+
|
597
|
+
api.add_operation(:create_approval_team, Seahorse::Model::Operation.new.tap do |o|
|
598
|
+
o.name = "CreateApprovalTeam"
|
599
|
+
o.http_method = "POST"
|
600
|
+
o.http_request_uri = "/approval-teams"
|
601
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApprovalTeamRequest)
|
602
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApprovalTeamResponse)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
609
|
+
end)
|
610
|
+
|
611
|
+
api.add_operation(:create_identity_source, Seahorse::Model::Operation.new.tap do |o|
|
612
|
+
o.name = "CreateIdentitySource"
|
613
|
+
o.http_method = "POST"
|
614
|
+
o.http_request_uri = "/identity-sources"
|
615
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIdentitySourceRequest)
|
616
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIdentitySourceResponse)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
622
|
+
end)
|
623
|
+
|
624
|
+
api.add_operation(:delete_identity_source, Seahorse::Model::Operation.new.tap do |o|
|
625
|
+
o.name = "DeleteIdentitySource"
|
626
|
+
o.http_method = "DELETE"
|
627
|
+
o.http_request_uri = "/identity-sources/{IdentitySourceArn}"
|
628
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIdentitySourceRequest)
|
629
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
635
|
+
end)
|
636
|
+
|
637
|
+
api.add_operation(:delete_inactive_approval_team_version, Seahorse::Model::Operation.new.tap do |o|
|
638
|
+
o.name = "DeleteInactiveApprovalTeamVersion"
|
639
|
+
o.http_method = "DELETE"
|
640
|
+
o.http_request_uri = "/approval-teams/{Arn}/{VersionId}"
|
641
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteInactiveApprovalTeamVersionRequest)
|
642
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteInactiveApprovalTeamVersionResponse)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
649
|
+
end)
|
650
|
+
|
651
|
+
api.add_operation(:get_approval_team, Seahorse::Model::Operation.new.tap do |o|
|
652
|
+
o.name = "GetApprovalTeam"
|
653
|
+
o.http_method = "GET"
|
654
|
+
o.http_request_uri = "/approval-teams/{Arn}"
|
655
|
+
o.input = Shapes::ShapeRef.new(shape: GetApprovalTeamRequest)
|
656
|
+
o.output = Shapes::ShapeRef.new(shape: GetApprovalTeamResponse)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
662
|
+
end)
|
663
|
+
|
664
|
+
api.add_operation(:get_identity_source, Seahorse::Model::Operation.new.tap do |o|
|
665
|
+
o.name = "GetIdentitySource"
|
666
|
+
o.http_method = "GET"
|
667
|
+
o.http_request_uri = "/identity-sources/{IdentitySourceArn}"
|
668
|
+
o.input = Shapes::ShapeRef.new(shape: GetIdentitySourceRequest)
|
669
|
+
o.output = Shapes::ShapeRef.new(shape: GetIdentitySourceResponse)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
675
|
+
end)
|
676
|
+
|
677
|
+
api.add_operation(:get_policy_version, Seahorse::Model::Operation.new.tap do |o|
|
678
|
+
o.name = "GetPolicyVersion"
|
679
|
+
o.http_method = "GET"
|
680
|
+
o.http_request_uri = "/policy-versions/{PolicyVersionArn}"
|
681
|
+
o.input = Shapes::ShapeRef.new(shape: GetPolicyVersionRequest)
|
682
|
+
o.output = Shapes::ShapeRef.new(shape: GetPolicyVersionResponse)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
688
|
+
end)
|
689
|
+
|
690
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
691
|
+
o.name = "GetResourcePolicy"
|
692
|
+
o.http_method = "POST"
|
693
|
+
o.http_request_uri = "/GetResourcePolicy"
|
694
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
|
695
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
701
|
+
end)
|
702
|
+
|
703
|
+
api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
|
704
|
+
o.name = "GetSession"
|
705
|
+
o.http_method = "GET"
|
706
|
+
o.http_request_uri = "/sessions/{SessionArn}"
|
707
|
+
o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
|
708
|
+
o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
714
|
+
end)
|
715
|
+
|
716
|
+
api.add_operation(:list_approval_teams, Seahorse::Model::Operation.new.tap do |o|
|
717
|
+
o.name = "ListApprovalTeams"
|
718
|
+
o.http_method = "POST"
|
719
|
+
o.http_request_uri = "/approval-teams/?List"
|
720
|
+
o.input = Shapes::ShapeRef.new(shape: ListApprovalTeamsRequest)
|
721
|
+
o.output = Shapes::ShapeRef.new(shape: ListApprovalTeamsResponse)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
726
|
+
o[:pager] = Aws::Pager.new(
|
727
|
+
limit_key: "max_results",
|
728
|
+
tokens: {
|
729
|
+
"next_token" => "next_token"
|
730
|
+
}
|
731
|
+
)
|
732
|
+
end)
|
733
|
+
|
734
|
+
api.add_operation(:list_identity_sources, Seahorse::Model::Operation.new.tap do |o|
|
735
|
+
o.name = "ListIdentitySources"
|
736
|
+
o.http_method = "POST"
|
737
|
+
o.http_request_uri = "/identity-sources/?List"
|
738
|
+
o.input = Shapes::ShapeRef.new(shape: ListIdentitySourcesRequest)
|
739
|
+
o.output = Shapes::ShapeRef.new(shape: ListIdentitySourcesResponse)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
744
|
+
o[:pager] = Aws::Pager.new(
|
745
|
+
limit_key: "max_results",
|
746
|
+
tokens: {
|
747
|
+
"next_token" => "next_token"
|
748
|
+
}
|
749
|
+
)
|
750
|
+
end)
|
751
|
+
|
752
|
+
api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
|
753
|
+
o.name = "ListPolicies"
|
754
|
+
o.http_method = "POST"
|
755
|
+
o.http_request_uri = "/policies/?List"
|
756
|
+
o.input = Shapes::ShapeRef.new(shape: ListPoliciesRequest)
|
757
|
+
o.output = Shapes::ShapeRef.new(shape: ListPoliciesResponse)
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
759
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
762
|
+
o[:pager] = Aws::Pager.new(
|
763
|
+
limit_key: "max_results",
|
764
|
+
tokens: {
|
765
|
+
"next_token" => "next_token"
|
766
|
+
}
|
767
|
+
)
|
768
|
+
end)
|
769
|
+
|
770
|
+
api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
|
771
|
+
o.name = "ListPolicyVersions"
|
772
|
+
o.http_method = "POST"
|
773
|
+
o.http_request_uri = "/policies/{PolicyArn}/?List"
|
774
|
+
o.input = Shapes::ShapeRef.new(shape: ListPolicyVersionsRequest)
|
775
|
+
o.output = Shapes::ShapeRef.new(shape: ListPolicyVersionsResponse)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
781
|
+
o[:pager] = Aws::Pager.new(
|
782
|
+
limit_key: "max_results",
|
783
|
+
tokens: {
|
784
|
+
"next_token" => "next_token"
|
785
|
+
}
|
786
|
+
)
|
787
|
+
end)
|
788
|
+
|
789
|
+
api.add_operation(:list_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
790
|
+
o.name = "ListResourcePolicies"
|
791
|
+
o.http_method = "POST"
|
792
|
+
o.http_request_uri = "/resource-policies/{ResourceArn}/?List"
|
793
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcePoliciesRequest)
|
794
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcePoliciesResponse)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
800
|
+
o[:pager] = Aws::Pager.new(
|
801
|
+
limit_key: "max_results",
|
802
|
+
tokens: {
|
803
|
+
"next_token" => "next_token"
|
804
|
+
}
|
805
|
+
)
|
806
|
+
end)
|
807
|
+
|
808
|
+
api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
|
809
|
+
o.name = "ListSessions"
|
810
|
+
o.http_method = "POST"
|
811
|
+
o.http_request_uri = "/approval-teams/{ApprovalTeamArn}/sessions/?List"
|
812
|
+
o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
|
813
|
+
o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
819
|
+
o[:pager] = Aws::Pager.new(
|
820
|
+
limit_key: "max_results",
|
821
|
+
tokens: {
|
822
|
+
"next_token" => "next_token"
|
823
|
+
}
|
824
|
+
)
|
825
|
+
end)
|
826
|
+
|
827
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
828
|
+
o.name = "ListTagsForResource"
|
829
|
+
o.http_method = "GET"
|
830
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
831
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
832
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
838
|
+
end)
|
839
|
+
|
840
|
+
api.add_operation(:start_active_approval_team_deletion, Seahorse::Model::Operation.new.tap do |o|
|
841
|
+
o.name = "StartActiveApprovalTeamDeletion"
|
842
|
+
o.http_method = "POST"
|
843
|
+
o.http_request_uri = "/approval-teams/{Arn}?Delete"
|
844
|
+
o.input = Shapes::ShapeRef.new(shape: StartActiveApprovalTeamDeletionRequest)
|
845
|
+
o.output = Shapes::ShapeRef.new(shape: StartActiveApprovalTeamDeletionResponse)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
852
|
+
end)
|
853
|
+
|
854
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
855
|
+
o.name = "TagResource"
|
856
|
+
o.http_method = "PUT"
|
857
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
858
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
859
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
866
|
+
end)
|
867
|
+
|
868
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
869
|
+
o.name = "UntagResource"
|
870
|
+
o.http_method = "POST"
|
871
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
872
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
873
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
879
|
+
end)
|
880
|
+
|
881
|
+
api.add_operation(:update_approval_team, Seahorse::Model::Operation.new.tap do |o|
|
882
|
+
o.name = "UpdateApprovalTeam"
|
883
|
+
o.http_method = "PATCH"
|
884
|
+
o.http_request_uri = "/approval-teams/{Arn}"
|
885
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateApprovalTeamRequest)
|
886
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateApprovalTeamResponse)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
888
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
894
|
+
end)
|
895
|
+
end
|
896
|
+
|
897
|
+
end
|
898
|
+
end
|