aws-sdk-organizations 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-organizations.rb +47 -0
- data/lib/aws-sdk-organizations/client.rb +2574 -0
- data/lib/aws-sdk-organizations/client_api.rb +1177 -0
- data/lib/aws-sdk-organizations/customizations.rb +0 -0
- data/lib/aws-sdk-organizations/errors.rb +14 -0
- data/lib/aws-sdk-organizations/resource.rb +23 -0
- data/lib/aws-sdk-organizations/types.rb +2743 -0
- metadata +80 -0
@@ -0,0 +1,1177 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Organizations
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AWSOrganizationsNotInUseException = Shapes::StructureShape.new(name: 'AWSOrganizationsNotInUseException')
|
15
|
+
AcceptHandshakeRequest = Shapes::StructureShape.new(name: 'AcceptHandshakeRequest')
|
16
|
+
AcceptHandshakeResponse = Shapes::StructureShape.new(name: 'AcceptHandshakeResponse')
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
Account = Shapes::StructureShape.new(name: 'Account')
|
19
|
+
AccountArn = Shapes::StringShape.new(name: 'AccountArn')
|
20
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
21
|
+
AccountJoinedMethod = Shapes::StringShape.new(name: 'AccountJoinedMethod')
|
22
|
+
AccountName = Shapes::StringShape.new(name: 'AccountName')
|
23
|
+
AccountNotFoundException = Shapes::StructureShape.new(name: 'AccountNotFoundException')
|
24
|
+
AccountStatus = Shapes::StringShape.new(name: 'AccountStatus')
|
25
|
+
Accounts = Shapes::ListShape.new(name: 'Accounts')
|
26
|
+
ActionType = Shapes::StringShape.new(name: 'ActionType')
|
27
|
+
AlreadyInOrganizationException = Shapes::StructureShape.new(name: 'AlreadyInOrganizationException')
|
28
|
+
AttachPolicyRequest = Shapes::StructureShape.new(name: 'AttachPolicyRequest')
|
29
|
+
AwsManagedPolicy = Shapes::BooleanShape.new(name: 'AwsManagedPolicy')
|
30
|
+
CancelHandshakeRequest = Shapes::StructureShape.new(name: 'CancelHandshakeRequest')
|
31
|
+
CancelHandshakeResponse = Shapes::StructureShape.new(name: 'CancelHandshakeResponse')
|
32
|
+
Child = Shapes::StructureShape.new(name: 'Child')
|
33
|
+
ChildId = Shapes::StringShape.new(name: 'ChildId')
|
34
|
+
ChildNotFoundException = Shapes::StructureShape.new(name: 'ChildNotFoundException')
|
35
|
+
ChildType = Shapes::StringShape.new(name: 'ChildType')
|
36
|
+
Children = Shapes::ListShape.new(name: 'Children')
|
37
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
38
|
+
ConstraintViolationException = Shapes::StructureShape.new(name: 'ConstraintViolationException')
|
39
|
+
ConstraintViolationExceptionReason = Shapes::StringShape.new(name: 'ConstraintViolationExceptionReason')
|
40
|
+
CreateAccountFailureReason = Shapes::StringShape.new(name: 'CreateAccountFailureReason')
|
41
|
+
CreateAccountRequest = Shapes::StructureShape.new(name: 'CreateAccountRequest')
|
42
|
+
CreateAccountRequestId = Shapes::StringShape.new(name: 'CreateAccountRequestId')
|
43
|
+
CreateAccountResponse = Shapes::StructureShape.new(name: 'CreateAccountResponse')
|
44
|
+
CreateAccountState = Shapes::StringShape.new(name: 'CreateAccountState')
|
45
|
+
CreateAccountStates = Shapes::ListShape.new(name: 'CreateAccountStates')
|
46
|
+
CreateAccountStatus = Shapes::StructureShape.new(name: 'CreateAccountStatus')
|
47
|
+
CreateAccountStatusNotFoundException = Shapes::StructureShape.new(name: 'CreateAccountStatusNotFoundException')
|
48
|
+
CreateAccountStatuses = Shapes::ListShape.new(name: 'CreateAccountStatuses')
|
49
|
+
CreateOrganizationRequest = Shapes::StructureShape.new(name: 'CreateOrganizationRequest')
|
50
|
+
CreateOrganizationResponse = Shapes::StructureShape.new(name: 'CreateOrganizationResponse')
|
51
|
+
CreateOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'CreateOrganizationalUnitRequest')
|
52
|
+
CreateOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'CreateOrganizationalUnitResponse')
|
53
|
+
CreatePolicyRequest = Shapes::StructureShape.new(name: 'CreatePolicyRequest')
|
54
|
+
CreatePolicyResponse = Shapes::StructureShape.new(name: 'CreatePolicyResponse')
|
55
|
+
DeclineHandshakeRequest = Shapes::StructureShape.new(name: 'DeclineHandshakeRequest')
|
56
|
+
DeclineHandshakeResponse = Shapes::StructureShape.new(name: 'DeclineHandshakeResponse')
|
57
|
+
DeleteOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationalUnitRequest')
|
58
|
+
DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
|
59
|
+
DescribeAccountRequest = Shapes::StructureShape.new(name: 'DescribeAccountRequest')
|
60
|
+
DescribeAccountResponse = Shapes::StructureShape.new(name: 'DescribeAccountResponse')
|
61
|
+
DescribeCreateAccountStatusRequest = Shapes::StructureShape.new(name: 'DescribeCreateAccountStatusRequest')
|
62
|
+
DescribeCreateAccountStatusResponse = Shapes::StructureShape.new(name: 'DescribeCreateAccountStatusResponse')
|
63
|
+
DescribeHandshakeRequest = Shapes::StructureShape.new(name: 'DescribeHandshakeRequest')
|
64
|
+
DescribeHandshakeResponse = Shapes::StructureShape.new(name: 'DescribeHandshakeResponse')
|
65
|
+
DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
|
66
|
+
DescribeOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationalUnitRequest')
|
67
|
+
DescribeOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationalUnitResponse')
|
68
|
+
DescribePolicyRequest = Shapes::StructureShape.new(name: 'DescribePolicyRequest')
|
69
|
+
DescribePolicyResponse = Shapes::StructureShape.new(name: 'DescribePolicyResponse')
|
70
|
+
DestinationParentNotFoundException = Shapes::StructureShape.new(name: 'DestinationParentNotFoundException')
|
71
|
+
DetachPolicyRequest = Shapes::StructureShape.new(name: 'DetachPolicyRequest')
|
72
|
+
DisablePolicyTypeRequest = Shapes::StructureShape.new(name: 'DisablePolicyTypeRequest')
|
73
|
+
DisablePolicyTypeResponse = Shapes::StructureShape.new(name: 'DisablePolicyTypeResponse')
|
74
|
+
DuplicateAccountException = Shapes::StructureShape.new(name: 'DuplicateAccountException')
|
75
|
+
DuplicateHandshakeException = Shapes::StructureShape.new(name: 'DuplicateHandshakeException')
|
76
|
+
DuplicateOrganizationalUnitException = Shapes::StructureShape.new(name: 'DuplicateOrganizationalUnitException')
|
77
|
+
DuplicatePolicyAttachmentException = Shapes::StructureShape.new(name: 'DuplicatePolicyAttachmentException')
|
78
|
+
DuplicatePolicyException = Shapes::StructureShape.new(name: 'DuplicatePolicyException')
|
79
|
+
Email = Shapes::StringShape.new(name: 'Email')
|
80
|
+
EnableAllFeaturesRequest = Shapes::StructureShape.new(name: 'EnableAllFeaturesRequest')
|
81
|
+
EnableAllFeaturesResponse = Shapes::StructureShape.new(name: 'EnableAllFeaturesResponse')
|
82
|
+
EnablePolicyTypeRequest = Shapes::StructureShape.new(name: 'EnablePolicyTypeRequest')
|
83
|
+
EnablePolicyTypeResponse = Shapes::StructureShape.new(name: 'EnablePolicyTypeResponse')
|
84
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
85
|
+
ExceptionType = Shapes::StringShape.new(name: 'ExceptionType')
|
86
|
+
FinalizingOrganizationException = Shapes::StructureShape.new(name: 'FinalizingOrganizationException')
|
87
|
+
GenericArn = Shapes::StringShape.new(name: 'GenericArn')
|
88
|
+
Handshake = Shapes::StructureShape.new(name: 'Handshake')
|
89
|
+
HandshakeAlreadyInStateException = Shapes::StructureShape.new(name: 'HandshakeAlreadyInStateException')
|
90
|
+
HandshakeArn = Shapes::StringShape.new(name: 'HandshakeArn')
|
91
|
+
HandshakeConstraintViolationException = Shapes::StructureShape.new(name: 'HandshakeConstraintViolationException')
|
92
|
+
HandshakeConstraintViolationExceptionReason = Shapes::StringShape.new(name: 'HandshakeConstraintViolationExceptionReason')
|
93
|
+
HandshakeFilter = Shapes::StructureShape.new(name: 'HandshakeFilter')
|
94
|
+
HandshakeId = Shapes::StringShape.new(name: 'HandshakeId')
|
95
|
+
HandshakeNotFoundException = Shapes::StructureShape.new(name: 'HandshakeNotFoundException')
|
96
|
+
HandshakeNotes = Shapes::StringShape.new(name: 'HandshakeNotes')
|
97
|
+
HandshakeParties = Shapes::ListShape.new(name: 'HandshakeParties')
|
98
|
+
HandshakeParty = Shapes::StructureShape.new(name: 'HandshakeParty')
|
99
|
+
HandshakePartyId = Shapes::StringShape.new(name: 'HandshakePartyId')
|
100
|
+
HandshakePartyType = Shapes::StringShape.new(name: 'HandshakePartyType')
|
101
|
+
HandshakeResource = Shapes::StructureShape.new(name: 'HandshakeResource')
|
102
|
+
HandshakeResourceType = Shapes::StringShape.new(name: 'HandshakeResourceType')
|
103
|
+
HandshakeResourceValue = Shapes::StringShape.new(name: 'HandshakeResourceValue')
|
104
|
+
HandshakeResources = Shapes::ListShape.new(name: 'HandshakeResources')
|
105
|
+
HandshakeState = Shapes::StringShape.new(name: 'HandshakeState')
|
106
|
+
Handshakes = Shapes::ListShape.new(name: 'Handshakes')
|
107
|
+
IAMUserAccessToBilling = Shapes::StringShape.new(name: 'IAMUserAccessToBilling')
|
108
|
+
InvalidHandshakeTransitionException = Shapes::StructureShape.new(name: 'InvalidHandshakeTransitionException')
|
109
|
+
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
110
|
+
InvalidInputExceptionReason = Shapes::StringShape.new(name: 'InvalidInputExceptionReason')
|
111
|
+
InviteAccountToOrganizationRequest = Shapes::StructureShape.new(name: 'InviteAccountToOrganizationRequest')
|
112
|
+
InviteAccountToOrganizationResponse = Shapes::StructureShape.new(name: 'InviteAccountToOrganizationResponse')
|
113
|
+
ListAccountsForParentRequest = Shapes::StructureShape.new(name: 'ListAccountsForParentRequest')
|
114
|
+
ListAccountsForParentResponse = Shapes::StructureShape.new(name: 'ListAccountsForParentResponse')
|
115
|
+
ListAccountsRequest = Shapes::StructureShape.new(name: 'ListAccountsRequest')
|
116
|
+
ListAccountsResponse = Shapes::StructureShape.new(name: 'ListAccountsResponse')
|
117
|
+
ListChildrenRequest = Shapes::StructureShape.new(name: 'ListChildrenRequest')
|
118
|
+
ListChildrenResponse = Shapes::StructureShape.new(name: 'ListChildrenResponse')
|
119
|
+
ListCreateAccountStatusRequest = Shapes::StructureShape.new(name: 'ListCreateAccountStatusRequest')
|
120
|
+
ListCreateAccountStatusResponse = Shapes::StructureShape.new(name: 'ListCreateAccountStatusResponse')
|
121
|
+
ListHandshakesForAccountRequest = Shapes::StructureShape.new(name: 'ListHandshakesForAccountRequest')
|
122
|
+
ListHandshakesForAccountResponse = Shapes::StructureShape.new(name: 'ListHandshakesForAccountResponse')
|
123
|
+
ListHandshakesForOrganizationRequest = Shapes::StructureShape.new(name: 'ListHandshakesForOrganizationRequest')
|
124
|
+
ListHandshakesForOrganizationResponse = Shapes::StructureShape.new(name: 'ListHandshakesForOrganizationResponse')
|
125
|
+
ListOrganizationalUnitsForParentRequest = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsForParentRequest')
|
126
|
+
ListOrganizationalUnitsForParentResponse = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsForParentResponse')
|
127
|
+
ListParentsRequest = Shapes::StructureShape.new(name: 'ListParentsRequest')
|
128
|
+
ListParentsResponse = Shapes::StructureShape.new(name: 'ListParentsResponse')
|
129
|
+
ListPoliciesForTargetRequest = Shapes::StructureShape.new(name: 'ListPoliciesForTargetRequest')
|
130
|
+
ListPoliciesForTargetResponse = Shapes::StructureShape.new(name: 'ListPoliciesForTargetResponse')
|
131
|
+
ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
|
132
|
+
ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
|
133
|
+
ListRootsRequest = Shapes::StructureShape.new(name: 'ListRootsRequest')
|
134
|
+
ListRootsResponse = Shapes::StructureShape.new(name: 'ListRootsResponse')
|
135
|
+
ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
|
136
|
+
ListTargetsForPolicyResponse = Shapes::StructureShape.new(name: 'ListTargetsForPolicyResponse')
|
137
|
+
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
138
|
+
MasterCannotLeaveOrganizationException = Shapes::StructureShape.new(name: 'MasterCannotLeaveOrganizationException')
|
139
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
140
|
+
MoveAccountRequest = Shapes::StructureShape.new(name: 'MoveAccountRequest')
|
141
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
142
|
+
Organization = Shapes::StructureShape.new(name: 'Organization')
|
143
|
+
OrganizationArn = Shapes::StringShape.new(name: 'OrganizationArn')
|
144
|
+
OrganizationFeatureSet = Shapes::StringShape.new(name: 'OrganizationFeatureSet')
|
145
|
+
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
146
|
+
OrganizationNotEmptyException = Shapes::StructureShape.new(name: 'OrganizationNotEmptyException')
|
147
|
+
OrganizationalUnit = Shapes::StructureShape.new(name: 'OrganizationalUnit')
|
148
|
+
OrganizationalUnitArn = Shapes::StringShape.new(name: 'OrganizationalUnitArn')
|
149
|
+
OrganizationalUnitId = Shapes::StringShape.new(name: 'OrganizationalUnitId')
|
150
|
+
OrganizationalUnitName = Shapes::StringShape.new(name: 'OrganizationalUnitName')
|
151
|
+
OrganizationalUnitNotEmptyException = Shapes::StructureShape.new(name: 'OrganizationalUnitNotEmptyException')
|
152
|
+
OrganizationalUnitNotFoundException = Shapes::StructureShape.new(name: 'OrganizationalUnitNotFoundException')
|
153
|
+
OrganizationalUnits = Shapes::ListShape.new(name: 'OrganizationalUnits')
|
154
|
+
Parent = Shapes::StructureShape.new(name: 'Parent')
|
155
|
+
ParentId = Shapes::StringShape.new(name: 'ParentId')
|
156
|
+
ParentNotFoundException = Shapes::StructureShape.new(name: 'ParentNotFoundException')
|
157
|
+
ParentType = Shapes::StringShape.new(name: 'ParentType')
|
158
|
+
Parents = Shapes::ListShape.new(name: 'Parents')
|
159
|
+
Policies = Shapes::ListShape.new(name: 'Policies')
|
160
|
+
Policy = Shapes::StructureShape.new(name: 'Policy')
|
161
|
+
PolicyArn = Shapes::StringShape.new(name: 'PolicyArn')
|
162
|
+
PolicyContent = Shapes::StringShape.new(name: 'PolicyContent')
|
163
|
+
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
164
|
+
PolicyId = Shapes::StringShape.new(name: 'PolicyId')
|
165
|
+
PolicyInUseException = Shapes::StructureShape.new(name: 'PolicyInUseException')
|
166
|
+
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
167
|
+
PolicyNotAttachedException = Shapes::StructureShape.new(name: 'PolicyNotAttachedException')
|
168
|
+
PolicyNotFoundException = Shapes::StructureShape.new(name: 'PolicyNotFoundException')
|
169
|
+
PolicySummary = Shapes::StructureShape.new(name: 'PolicySummary')
|
170
|
+
PolicyTargetId = Shapes::StringShape.new(name: 'PolicyTargetId')
|
171
|
+
PolicyTargetSummary = Shapes::StructureShape.new(name: 'PolicyTargetSummary')
|
172
|
+
PolicyTargets = Shapes::ListShape.new(name: 'PolicyTargets')
|
173
|
+
PolicyType = Shapes::StringShape.new(name: 'PolicyType')
|
174
|
+
PolicyTypeAlreadyEnabledException = Shapes::StructureShape.new(name: 'PolicyTypeAlreadyEnabledException')
|
175
|
+
PolicyTypeNotAvailableForOrganizationException = Shapes::StructureShape.new(name: 'PolicyTypeNotAvailableForOrganizationException')
|
176
|
+
PolicyTypeNotEnabledException = Shapes::StructureShape.new(name: 'PolicyTypeNotEnabledException')
|
177
|
+
PolicyTypeStatus = Shapes::StringShape.new(name: 'PolicyTypeStatus')
|
178
|
+
PolicyTypeSummary = Shapes::StructureShape.new(name: 'PolicyTypeSummary')
|
179
|
+
PolicyTypes = Shapes::ListShape.new(name: 'PolicyTypes')
|
180
|
+
RemoveAccountFromOrganizationRequest = Shapes::StructureShape.new(name: 'RemoveAccountFromOrganizationRequest')
|
181
|
+
RoleName = Shapes::StringShape.new(name: 'RoleName')
|
182
|
+
Root = Shapes::StructureShape.new(name: 'Root')
|
183
|
+
RootArn = Shapes::StringShape.new(name: 'RootArn')
|
184
|
+
RootId = Shapes::StringShape.new(name: 'RootId')
|
185
|
+
RootName = Shapes::StringShape.new(name: 'RootName')
|
186
|
+
RootNotFoundException = Shapes::StructureShape.new(name: 'RootNotFoundException')
|
187
|
+
Roots = Shapes::ListShape.new(name: 'Roots')
|
188
|
+
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
189
|
+
SourceParentNotFoundException = Shapes::StructureShape.new(name: 'SourceParentNotFoundException')
|
190
|
+
TargetName = Shapes::StringShape.new(name: 'TargetName')
|
191
|
+
TargetNotFoundException = Shapes::StructureShape.new(name: 'TargetNotFoundException')
|
192
|
+
TargetType = Shapes::StringShape.new(name: 'TargetType')
|
193
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
194
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
195
|
+
UpdateOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationalUnitRequest')
|
196
|
+
UpdateOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationalUnitResponse')
|
197
|
+
UpdatePolicyRequest = Shapes::StructureShape.new(name: 'UpdatePolicyRequest')
|
198
|
+
UpdatePolicyResponse = Shapes::StructureShape.new(name: 'UpdatePolicyResponse')
|
199
|
+
|
200
|
+
AcceptHandshakeRequest.add_member(:handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, required: true, location_name: "HandshakeId"))
|
201
|
+
AcceptHandshakeRequest.struct_class = Types::AcceptHandshakeRequest
|
202
|
+
|
203
|
+
AcceptHandshakeResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
204
|
+
AcceptHandshakeResponse.struct_class = Types::AcceptHandshakeResponse
|
205
|
+
|
206
|
+
Account.add_member(:id, Shapes::ShapeRef.new(shape: AccountId, location_name: "Id"))
|
207
|
+
Account.add_member(:arn, Shapes::ShapeRef.new(shape: AccountArn, location_name: "Arn"))
|
208
|
+
Account.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
|
209
|
+
Account.add_member(:status, Shapes::ShapeRef.new(shape: AccountStatus, location_name: "Status"))
|
210
|
+
Account.add_member(:joined_method, Shapes::ShapeRef.new(shape: AccountJoinedMethod, location_name: "JoinedMethod"))
|
211
|
+
Account.add_member(:joined_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "JoinedTimestamp"))
|
212
|
+
Account.struct_class = Types::Account
|
213
|
+
|
214
|
+
Accounts.member = Shapes::ShapeRef.new(shape: Account)
|
215
|
+
|
216
|
+
AttachPolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
217
|
+
AttachPolicyRequest.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, required: true, location_name: "TargetId"))
|
218
|
+
AttachPolicyRequest.struct_class = Types::AttachPolicyRequest
|
219
|
+
|
220
|
+
CancelHandshakeRequest.add_member(:handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, required: true, location_name: "HandshakeId"))
|
221
|
+
CancelHandshakeRequest.struct_class = Types::CancelHandshakeRequest
|
222
|
+
|
223
|
+
CancelHandshakeResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
224
|
+
CancelHandshakeResponse.struct_class = Types::CancelHandshakeResponse
|
225
|
+
|
226
|
+
Child.add_member(:id, Shapes::ShapeRef.new(shape: ChildId, location_name: "Id"))
|
227
|
+
Child.add_member(:type, Shapes::ShapeRef.new(shape: ChildType, location_name: "Type"))
|
228
|
+
Child.struct_class = Types::Child
|
229
|
+
|
230
|
+
Children.member = Shapes::ShapeRef.new(shape: Child)
|
231
|
+
|
232
|
+
CreateAccountRequest.add_member(:email, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "Email"))
|
233
|
+
CreateAccountRequest.add_member(:account_name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "AccountName"))
|
234
|
+
CreateAccountRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "RoleName"))
|
235
|
+
CreateAccountRequest.add_member(:iam_user_access_to_billing, Shapes::ShapeRef.new(shape: IAMUserAccessToBilling, location_name: "IamUserAccessToBilling"))
|
236
|
+
CreateAccountRequest.struct_class = Types::CreateAccountRequest
|
237
|
+
|
238
|
+
CreateAccountResponse.add_member(:create_account_status, Shapes::ShapeRef.new(shape: CreateAccountStatus, location_name: "CreateAccountStatus"))
|
239
|
+
CreateAccountResponse.struct_class = Types::CreateAccountResponse
|
240
|
+
|
241
|
+
CreateAccountStates.member = Shapes::ShapeRef.new(shape: CreateAccountState)
|
242
|
+
|
243
|
+
CreateAccountStatus.add_member(:id, Shapes::ShapeRef.new(shape: CreateAccountRequestId, location_name: "Id"))
|
244
|
+
CreateAccountStatus.add_member(:account_name, Shapes::ShapeRef.new(shape: AccountName, location_name: "AccountName"))
|
245
|
+
CreateAccountStatus.add_member(:state, Shapes::ShapeRef.new(shape: CreateAccountState, location_name: "State"))
|
246
|
+
CreateAccountStatus.add_member(:requested_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RequestedTimestamp"))
|
247
|
+
CreateAccountStatus.add_member(:completed_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletedTimestamp"))
|
248
|
+
CreateAccountStatus.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
249
|
+
CreateAccountStatus.add_member(:failure_reason, Shapes::ShapeRef.new(shape: CreateAccountFailureReason, location_name: "FailureReason"))
|
250
|
+
CreateAccountStatus.struct_class = Types::CreateAccountStatus
|
251
|
+
|
252
|
+
CreateAccountStatuses.member = Shapes::ShapeRef.new(shape: CreateAccountStatus)
|
253
|
+
|
254
|
+
CreateOrganizationRequest.add_member(:feature_set, Shapes::ShapeRef.new(shape: OrganizationFeatureSet, location_name: "FeatureSet"))
|
255
|
+
CreateOrganizationRequest.struct_class = Types::CreateOrganizationRequest
|
256
|
+
|
257
|
+
CreateOrganizationResponse.add_member(:organization, Shapes::ShapeRef.new(shape: Organization, location_name: "Organization"))
|
258
|
+
CreateOrganizationResponse.struct_class = Types::CreateOrganizationResponse
|
259
|
+
|
260
|
+
CreateOrganizationalUnitRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
|
261
|
+
CreateOrganizationalUnitRequest.add_member(:name, Shapes::ShapeRef.new(shape: OrganizationalUnitName, required: true, location_name: "Name"))
|
262
|
+
CreateOrganizationalUnitRequest.struct_class = Types::CreateOrganizationalUnitRequest
|
263
|
+
|
264
|
+
CreateOrganizationalUnitResponse.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: OrganizationalUnit, location_name: "OrganizationalUnit"))
|
265
|
+
CreateOrganizationalUnitResponse.struct_class = Types::CreateOrganizationalUnitResponse
|
266
|
+
|
267
|
+
CreatePolicyRequest.add_member(:content, Shapes::ShapeRef.new(shape: PolicyContent, required: true, location_name: "Content"))
|
268
|
+
CreatePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, required: true, location_name: "Description"))
|
269
|
+
CreatePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "Name"))
|
270
|
+
CreatePolicyRequest.add_member(:type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "Type"))
|
271
|
+
CreatePolicyRequest.struct_class = Types::CreatePolicyRequest
|
272
|
+
|
273
|
+
CreatePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
274
|
+
CreatePolicyResponse.struct_class = Types::CreatePolicyResponse
|
275
|
+
|
276
|
+
DeclineHandshakeRequest.add_member(:handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, required: true, location_name: "HandshakeId"))
|
277
|
+
DeclineHandshakeRequest.struct_class = Types::DeclineHandshakeRequest
|
278
|
+
|
279
|
+
DeclineHandshakeResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
280
|
+
DeclineHandshakeResponse.struct_class = Types::DeclineHandshakeResponse
|
281
|
+
|
282
|
+
DeleteOrganizationalUnitRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location_name: "OrganizationalUnitId"))
|
283
|
+
DeleteOrganizationalUnitRequest.struct_class = Types::DeleteOrganizationalUnitRequest
|
284
|
+
|
285
|
+
DeletePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
286
|
+
DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
|
287
|
+
|
288
|
+
DescribeAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
289
|
+
DescribeAccountRequest.struct_class = Types::DescribeAccountRequest
|
290
|
+
|
291
|
+
DescribeAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
292
|
+
DescribeAccountResponse.struct_class = Types::DescribeAccountResponse
|
293
|
+
|
294
|
+
DescribeCreateAccountStatusRequest.add_member(:create_account_request_id, Shapes::ShapeRef.new(shape: CreateAccountRequestId, required: true, location_name: "CreateAccountRequestId"))
|
295
|
+
DescribeCreateAccountStatusRequest.struct_class = Types::DescribeCreateAccountStatusRequest
|
296
|
+
|
297
|
+
DescribeCreateAccountStatusResponse.add_member(:create_account_status, Shapes::ShapeRef.new(shape: CreateAccountStatus, location_name: "CreateAccountStatus"))
|
298
|
+
DescribeCreateAccountStatusResponse.struct_class = Types::DescribeCreateAccountStatusResponse
|
299
|
+
|
300
|
+
DescribeHandshakeRequest.add_member(:handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, required: true, location_name: "HandshakeId"))
|
301
|
+
DescribeHandshakeRequest.struct_class = Types::DescribeHandshakeRequest
|
302
|
+
|
303
|
+
DescribeHandshakeResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
304
|
+
DescribeHandshakeResponse.struct_class = Types::DescribeHandshakeResponse
|
305
|
+
|
306
|
+
DescribeOrganizationResponse.add_member(:organization, Shapes::ShapeRef.new(shape: Organization, location_name: "Organization"))
|
307
|
+
DescribeOrganizationResponse.struct_class = Types::DescribeOrganizationResponse
|
308
|
+
|
309
|
+
DescribeOrganizationalUnitRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location_name: "OrganizationalUnitId"))
|
310
|
+
DescribeOrganizationalUnitRequest.struct_class = Types::DescribeOrganizationalUnitRequest
|
311
|
+
|
312
|
+
DescribeOrganizationalUnitResponse.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: OrganizationalUnit, location_name: "OrganizationalUnit"))
|
313
|
+
DescribeOrganizationalUnitResponse.struct_class = Types::DescribeOrganizationalUnitResponse
|
314
|
+
|
315
|
+
DescribePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
316
|
+
DescribePolicyRequest.struct_class = Types::DescribePolicyRequest
|
317
|
+
|
318
|
+
DescribePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
319
|
+
DescribePolicyResponse.struct_class = Types::DescribePolicyResponse
|
320
|
+
|
321
|
+
DetachPolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
322
|
+
DetachPolicyRequest.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, required: true, location_name: "TargetId"))
|
323
|
+
DetachPolicyRequest.struct_class = Types::DetachPolicyRequest
|
324
|
+
|
325
|
+
DisablePolicyTypeRequest.add_member(:root_id, Shapes::ShapeRef.new(shape: RootId, required: true, location_name: "RootId"))
|
326
|
+
DisablePolicyTypeRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
327
|
+
DisablePolicyTypeRequest.struct_class = Types::DisablePolicyTypeRequest
|
328
|
+
|
329
|
+
DisablePolicyTypeResponse.add_member(:root, Shapes::ShapeRef.new(shape: Root, location_name: "Root"))
|
330
|
+
DisablePolicyTypeResponse.struct_class = Types::DisablePolicyTypeResponse
|
331
|
+
|
332
|
+
EnableAllFeaturesRequest.struct_class = Types::EnableAllFeaturesRequest
|
333
|
+
|
334
|
+
EnableAllFeaturesResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
335
|
+
EnableAllFeaturesResponse.struct_class = Types::EnableAllFeaturesResponse
|
336
|
+
|
337
|
+
EnablePolicyTypeRequest.add_member(:root_id, Shapes::ShapeRef.new(shape: RootId, required: true, location_name: "RootId"))
|
338
|
+
EnablePolicyTypeRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "PolicyType"))
|
339
|
+
EnablePolicyTypeRequest.struct_class = Types::EnablePolicyTypeRequest
|
340
|
+
|
341
|
+
EnablePolicyTypeResponse.add_member(:root, Shapes::ShapeRef.new(shape: Root, location_name: "Root"))
|
342
|
+
EnablePolicyTypeResponse.struct_class = Types::EnablePolicyTypeResponse
|
343
|
+
|
344
|
+
Handshake.add_member(:id, Shapes::ShapeRef.new(shape: HandshakeId, location_name: "Id"))
|
345
|
+
Handshake.add_member(:arn, Shapes::ShapeRef.new(shape: HandshakeArn, location_name: "Arn"))
|
346
|
+
Handshake.add_member(:parties, Shapes::ShapeRef.new(shape: HandshakeParties, location_name: "Parties"))
|
347
|
+
Handshake.add_member(:state, Shapes::ShapeRef.new(shape: HandshakeState, location_name: "State"))
|
348
|
+
Handshake.add_member(:requested_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RequestedTimestamp"))
|
349
|
+
Handshake.add_member(:expiration_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTimestamp"))
|
350
|
+
Handshake.add_member(:action, Shapes::ShapeRef.new(shape: ActionType, location_name: "Action"))
|
351
|
+
Handshake.add_member(:resources, Shapes::ShapeRef.new(shape: HandshakeResources, location_name: "Resources"))
|
352
|
+
Handshake.struct_class = Types::Handshake
|
353
|
+
|
354
|
+
HandshakeFilter.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, location_name: "ActionType"))
|
355
|
+
HandshakeFilter.add_member(:parent_handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, location_name: "ParentHandshakeId"))
|
356
|
+
HandshakeFilter.struct_class = Types::HandshakeFilter
|
357
|
+
|
358
|
+
HandshakeParties.member = Shapes::ShapeRef.new(shape: HandshakeParty)
|
359
|
+
|
360
|
+
HandshakeParty.add_member(:id, Shapes::ShapeRef.new(shape: HandshakePartyId, location_name: "Id"))
|
361
|
+
HandshakeParty.add_member(:type, Shapes::ShapeRef.new(shape: HandshakePartyType, location_name: "Type"))
|
362
|
+
HandshakeParty.struct_class = Types::HandshakeParty
|
363
|
+
|
364
|
+
HandshakeResource.add_member(:value, Shapes::ShapeRef.new(shape: HandshakeResourceValue, location_name: "Value"))
|
365
|
+
HandshakeResource.add_member(:type, Shapes::ShapeRef.new(shape: HandshakeResourceType, location_name: "Type"))
|
366
|
+
HandshakeResource.add_member(:resources, Shapes::ShapeRef.new(shape: HandshakeResources, location_name: "Resources"))
|
367
|
+
HandshakeResource.struct_class = Types::HandshakeResource
|
368
|
+
|
369
|
+
HandshakeResources.member = Shapes::ShapeRef.new(shape: HandshakeResource)
|
370
|
+
|
371
|
+
Handshakes.member = Shapes::ShapeRef.new(shape: Handshake)
|
372
|
+
|
373
|
+
InviteAccountToOrganizationRequest.add_member(:target, Shapes::ShapeRef.new(shape: HandshakeParty, required: true, location_name: "Target"))
|
374
|
+
InviteAccountToOrganizationRequest.add_member(:notes, Shapes::ShapeRef.new(shape: HandshakeNotes, location_name: "Notes"))
|
375
|
+
InviteAccountToOrganizationRequest.struct_class = Types::InviteAccountToOrganizationRequest
|
376
|
+
|
377
|
+
InviteAccountToOrganizationResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
|
378
|
+
InviteAccountToOrganizationResponse.struct_class = Types::InviteAccountToOrganizationResponse
|
379
|
+
|
380
|
+
ListAccountsForParentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
|
381
|
+
ListAccountsForParentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
382
|
+
ListAccountsForParentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
383
|
+
ListAccountsForParentRequest.struct_class = Types::ListAccountsForParentRequest
|
384
|
+
|
385
|
+
ListAccountsForParentResponse.add_member(:accounts, Shapes::ShapeRef.new(shape: Accounts, location_name: "Accounts"))
|
386
|
+
ListAccountsForParentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
387
|
+
ListAccountsForParentResponse.struct_class = Types::ListAccountsForParentResponse
|
388
|
+
|
389
|
+
ListAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
390
|
+
ListAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
391
|
+
ListAccountsRequest.struct_class = Types::ListAccountsRequest
|
392
|
+
|
393
|
+
ListAccountsResponse.add_member(:accounts, Shapes::ShapeRef.new(shape: Accounts, location_name: "Accounts"))
|
394
|
+
ListAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
395
|
+
ListAccountsResponse.struct_class = Types::ListAccountsResponse
|
396
|
+
|
397
|
+
ListChildrenRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
|
398
|
+
ListChildrenRequest.add_member(:child_type, Shapes::ShapeRef.new(shape: ChildType, required: true, location_name: "ChildType"))
|
399
|
+
ListChildrenRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
400
|
+
ListChildrenRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
401
|
+
ListChildrenRequest.struct_class = Types::ListChildrenRequest
|
402
|
+
|
403
|
+
ListChildrenResponse.add_member(:children, Shapes::ShapeRef.new(shape: Children, location_name: "Children"))
|
404
|
+
ListChildrenResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
405
|
+
ListChildrenResponse.struct_class = Types::ListChildrenResponse
|
406
|
+
|
407
|
+
ListCreateAccountStatusRequest.add_member(:states, Shapes::ShapeRef.new(shape: CreateAccountStates, location_name: "States"))
|
408
|
+
ListCreateAccountStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
409
|
+
ListCreateAccountStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
410
|
+
ListCreateAccountStatusRequest.struct_class = Types::ListCreateAccountStatusRequest
|
411
|
+
|
412
|
+
ListCreateAccountStatusResponse.add_member(:create_account_statuses, Shapes::ShapeRef.new(shape: CreateAccountStatuses, location_name: "CreateAccountStatuses"))
|
413
|
+
ListCreateAccountStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
414
|
+
ListCreateAccountStatusResponse.struct_class = Types::ListCreateAccountStatusResponse
|
415
|
+
|
416
|
+
ListHandshakesForAccountRequest.add_member(:filter, Shapes::ShapeRef.new(shape: HandshakeFilter, location_name: "Filter"))
|
417
|
+
ListHandshakesForAccountRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
418
|
+
ListHandshakesForAccountRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
419
|
+
ListHandshakesForAccountRequest.struct_class = Types::ListHandshakesForAccountRequest
|
420
|
+
|
421
|
+
ListHandshakesForAccountResponse.add_member(:handshakes, Shapes::ShapeRef.new(shape: Handshakes, location_name: "Handshakes"))
|
422
|
+
ListHandshakesForAccountResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
423
|
+
ListHandshakesForAccountResponse.struct_class = Types::ListHandshakesForAccountResponse
|
424
|
+
|
425
|
+
ListHandshakesForOrganizationRequest.add_member(:filter, Shapes::ShapeRef.new(shape: HandshakeFilter, location_name: "Filter"))
|
426
|
+
ListHandshakesForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
427
|
+
ListHandshakesForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
428
|
+
ListHandshakesForOrganizationRequest.struct_class = Types::ListHandshakesForOrganizationRequest
|
429
|
+
|
430
|
+
ListHandshakesForOrganizationResponse.add_member(:handshakes, Shapes::ShapeRef.new(shape: Handshakes, location_name: "Handshakes"))
|
431
|
+
ListHandshakesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
432
|
+
ListHandshakesForOrganizationResponse.struct_class = Types::ListHandshakesForOrganizationResponse
|
433
|
+
|
434
|
+
ListOrganizationalUnitsForParentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
|
435
|
+
ListOrganizationalUnitsForParentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
436
|
+
ListOrganizationalUnitsForParentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
437
|
+
ListOrganizationalUnitsForParentRequest.struct_class = Types::ListOrganizationalUnitsForParentRequest
|
438
|
+
|
439
|
+
ListOrganizationalUnitsForParentResponse.add_member(:organizational_units, Shapes::ShapeRef.new(shape: OrganizationalUnits, location_name: "OrganizationalUnits"))
|
440
|
+
ListOrganizationalUnitsForParentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
441
|
+
ListOrganizationalUnitsForParentResponse.struct_class = Types::ListOrganizationalUnitsForParentResponse
|
442
|
+
|
443
|
+
ListParentsRequest.add_member(:child_id, Shapes::ShapeRef.new(shape: ChildId, required: true, location_name: "ChildId"))
|
444
|
+
ListParentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
445
|
+
ListParentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
446
|
+
ListParentsRequest.struct_class = Types::ListParentsRequest
|
447
|
+
|
448
|
+
ListParentsResponse.add_member(:parents, Shapes::ShapeRef.new(shape: Parents, location_name: "Parents"))
|
449
|
+
ListParentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
450
|
+
ListParentsResponse.struct_class = Types::ListParentsResponse
|
451
|
+
|
452
|
+
ListPoliciesForTargetRequest.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, required: true, location_name: "TargetId"))
|
453
|
+
ListPoliciesForTargetRequest.add_member(:filter, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "Filter"))
|
454
|
+
ListPoliciesForTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
455
|
+
ListPoliciesForTargetRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
456
|
+
ListPoliciesForTargetRequest.struct_class = Types::ListPoliciesForTargetRequest
|
457
|
+
|
458
|
+
ListPoliciesForTargetResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "Policies"))
|
459
|
+
ListPoliciesForTargetResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
460
|
+
ListPoliciesForTargetResponse.struct_class = Types::ListPoliciesForTargetResponse
|
461
|
+
|
462
|
+
ListPoliciesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "Filter"))
|
463
|
+
ListPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
464
|
+
ListPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
465
|
+
ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
|
466
|
+
|
467
|
+
ListPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "Policies"))
|
468
|
+
ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
469
|
+
ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
|
470
|
+
|
471
|
+
ListRootsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
472
|
+
ListRootsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
473
|
+
ListRootsRequest.struct_class = Types::ListRootsRequest
|
474
|
+
|
475
|
+
ListRootsResponse.add_member(:roots, Shapes::ShapeRef.new(shape: Roots, location_name: "Roots"))
|
476
|
+
ListRootsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
477
|
+
ListRootsResponse.struct_class = Types::ListRootsResponse
|
478
|
+
|
479
|
+
ListTargetsForPolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
480
|
+
ListTargetsForPolicyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
481
|
+
ListTargetsForPolicyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
482
|
+
ListTargetsForPolicyRequest.struct_class = Types::ListTargetsForPolicyRequest
|
483
|
+
|
484
|
+
ListTargetsForPolicyResponse.add_member(:targets, Shapes::ShapeRef.new(shape: PolicyTargets, location_name: "Targets"))
|
485
|
+
ListTargetsForPolicyResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
486
|
+
ListTargetsForPolicyResponse.struct_class = Types::ListTargetsForPolicyResponse
|
487
|
+
|
488
|
+
MoveAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
489
|
+
MoveAccountRequest.add_member(:source_parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "SourceParentId"))
|
490
|
+
MoveAccountRequest.add_member(:destination_parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "DestinationParentId"))
|
491
|
+
MoveAccountRequest.struct_class = Types::MoveAccountRequest
|
492
|
+
|
493
|
+
Organization.add_member(:id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "Id"))
|
494
|
+
Organization.add_member(:arn, Shapes::ShapeRef.new(shape: OrganizationArn, location_name: "Arn"))
|
495
|
+
Organization.add_member(:feature_set, Shapes::ShapeRef.new(shape: OrganizationFeatureSet, location_name: "FeatureSet"))
|
496
|
+
Organization.add_member(:master_account_arn, Shapes::ShapeRef.new(shape: AccountArn, location_name: "MasterAccountArn"))
|
497
|
+
Organization.add_member(:master_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "MasterAccountId"))
|
498
|
+
Organization.add_member(:master_account_email, Shapes::ShapeRef.new(shape: Email, location_name: "MasterAccountEmail"))
|
499
|
+
Organization.add_member(:available_policy_types, Shapes::ShapeRef.new(shape: PolicyTypes, location_name: "AvailablePolicyTypes"))
|
500
|
+
Organization.struct_class = Types::Organization
|
501
|
+
|
502
|
+
OrganizationalUnit.add_member(:id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "Id"))
|
503
|
+
OrganizationalUnit.add_member(:arn, Shapes::ShapeRef.new(shape: OrganizationalUnitArn, location_name: "Arn"))
|
504
|
+
OrganizationalUnit.add_member(:name, Shapes::ShapeRef.new(shape: OrganizationalUnitName, location_name: "Name"))
|
505
|
+
OrganizationalUnit.struct_class = Types::OrganizationalUnit
|
506
|
+
|
507
|
+
OrganizationalUnits.member = Shapes::ShapeRef.new(shape: OrganizationalUnit)
|
508
|
+
|
509
|
+
Parent.add_member(:id, Shapes::ShapeRef.new(shape: ParentId, location_name: "Id"))
|
510
|
+
Parent.add_member(:type, Shapes::ShapeRef.new(shape: ParentType, location_name: "Type"))
|
511
|
+
Parent.struct_class = Types::Parent
|
512
|
+
|
513
|
+
Parents.member = Shapes::ShapeRef.new(shape: Parent)
|
514
|
+
|
515
|
+
Policies.member = Shapes::ShapeRef.new(shape: PolicySummary)
|
516
|
+
|
517
|
+
Policy.add_member(:policy_summary, Shapes::ShapeRef.new(shape: PolicySummary, location_name: "PolicySummary"))
|
518
|
+
Policy.add_member(:content, Shapes::ShapeRef.new(shape: PolicyContent, location_name: "Content"))
|
519
|
+
Policy.struct_class = Types::Policy
|
520
|
+
|
521
|
+
PolicySummary.add_member(:id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "Id"))
|
522
|
+
PolicySummary.add_member(:arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "Arn"))
|
523
|
+
PolicySummary.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "Name"))
|
524
|
+
PolicySummary.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
|
525
|
+
PolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Type"))
|
526
|
+
PolicySummary.add_member(:aws_managed, Shapes::ShapeRef.new(shape: AwsManagedPolicy, location_name: "AwsManaged"))
|
527
|
+
PolicySummary.struct_class = Types::PolicySummary
|
528
|
+
|
529
|
+
PolicyTargetSummary.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, location_name: "TargetId"))
|
530
|
+
PolicyTargetSummary.add_member(:arn, Shapes::ShapeRef.new(shape: GenericArn, location_name: "Arn"))
|
531
|
+
PolicyTargetSummary.add_member(:name, Shapes::ShapeRef.new(shape: TargetName, location_name: "Name"))
|
532
|
+
PolicyTargetSummary.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, location_name: "Type"))
|
533
|
+
PolicyTargetSummary.struct_class = Types::PolicyTargetSummary
|
534
|
+
|
535
|
+
PolicyTargets.member = Shapes::ShapeRef.new(shape: PolicyTargetSummary)
|
536
|
+
|
537
|
+
PolicyTypeSummary.add_member(:type, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Type"))
|
538
|
+
PolicyTypeSummary.add_member(:status, Shapes::ShapeRef.new(shape: PolicyTypeStatus, location_name: "Status"))
|
539
|
+
PolicyTypeSummary.struct_class = Types::PolicyTypeSummary
|
540
|
+
|
541
|
+
PolicyTypes.member = Shapes::ShapeRef.new(shape: PolicyTypeSummary)
|
542
|
+
|
543
|
+
RemoveAccountFromOrganizationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
544
|
+
RemoveAccountFromOrganizationRequest.struct_class = Types::RemoveAccountFromOrganizationRequest
|
545
|
+
|
546
|
+
Root.add_member(:id, Shapes::ShapeRef.new(shape: RootId, location_name: "Id"))
|
547
|
+
Root.add_member(:arn, Shapes::ShapeRef.new(shape: RootArn, location_name: "Arn"))
|
548
|
+
Root.add_member(:name, Shapes::ShapeRef.new(shape: RootName, location_name: "Name"))
|
549
|
+
Root.add_member(:policy_types, Shapes::ShapeRef.new(shape: PolicyTypes, location_name: "PolicyTypes"))
|
550
|
+
Root.struct_class = Types::Root
|
551
|
+
|
552
|
+
Roots.member = Shapes::ShapeRef.new(shape: Root)
|
553
|
+
|
554
|
+
UpdateOrganizationalUnitRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location_name: "OrganizationalUnitId"))
|
555
|
+
UpdateOrganizationalUnitRequest.add_member(:name, Shapes::ShapeRef.new(shape: OrganizationalUnitName, location_name: "Name"))
|
556
|
+
UpdateOrganizationalUnitRequest.struct_class = Types::UpdateOrganizationalUnitRequest
|
557
|
+
|
558
|
+
UpdateOrganizationalUnitResponse.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: OrganizationalUnit, location_name: "OrganizationalUnit"))
|
559
|
+
UpdateOrganizationalUnitResponse.struct_class = Types::UpdateOrganizationalUnitResponse
|
560
|
+
|
561
|
+
UpdatePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
562
|
+
UpdatePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "Name"))
|
563
|
+
UpdatePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
|
564
|
+
UpdatePolicyRequest.add_member(:content, Shapes::ShapeRef.new(shape: PolicyContent, location_name: "Content"))
|
565
|
+
UpdatePolicyRequest.struct_class = Types::UpdatePolicyRequest
|
566
|
+
|
567
|
+
UpdatePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
568
|
+
UpdatePolicyResponse.struct_class = Types::UpdatePolicyResponse
|
569
|
+
|
570
|
+
|
571
|
+
# @api private
|
572
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
573
|
+
|
574
|
+
api.version = "2016-11-28"
|
575
|
+
|
576
|
+
api.metadata = {
|
577
|
+
"endpointPrefix" => "organizations",
|
578
|
+
"jsonVersion" => "1.1",
|
579
|
+
"protocol" => "json",
|
580
|
+
"serviceFullName" => "AWS Organizations",
|
581
|
+
"signatureVersion" => "v4",
|
582
|
+
"targetPrefix" => "AWSOrganizationsV20161128",
|
583
|
+
"timestampFormat" => "unixTimestamp",
|
584
|
+
}
|
585
|
+
|
586
|
+
api.add_operation(:accept_handshake, Seahorse::Model::Operation.new.tap do |o|
|
587
|
+
o.name = "AcceptHandshake"
|
588
|
+
o.http_method = "POST"
|
589
|
+
o.http_request_uri = "/"
|
590
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptHandshakeRequest)
|
591
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptHandshakeResponse)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeConstraintViolationException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeNotFoundException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHandshakeTransitionException)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeAlreadyInStateException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
602
|
+
end)
|
603
|
+
|
604
|
+
api.add_operation(:attach_policy, Seahorse::Model::Operation.new.tap do |o|
|
605
|
+
o.name = "AttachPolicy"
|
606
|
+
o.http_method = "POST"
|
607
|
+
o.http_request_uri = "/"
|
608
|
+
o.input = Shapes::ShapeRef.new(shape: AttachPolicyRequest)
|
609
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicatePolicyAttachmentException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotEnabledException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
621
|
+
end)
|
622
|
+
|
623
|
+
api.add_operation(:cancel_handshake, Seahorse::Model::Operation.new.tap do |o|
|
624
|
+
o.name = "CancelHandshake"
|
625
|
+
o.http_method = "POST"
|
626
|
+
o.http_request_uri = "/"
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: CancelHandshakeRequest)
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: CancelHandshakeResponse)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeNotFoundException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHandshakeTransitionException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeAlreadyInStateException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
636
|
+
end)
|
637
|
+
|
638
|
+
api.add_operation(:create_account, Seahorse::Model::Operation.new.tap do |o|
|
639
|
+
o.name = "CreateAccount"
|
640
|
+
o.http_method = "POST"
|
641
|
+
o.http_request_uri = "/"
|
642
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAccountRequest)
|
643
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAccountResponse)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: FinalizingOrganizationException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
651
|
+
end)
|
652
|
+
|
653
|
+
api.add_operation(:create_organization, Seahorse::Model::Operation.new.tap do |o|
|
654
|
+
o.name = "CreateOrganization"
|
655
|
+
o.http_method = "POST"
|
656
|
+
o.http_request_uri = "/"
|
657
|
+
o.input = Shapes::ShapeRef.new(shape: CreateOrganizationRequest)
|
658
|
+
o.output = Shapes::ShapeRef.new(shape: CreateOrganizationResponse)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyInOrganizationException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
666
|
+
end)
|
667
|
+
|
668
|
+
api.add_operation(:create_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
|
669
|
+
o.name = "CreateOrganizationalUnit"
|
670
|
+
o.http_method = "POST"
|
671
|
+
o.http_request_uri = "/"
|
672
|
+
o.input = Shapes::ShapeRef.new(shape: CreateOrganizationalUnitRequest)
|
673
|
+
o.output = Shapes::ShapeRef.new(shape: CreateOrganizationalUnitResponse)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateOrganizationalUnitException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
682
|
+
end)
|
683
|
+
|
684
|
+
api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
|
685
|
+
o.name = "CreatePolicy"
|
686
|
+
o.http_method = "POST"
|
687
|
+
o.http_request_uri = "/"
|
688
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePolicyRequest)
|
689
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePolicyResponse)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicatePolicyException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotAvailableForOrganizationException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
700
|
+
end)
|
701
|
+
|
702
|
+
api.add_operation(:decline_handshake, Seahorse::Model::Operation.new.tap do |o|
|
703
|
+
o.name = "DeclineHandshake"
|
704
|
+
o.http_method = "POST"
|
705
|
+
o.http_request_uri = "/"
|
706
|
+
o.input = Shapes::ShapeRef.new(shape: DeclineHandshakeRequest)
|
707
|
+
o.output = Shapes::ShapeRef.new(shape: DeclineHandshakeResponse)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeNotFoundException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidHandshakeTransitionException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeAlreadyInStateException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
715
|
+
end)
|
716
|
+
|
717
|
+
api.add_operation(:delete_organization, Seahorse::Model::Operation.new.tap do |o|
|
718
|
+
o.name = "DeleteOrganization"
|
719
|
+
o.http_method = "POST"
|
720
|
+
o.http_request_uri = "/"
|
721
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
722
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotEmptyException)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
730
|
+
end)
|
731
|
+
|
732
|
+
api.add_operation(:delete_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
|
733
|
+
o.name = "DeleteOrganizationalUnit"
|
734
|
+
o.http_method = "POST"
|
735
|
+
o.http_request_uri = "/"
|
736
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteOrganizationalUnitRequest)
|
737
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotEmptyException)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotFoundException)
|
744
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
746
|
+
end)
|
747
|
+
|
748
|
+
api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
|
749
|
+
o.name = "DeletePolicy"
|
750
|
+
o.http_method = "POST"
|
751
|
+
o.http_request_uri = "/"
|
752
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
|
753
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyInUseException)
|
759
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
762
|
+
end)
|
763
|
+
|
764
|
+
api.add_operation(:describe_account, Seahorse::Model::Operation.new.tap do |o|
|
765
|
+
o.name = "DescribeAccount"
|
766
|
+
o.http_method = "POST"
|
767
|
+
o.http_request_uri = "/"
|
768
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAccountRequest)
|
769
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAccountResponse)
|
770
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
776
|
+
end)
|
777
|
+
|
778
|
+
api.add_operation(:describe_create_account_status, Seahorse::Model::Operation.new.tap do |o|
|
779
|
+
o.name = "DescribeCreateAccountStatus"
|
780
|
+
o.http_method = "POST"
|
781
|
+
o.http_request_uri = "/"
|
782
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCreateAccountStatusRequest)
|
783
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCreateAccountStatusResponse)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateAccountStatusNotFoundException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
790
|
+
end)
|
791
|
+
|
792
|
+
api.add_operation(:describe_handshake, Seahorse::Model::Operation.new.tap do |o|
|
793
|
+
o.name = "DescribeHandshake"
|
794
|
+
o.http_method = "POST"
|
795
|
+
o.http_request_uri = "/"
|
796
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeHandshakeRequest)
|
797
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeHandshakeResponse)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeNotFoundException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
803
|
+
end)
|
804
|
+
|
805
|
+
api.add_operation(:describe_organization, Seahorse::Model::Operation.new.tap do |o|
|
806
|
+
o.name = "DescribeOrganization"
|
807
|
+
o.http_method = "POST"
|
808
|
+
o.http_request_uri = "/"
|
809
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
810
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationResponse)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
815
|
+
end)
|
816
|
+
|
817
|
+
api.add_operation(:describe_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
|
818
|
+
o.name = "DescribeOrganizationalUnit"
|
819
|
+
o.http_method = "POST"
|
820
|
+
o.http_request_uri = "/"
|
821
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationalUnitRequest)
|
822
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationalUnitResponse)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotFoundException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
829
|
+
end)
|
830
|
+
|
831
|
+
api.add_operation(:describe_policy, Seahorse::Model::Operation.new.tap do |o|
|
832
|
+
o.name = "DescribePolicy"
|
833
|
+
o.http_method = "POST"
|
834
|
+
o.http_request_uri = "/"
|
835
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePolicyRequest)
|
836
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePolicyResponse)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
843
|
+
end)
|
844
|
+
|
845
|
+
api.add_operation(:detach_policy, Seahorse::Model::Operation.new.tap do |o|
|
846
|
+
o.name = "DetachPolicy"
|
847
|
+
o.http_method = "POST"
|
848
|
+
o.http_request_uri = "/"
|
849
|
+
o.input = Shapes::ShapeRef.new(shape: DetachPolicyRequest)
|
850
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotAttachedException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
861
|
+
end)
|
862
|
+
|
863
|
+
api.add_operation(:disable_policy_type, Seahorse::Model::Operation.new.tap do |o|
|
864
|
+
o.name = "DisablePolicyType"
|
865
|
+
o.http_method = "POST"
|
866
|
+
o.http_request_uri = "/"
|
867
|
+
o.input = Shapes::ShapeRef.new(shape: DisablePolicyTypeRequest)
|
868
|
+
o.output = Shapes::ShapeRef.new(shape: DisablePolicyTypeResponse)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotEnabledException)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: RootNotFoundException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
878
|
+
end)
|
879
|
+
|
880
|
+
api.add_operation(:enable_all_features, Seahorse::Model::Operation.new.tap do |o|
|
881
|
+
o.name = "EnableAllFeatures"
|
882
|
+
o.http_method = "POST"
|
883
|
+
o.http_request_uri = "/"
|
884
|
+
o.input = Shapes::ShapeRef.new(shape: EnableAllFeaturesRequest)
|
885
|
+
o.output = Shapes::ShapeRef.new(shape: EnableAllFeaturesResponse)
|
886
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
888
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeConstraintViolationException)
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
892
|
+
end)
|
893
|
+
|
894
|
+
api.add_operation(:enable_policy_type, Seahorse::Model::Operation.new.tap do |o|
|
895
|
+
o.name = "EnablePolicyType"
|
896
|
+
o.http_method = "POST"
|
897
|
+
o.http_request_uri = "/"
|
898
|
+
o.input = Shapes::ShapeRef.new(shape: EnablePolicyTypeRequest)
|
899
|
+
o.output = Shapes::ShapeRef.new(shape: EnablePolicyTypeResponse)
|
900
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
903
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
904
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyTypeAlreadyEnabledException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: RootNotFoundException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
909
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotAvailableForOrganizationException)
|
910
|
+
end)
|
911
|
+
|
912
|
+
api.add_operation(:invite_account_to_organization, Seahorse::Model::Operation.new.tap do |o|
|
913
|
+
o.name = "InviteAccountToOrganization"
|
914
|
+
o.http_method = "POST"
|
915
|
+
o.http_request_uri = "/"
|
916
|
+
o.input = Shapes::ShapeRef.new(shape: InviteAccountToOrganizationRequest)
|
917
|
+
o.output = Shapes::ShapeRef.new(shape: InviteAccountToOrganizationResponse)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: HandshakeConstraintViolationException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateHandshakeException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
923
|
+
o.errors << Shapes::ShapeRef.new(shape: FinalizingOrganizationException)
|
924
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
925
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
926
|
+
end)
|
927
|
+
|
928
|
+
api.add_operation(:leave_organization, Seahorse::Model::Operation.new.tap do |o|
|
929
|
+
o.name = "LeaveOrganization"
|
930
|
+
o.http_method = "POST"
|
931
|
+
o.http_request_uri = "/"
|
932
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
933
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
937
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
938
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
939
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
940
|
+
o.errors << Shapes::ShapeRef.new(shape: MasterCannotLeaveOrganizationException)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
943
|
+
end)
|
944
|
+
|
945
|
+
api.add_operation(:list_accounts, Seahorse::Model::Operation.new.tap do |o|
|
946
|
+
o.name = "ListAccounts"
|
947
|
+
o.http_method = "POST"
|
948
|
+
o.http_request_uri = "/"
|
949
|
+
o.input = Shapes::ShapeRef.new(shape: ListAccountsRequest)
|
950
|
+
o.output = Shapes::ShapeRef.new(shape: ListAccountsResponse)
|
951
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
952
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
953
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
956
|
+
end)
|
957
|
+
|
958
|
+
api.add_operation(:list_accounts_for_parent, Seahorse::Model::Operation.new.tap do |o|
|
959
|
+
o.name = "ListAccountsForParent"
|
960
|
+
o.http_method = "POST"
|
961
|
+
o.http_request_uri = "/"
|
962
|
+
o.input = Shapes::ShapeRef.new(shape: ListAccountsForParentRequest)
|
963
|
+
o.output = Shapes::ShapeRef.new(shape: ListAccountsForParentResponse)
|
964
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
966
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
970
|
+
end)
|
971
|
+
|
972
|
+
api.add_operation(:list_children, Seahorse::Model::Operation.new.tap do |o|
|
973
|
+
o.name = "ListChildren"
|
974
|
+
o.http_method = "POST"
|
975
|
+
o.http_request_uri = "/"
|
976
|
+
o.input = Shapes::ShapeRef.new(shape: ListChildrenRequest)
|
977
|
+
o.output = Shapes::ShapeRef.new(shape: ListChildrenResponse)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
983
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
984
|
+
end)
|
985
|
+
|
986
|
+
api.add_operation(:list_create_account_status, Seahorse::Model::Operation.new.tap do |o|
|
987
|
+
o.name = "ListCreateAccountStatus"
|
988
|
+
o.http_method = "POST"
|
989
|
+
o.http_request_uri = "/"
|
990
|
+
o.input = Shapes::ShapeRef.new(shape: ListCreateAccountStatusRequest)
|
991
|
+
o.output = Shapes::ShapeRef.new(shape: ListCreateAccountStatusResponse)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
997
|
+
end)
|
998
|
+
|
999
|
+
api.add_operation(:list_handshakes_for_account, Seahorse::Model::Operation.new.tap do |o|
|
1000
|
+
o.name = "ListHandshakesForAccount"
|
1001
|
+
o.http_method = "POST"
|
1002
|
+
o.http_request_uri = "/"
|
1003
|
+
o.input = Shapes::ShapeRef.new(shape: ListHandshakesForAccountRequest)
|
1004
|
+
o.output = Shapes::ShapeRef.new(shape: ListHandshakesForAccountResponse)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1009
|
+
end)
|
1010
|
+
|
1011
|
+
api.add_operation(:list_handshakes_for_organization, Seahorse::Model::Operation.new.tap do |o|
|
1012
|
+
o.name = "ListHandshakesForOrganization"
|
1013
|
+
o.http_method = "POST"
|
1014
|
+
o.http_request_uri = "/"
|
1015
|
+
o.input = Shapes::ShapeRef.new(shape: ListHandshakesForOrganizationRequest)
|
1016
|
+
o.output = Shapes::ShapeRef.new(shape: ListHandshakesForOrganizationResponse)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1022
|
+
end)
|
1023
|
+
|
1024
|
+
api.add_operation(:list_organizational_units_for_parent, Seahorse::Model::Operation.new.tap do |o|
|
1025
|
+
o.name = "ListOrganizationalUnitsForParent"
|
1026
|
+
o.http_method = "POST"
|
1027
|
+
o.http_request_uri = "/"
|
1028
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationalUnitsForParentRequest)
|
1029
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationalUnitsForParentResponse)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1036
|
+
end)
|
1037
|
+
|
1038
|
+
api.add_operation(:list_parents, Seahorse::Model::Operation.new.tap do |o|
|
1039
|
+
o.name = "ListParents"
|
1040
|
+
o.http_method = "POST"
|
1041
|
+
o.http_request_uri = "/"
|
1042
|
+
o.input = Shapes::ShapeRef.new(shape: ListParentsRequest)
|
1043
|
+
o.output = Shapes::ShapeRef.new(shape: ListParentsResponse)
|
1044
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1045
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1046
|
+
o.errors << Shapes::ShapeRef.new(shape: ChildNotFoundException)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1050
|
+
end)
|
1051
|
+
|
1052
|
+
api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
|
1053
|
+
o.name = "ListPolicies"
|
1054
|
+
o.http_method = "POST"
|
1055
|
+
o.http_request_uri = "/"
|
1056
|
+
o.input = Shapes::ShapeRef.new(shape: ListPoliciesRequest)
|
1057
|
+
o.output = Shapes::ShapeRef.new(shape: ListPoliciesResponse)
|
1058
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1059
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1060
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1061
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1062
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1063
|
+
end)
|
1064
|
+
|
1065
|
+
api.add_operation(:list_policies_for_target, Seahorse::Model::Operation.new.tap do |o|
|
1066
|
+
o.name = "ListPoliciesForTarget"
|
1067
|
+
o.http_method = "POST"
|
1068
|
+
o.http_request_uri = "/"
|
1069
|
+
o.input = Shapes::ShapeRef.new(shape: ListPoliciesForTargetRequest)
|
1070
|
+
o.output = Shapes::ShapeRef.new(shape: ListPoliciesForTargetResponse)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1074
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1075
|
+
o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1077
|
+
end)
|
1078
|
+
|
1079
|
+
api.add_operation(:list_roots, Seahorse::Model::Operation.new.tap do |o|
|
1080
|
+
o.name = "ListRoots"
|
1081
|
+
o.http_method = "POST"
|
1082
|
+
o.http_request_uri = "/"
|
1083
|
+
o.input = Shapes::ShapeRef.new(shape: ListRootsRequest)
|
1084
|
+
o.output = Shapes::ShapeRef.new(shape: ListRootsResponse)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1086
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1087
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1089
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1090
|
+
end)
|
1091
|
+
|
1092
|
+
api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
|
1093
|
+
o.name = "ListTargetsForPolicy"
|
1094
|
+
o.http_method = "POST"
|
1095
|
+
o.http_request_uri = "/"
|
1096
|
+
o.input = Shapes::ShapeRef.new(shape: ListTargetsForPolicyRequest)
|
1097
|
+
o.output = Shapes::ShapeRef.new(shape: ListTargetsForPolicyResponse)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1103
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1104
|
+
end)
|
1105
|
+
|
1106
|
+
api.add_operation(:move_account, Seahorse::Model::Operation.new.tap do |o|
|
1107
|
+
o.name = "MoveAccount"
|
1108
|
+
o.http_method = "POST"
|
1109
|
+
o.http_request_uri = "/"
|
1110
|
+
o.input = Shapes::ShapeRef.new(shape: MoveAccountRequest)
|
1111
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1113
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1114
|
+
o.errors << Shapes::ShapeRef.new(shape: SourceParentNotFoundException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: DestinationParentNotFoundException)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateAccountException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
1118
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1119
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1121
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1122
|
+
end)
|
1123
|
+
|
1124
|
+
api.add_operation(:remove_account_from_organization, Seahorse::Model::Operation.new.tap do |o|
|
1125
|
+
o.name = "RemoveAccountFromOrganization"
|
1126
|
+
o.http_method = "POST"
|
1127
|
+
o.http_request_uri = "/"
|
1128
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveAccountFromOrganizationRequest)
|
1129
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1133
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1134
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1136
|
+
o.errors << Shapes::ShapeRef.new(shape: MasterCannotLeaveOrganizationException)
|
1137
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1138
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1139
|
+
end)
|
1140
|
+
|
1141
|
+
api.add_operation(:update_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
|
1142
|
+
o.name = "UpdateOrganizationalUnit"
|
1143
|
+
o.http_method = "POST"
|
1144
|
+
o.http_request_uri = "/"
|
1145
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateOrganizationalUnitRequest)
|
1146
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateOrganizationalUnitResponse)
|
1147
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1148
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1149
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1150
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateOrganizationalUnitException)
|
1151
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1152
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotFoundException)
|
1153
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1154
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1155
|
+
end)
|
1156
|
+
|
1157
|
+
api.add_operation(:update_policy, Seahorse::Model::Operation.new.tap do |o|
|
1158
|
+
o.name = "UpdatePolicy"
|
1159
|
+
o.http_method = "POST"
|
1160
|
+
o.http_request_uri = "/"
|
1161
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePolicyRequest)
|
1162
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePolicyResponse)
|
1163
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1164
|
+
o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
|
1165
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1166
|
+
o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
|
1167
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicatePolicyException)
|
1168
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1169
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
1170
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1173
|
+
end)
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
end
|
1177
|
+
end
|