aws-sdk-ram 1.0.0
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-ram.rb +47 -0
- data/lib/aws-sdk-ram/client.rb +1041 -0
- data/lib/aws-sdk-ram/client_api.rb +639 -0
- data/lib/aws-sdk-ram/customizations.rb +0 -0
- data/lib/aws-sdk-ram/errors.rb +14 -0
- data/lib/aws-sdk-ram/resource.rb +23 -0
- data/lib/aws-sdk-ram/types.rb +1143 -0
- metadata +88 -0
@@ -0,0 +1,639 @@
|
|
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::RAM
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AcceptResourceShareInvitationRequest = Shapes::StructureShape.new(name: 'AcceptResourceShareInvitationRequest')
|
15
|
+
AcceptResourceShareInvitationResponse = Shapes::StructureShape.new(name: 'AcceptResourceShareInvitationResponse')
|
16
|
+
AssociateResourceShareRequest = Shapes::StructureShape.new(name: 'AssociateResourceShareRequest')
|
17
|
+
AssociateResourceShareResponse = Shapes::StructureShape.new(name: 'AssociateResourceShareResponse')
|
18
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
|
+
CreateResourceShareRequest = Shapes::StructureShape.new(name: 'CreateResourceShareRequest')
|
20
|
+
CreateResourceShareResponse = Shapes::StructureShape.new(name: 'CreateResourceShareResponse')
|
21
|
+
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
22
|
+
DeleteResourceShareRequest = Shapes::StructureShape.new(name: 'DeleteResourceShareRequest')
|
23
|
+
DeleteResourceShareResponse = Shapes::StructureShape.new(name: 'DeleteResourceShareResponse')
|
24
|
+
DisassociateResourceShareRequest = Shapes::StructureShape.new(name: 'DisassociateResourceShareRequest')
|
25
|
+
DisassociateResourceShareResponse = Shapes::StructureShape.new(name: 'DisassociateResourceShareResponse')
|
26
|
+
EnableSharingWithAwsOrganizationRequest = Shapes::StructureShape.new(name: 'EnableSharingWithAwsOrganizationRequest')
|
27
|
+
EnableSharingWithAwsOrganizationResponse = Shapes::StructureShape.new(name: 'EnableSharingWithAwsOrganizationResponse')
|
28
|
+
GetResourcePoliciesRequest = Shapes::StructureShape.new(name: 'GetResourcePoliciesRequest')
|
29
|
+
GetResourcePoliciesResponse = Shapes::StructureShape.new(name: 'GetResourcePoliciesResponse')
|
30
|
+
GetResourceShareAssociationsRequest = Shapes::StructureShape.new(name: 'GetResourceShareAssociationsRequest')
|
31
|
+
GetResourceShareAssociationsResponse = Shapes::StructureShape.new(name: 'GetResourceShareAssociationsResponse')
|
32
|
+
GetResourceShareInvitationsRequest = Shapes::StructureShape.new(name: 'GetResourceShareInvitationsRequest')
|
33
|
+
GetResourceShareInvitationsResponse = Shapes::StructureShape.new(name: 'GetResourceShareInvitationsResponse')
|
34
|
+
GetResourceSharesRequest = Shapes::StructureShape.new(name: 'GetResourceSharesRequest')
|
35
|
+
GetResourceSharesResponse = Shapes::StructureShape.new(name: 'GetResourceSharesResponse')
|
36
|
+
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
37
|
+
InvalidClientTokenException = Shapes::StructureShape.new(name: 'InvalidClientTokenException')
|
38
|
+
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
39
|
+
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
40
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
41
|
+
InvalidResourceTypeException = Shapes::StructureShape.new(name: 'InvalidResourceTypeException')
|
42
|
+
InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException')
|
43
|
+
ListPrincipalsRequest = Shapes::StructureShape.new(name: 'ListPrincipalsRequest')
|
44
|
+
ListPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPrincipalsResponse')
|
45
|
+
ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
|
46
|
+
ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
|
47
|
+
MalformedArnException = Shapes::StructureShape.new(name: 'MalformedArnException')
|
48
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
49
|
+
MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
|
50
|
+
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
51
|
+
Policy = Shapes::StringShape.new(name: 'Policy')
|
52
|
+
PolicyList = Shapes::ListShape.new(name: 'PolicyList')
|
53
|
+
Principal = Shapes::StructureShape.new(name: 'Principal')
|
54
|
+
PrincipalArnOrIdList = Shapes::ListShape.new(name: 'PrincipalArnOrIdList')
|
55
|
+
PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
|
56
|
+
RejectResourceShareInvitationRequest = Shapes::StructureShape.new(name: 'RejectResourceShareInvitationRequest')
|
57
|
+
RejectResourceShareInvitationResponse = Shapes::StructureShape.new(name: 'RejectResourceShareInvitationResponse')
|
58
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
59
|
+
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
60
|
+
ResourceArnNotFoundException = Shapes::StructureShape.new(name: 'ResourceArnNotFoundException')
|
61
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
62
|
+
ResourceOwner = Shapes::StringShape.new(name: 'ResourceOwner')
|
63
|
+
ResourceShare = Shapes::StructureShape.new(name: 'ResourceShare')
|
64
|
+
ResourceShareArnList = Shapes::ListShape.new(name: 'ResourceShareArnList')
|
65
|
+
ResourceShareAssociation = Shapes::StructureShape.new(name: 'ResourceShareAssociation')
|
66
|
+
ResourceShareAssociationList = Shapes::ListShape.new(name: 'ResourceShareAssociationList')
|
67
|
+
ResourceShareAssociationStatus = Shapes::StringShape.new(name: 'ResourceShareAssociationStatus')
|
68
|
+
ResourceShareAssociationType = Shapes::StringShape.new(name: 'ResourceShareAssociationType')
|
69
|
+
ResourceShareInvitation = Shapes::StructureShape.new(name: 'ResourceShareInvitation')
|
70
|
+
ResourceShareInvitationAlreadyAcceptedException = Shapes::StructureShape.new(name: 'ResourceShareInvitationAlreadyAcceptedException')
|
71
|
+
ResourceShareInvitationAlreadyRejectedException = Shapes::StructureShape.new(name: 'ResourceShareInvitationAlreadyRejectedException')
|
72
|
+
ResourceShareInvitationArnList = Shapes::ListShape.new(name: 'ResourceShareInvitationArnList')
|
73
|
+
ResourceShareInvitationArnNotFoundException = Shapes::StructureShape.new(name: 'ResourceShareInvitationArnNotFoundException')
|
74
|
+
ResourceShareInvitationExpiredException = Shapes::StructureShape.new(name: 'ResourceShareInvitationExpiredException')
|
75
|
+
ResourceShareInvitationList = Shapes::ListShape.new(name: 'ResourceShareInvitationList')
|
76
|
+
ResourceShareInvitationStatus = Shapes::StringShape.new(name: 'ResourceShareInvitationStatus')
|
77
|
+
ResourceShareLimitExceededException = Shapes::StructureShape.new(name: 'ResourceShareLimitExceededException')
|
78
|
+
ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
|
79
|
+
ResourceShareStatus = Shapes::StringShape.new(name: 'ResourceShareStatus')
|
80
|
+
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
81
|
+
ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
|
82
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
83
|
+
String = Shapes::StringShape.new(name: 'String')
|
84
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
85
|
+
TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
|
86
|
+
TagFilters = Shapes::ListShape.new(name: 'TagFilters')
|
87
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
88
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
89
|
+
TagLimitExceededException = Shapes::StructureShape.new(name: 'TagLimitExceededException')
|
90
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
91
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
92
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
93
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
94
|
+
TagValueList = Shapes::ListShape.new(name: 'TagValueList')
|
95
|
+
UnknownResourceException = Shapes::StructureShape.new(name: 'UnknownResourceException')
|
96
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
97
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
98
|
+
UpdateResourceShareRequest = Shapes::StructureShape.new(name: 'UpdateResourceShareRequest')
|
99
|
+
UpdateResourceShareResponse = Shapes::StructureShape.new(name: 'UpdateResourceShareResponse')
|
100
|
+
|
101
|
+
AcceptResourceShareInvitationRequest.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareInvitationArn"))
|
102
|
+
AcceptResourceShareInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
103
|
+
AcceptResourceShareInvitationRequest.struct_class = Types::AcceptResourceShareInvitationRequest
|
104
|
+
|
105
|
+
AcceptResourceShareInvitationResponse.add_member(:resource_share_invitation, Shapes::ShapeRef.new(shape: ResourceShareInvitation, location_name: "resourceShareInvitation"))
|
106
|
+
AcceptResourceShareInvitationResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
107
|
+
AcceptResourceShareInvitationResponse.struct_class = Types::AcceptResourceShareInvitationResponse
|
108
|
+
|
109
|
+
AssociateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
110
|
+
AssociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
111
|
+
AssociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
112
|
+
AssociateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
113
|
+
AssociateResourceShareRequest.struct_class = Types::AssociateResourceShareRequest
|
114
|
+
|
115
|
+
AssociateResourceShareResponse.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
116
|
+
AssociateResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
117
|
+
AssociateResourceShareResponse.struct_class = Types::AssociateResourceShareResponse
|
118
|
+
|
119
|
+
CreateResourceShareRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
120
|
+
CreateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
121
|
+
CreateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
122
|
+
CreateResourceShareRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
123
|
+
CreateResourceShareRequest.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
124
|
+
CreateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
125
|
+
CreateResourceShareRequest.struct_class = Types::CreateResourceShareRequest
|
126
|
+
|
127
|
+
CreateResourceShareResponse.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShare, location_name: "resourceShare"))
|
128
|
+
CreateResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
129
|
+
CreateResourceShareResponse.struct_class = Types::CreateResourceShareResponse
|
130
|
+
|
131
|
+
DeleteResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "resourceShareArn"))
|
132
|
+
DeleteResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken"))
|
133
|
+
DeleteResourceShareRequest.struct_class = Types::DeleteResourceShareRequest
|
134
|
+
|
135
|
+
DeleteResourceShareResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
136
|
+
DeleteResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
137
|
+
DeleteResourceShareResponse.struct_class = Types::DeleteResourceShareResponse
|
138
|
+
|
139
|
+
DisassociateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
140
|
+
DisassociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
141
|
+
DisassociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
142
|
+
DisassociateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
143
|
+
DisassociateResourceShareRequest.struct_class = Types::DisassociateResourceShareRequest
|
144
|
+
|
145
|
+
DisassociateResourceShareResponse.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
146
|
+
DisassociateResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
147
|
+
DisassociateResourceShareResponse.struct_class = Types::DisassociateResourceShareResponse
|
148
|
+
|
149
|
+
EnableSharingWithAwsOrganizationRequest.struct_class = Types::EnableSharingWithAwsOrganizationRequest
|
150
|
+
|
151
|
+
EnableSharingWithAwsOrganizationResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
152
|
+
EnableSharingWithAwsOrganizationResponse.struct_class = Types::EnableSharingWithAwsOrganizationResponse
|
153
|
+
|
154
|
+
GetResourcePoliciesRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, required: true, location_name: "resourceArns"))
|
155
|
+
GetResourcePoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
156
|
+
GetResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
157
|
+
GetResourcePoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
158
|
+
GetResourcePoliciesRequest.struct_class = Types::GetResourcePoliciesRequest
|
159
|
+
|
160
|
+
GetResourcePoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: PolicyList, location_name: "policies"))
|
161
|
+
GetResourcePoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
162
|
+
GetResourcePoliciesResponse.struct_class = Types::GetResourcePoliciesResponse
|
163
|
+
|
164
|
+
GetResourceShareAssociationsRequest.add_member(:association_type, Shapes::ShapeRef.new(shape: ResourceShareAssociationType, required: true, location_name: "associationType"))
|
165
|
+
GetResourceShareAssociationsRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
|
166
|
+
GetResourceShareAssociationsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
|
167
|
+
GetResourceShareAssociationsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
168
|
+
GetResourceShareAssociationsRequest.add_member(:association_status, Shapes::ShapeRef.new(shape: ResourceShareAssociationStatus, location_name: "associationStatus"))
|
169
|
+
GetResourceShareAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
170
|
+
GetResourceShareAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
171
|
+
GetResourceShareAssociationsRequest.struct_class = Types::GetResourceShareAssociationsRequest
|
172
|
+
|
173
|
+
GetResourceShareAssociationsResponse.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
174
|
+
GetResourceShareAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
175
|
+
GetResourceShareAssociationsResponse.struct_class = Types::GetResourceShareAssociationsResponse
|
176
|
+
|
177
|
+
GetResourceShareInvitationsRequest.add_member(:resource_share_invitation_arns, Shapes::ShapeRef.new(shape: ResourceShareInvitationArnList, location_name: "resourceShareInvitationArns"))
|
178
|
+
GetResourceShareInvitationsRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
|
179
|
+
GetResourceShareInvitationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
180
|
+
GetResourceShareInvitationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
181
|
+
GetResourceShareInvitationsRequest.struct_class = Types::GetResourceShareInvitationsRequest
|
182
|
+
|
183
|
+
GetResourceShareInvitationsResponse.add_member(:resource_share_invitations, Shapes::ShapeRef.new(shape: ResourceShareInvitationList, location_name: "resourceShareInvitations"))
|
184
|
+
GetResourceShareInvitationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
185
|
+
GetResourceShareInvitationsResponse.struct_class = Types::GetResourceShareInvitationsResponse
|
186
|
+
|
187
|
+
GetResourceSharesRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
|
188
|
+
GetResourceSharesRequest.add_member(:resource_share_status, Shapes::ShapeRef.new(shape: ResourceShareStatus, location_name: "resourceShareStatus"))
|
189
|
+
GetResourceSharesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
190
|
+
GetResourceSharesRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
191
|
+
GetResourceSharesRequest.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "tagFilters"))
|
192
|
+
GetResourceSharesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
193
|
+
GetResourceSharesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
194
|
+
GetResourceSharesRequest.struct_class = Types::GetResourceSharesRequest
|
195
|
+
|
196
|
+
GetResourceSharesResponse.add_member(:resource_shares, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "resourceShares"))
|
197
|
+
GetResourceSharesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
198
|
+
GetResourceSharesResponse.struct_class = Types::GetResourceSharesResponse
|
199
|
+
|
200
|
+
ListPrincipalsRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
201
|
+
ListPrincipalsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
|
202
|
+
ListPrincipalsRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
203
|
+
ListPrincipalsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
204
|
+
ListPrincipalsRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
|
205
|
+
ListPrincipalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
206
|
+
ListPrincipalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
207
|
+
ListPrincipalsRequest.struct_class = Types::ListPrincipalsRequest
|
208
|
+
|
209
|
+
ListPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalList, location_name: "principals"))
|
210
|
+
ListPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
211
|
+
ListPrincipalsResponse.struct_class = Types::ListPrincipalsResponse
|
212
|
+
|
213
|
+
ListResourcesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
214
|
+
ListResourcesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
215
|
+
ListResourcesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
216
|
+
ListResourcesRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
217
|
+
ListResourcesRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
|
218
|
+
ListResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
219
|
+
ListResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
220
|
+
ListResourcesRequest.struct_class = Types::ListResourcesRequest
|
221
|
+
|
222
|
+
ListResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
|
223
|
+
ListResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
224
|
+
ListResourcesResponse.struct_class = Types::ListResourcesResponse
|
225
|
+
|
226
|
+
PolicyList.member = Shapes::ShapeRef.new(shape: Policy)
|
227
|
+
|
228
|
+
Principal.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
229
|
+
Principal.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
230
|
+
Principal.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
231
|
+
Principal.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
232
|
+
Principal.add_member(:external, Shapes::ShapeRef.new(shape: Boolean, location_name: "external"))
|
233
|
+
Principal.struct_class = Types::Principal
|
234
|
+
|
235
|
+
PrincipalArnOrIdList.member = Shapes::ShapeRef.new(shape: String)
|
236
|
+
|
237
|
+
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
238
|
+
|
239
|
+
RejectResourceShareInvitationRequest.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareInvitationArn"))
|
240
|
+
RejectResourceShareInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
241
|
+
RejectResourceShareInvitationRequest.struct_class = Types::RejectResourceShareInvitationRequest
|
242
|
+
|
243
|
+
RejectResourceShareInvitationResponse.add_member(:resource_share_invitation, Shapes::ShapeRef.new(shape: ResourceShareInvitation, location_name: "resourceShareInvitation"))
|
244
|
+
RejectResourceShareInvitationResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
245
|
+
RejectResourceShareInvitationResponse.struct_class = Types::RejectResourceShareInvitationResponse
|
246
|
+
|
247
|
+
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
248
|
+
Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
249
|
+
Resource.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
250
|
+
Resource.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, location_name: "status"))
|
251
|
+
Resource.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
252
|
+
Resource.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
253
|
+
Resource.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
254
|
+
Resource.struct_class = Types::Resource
|
255
|
+
|
256
|
+
ResourceArnList.member = Shapes::ShapeRef.new(shape: String)
|
257
|
+
|
258
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
259
|
+
|
260
|
+
ResourceShare.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
261
|
+
ResourceShare.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
262
|
+
ResourceShare.add_member(:owning_account_id, Shapes::ShapeRef.new(shape: String, location_name: "owningAccountId"))
|
263
|
+
ResourceShare.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
264
|
+
ResourceShare.add_member(:status, Shapes::ShapeRef.new(shape: ResourceShareStatus, location_name: "status"))
|
265
|
+
ResourceShare.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
266
|
+
ResourceShare.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
267
|
+
ResourceShare.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
268
|
+
ResourceShare.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
269
|
+
ResourceShare.struct_class = Types::ResourceShare
|
270
|
+
|
271
|
+
ResourceShareArnList.member = Shapes::ShapeRef.new(shape: String)
|
272
|
+
|
273
|
+
ResourceShareAssociation.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
274
|
+
ResourceShareAssociation.add_member(:associated_entity, Shapes::ShapeRef.new(shape: String, location_name: "associatedEntity"))
|
275
|
+
ResourceShareAssociation.add_member(:association_type, Shapes::ShapeRef.new(shape: ResourceShareAssociationType, location_name: "associationType"))
|
276
|
+
ResourceShareAssociation.add_member(:status, Shapes::ShapeRef.new(shape: ResourceShareAssociationStatus, location_name: "status"))
|
277
|
+
ResourceShareAssociation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
278
|
+
ResourceShareAssociation.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
279
|
+
ResourceShareAssociation.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
280
|
+
ResourceShareAssociation.add_member(:external, Shapes::ShapeRef.new(shape: Boolean, location_name: "external"))
|
281
|
+
ResourceShareAssociation.struct_class = Types::ResourceShareAssociation
|
282
|
+
|
283
|
+
ResourceShareAssociationList.member = Shapes::ShapeRef.new(shape: ResourceShareAssociation)
|
284
|
+
|
285
|
+
ResourceShareInvitation.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareInvitationArn"))
|
286
|
+
ResourceShareInvitation.add_member(:resource_share_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareName"))
|
287
|
+
ResourceShareInvitation.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
288
|
+
ResourceShareInvitation.add_member(:sender_account_id, Shapes::ShapeRef.new(shape: String, location_name: "senderAccountId"))
|
289
|
+
ResourceShareInvitation.add_member(:receiver_account_id, Shapes::ShapeRef.new(shape: String, location_name: "receiverAccountId"))
|
290
|
+
ResourceShareInvitation.add_member(:invitation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "invitationTimestamp"))
|
291
|
+
ResourceShareInvitation.add_member(:status, Shapes::ShapeRef.new(shape: ResourceShareInvitationStatus, location_name: "status"))
|
292
|
+
ResourceShareInvitation.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
293
|
+
ResourceShareInvitation.struct_class = Types::ResourceShareInvitation
|
294
|
+
|
295
|
+
ResourceShareInvitationArnList.member = Shapes::ShapeRef.new(shape: String)
|
296
|
+
|
297
|
+
ResourceShareInvitationList.member = Shapes::ShapeRef.new(shape: ResourceShareInvitation)
|
298
|
+
|
299
|
+
ResourceShareList.member = Shapes::ShapeRef.new(shape: ResourceShare)
|
300
|
+
|
301
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
|
302
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
303
|
+
Tag.struct_class = Types::Tag
|
304
|
+
|
305
|
+
TagFilter.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "tagKey"))
|
306
|
+
TagFilter.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "tagValues"))
|
307
|
+
TagFilter.struct_class = Types::TagFilter
|
308
|
+
|
309
|
+
TagFilters.member = Shapes::ShapeRef.new(shape: TagFilter)
|
310
|
+
|
311
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
312
|
+
|
313
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
314
|
+
|
315
|
+
TagResourceRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
316
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
317
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
318
|
+
|
319
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
320
|
+
|
321
|
+
TagValueList.member = Shapes::ShapeRef.new(shape: TagValue)
|
322
|
+
|
323
|
+
UntagResourceRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
324
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
325
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
326
|
+
|
327
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
328
|
+
|
329
|
+
UpdateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
330
|
+
UpdateResourceShareRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
331
|
+
UpdateResourceShareRequest.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
332
|
+
UpdateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
333
|
+
UpdateResourceShareRequest.struct_class = Types::UpdateResourceShareRequest
|
334
|
+
|
335
|
+
UpdateResourceShareResponse.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShare, location_name: "resourceShare"))
|
336
|
+
UpdateResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
337
|
+
UpdateResourceShareResponse.struct_class = Types::UpdateResourceShareResponse
|
338
|
+
|
339
|
+
|
340
|
+
# @api private
|
341
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
342
|
+
|
343
|
+
api.version = "2018-01-04"
|
344
|
+
|
345
|
+
api.metadata = {
|
346
|
+
"apiVersion" => "2018-01-04",
|
347
|
+
"endpointPrefix" => "ram",
|
348
|
+
"jsonVersion" => "1.1",
|
349
|
+
"protocol" => "rest-json",
|
350
|
+
"serviceAbbreviation" => "RAM",
|
351
|
+
"serviceFullName" => "AWS Resource Access Manager",
|
352
|
+
"serviceId" => "RAM",
|
353
|
+
"signatureVersion" => "v4",
|
354
|
+
"uid" => "ram-2018-01-04",
|
355
|
+
}
|
356
|
+
|
357
|
+
api.add_operation(:accept_resource_share_invitation, Seahorse::Model::Operation.new.tap do |o|
|
358
|
+
o.name = "AcceptResourceShareInvitation"
|
359
|
+
o.http_method = "POST"
|
360
|
+
o.http_request_uri = "/acceptresourceshareinvitation"
|
361
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptResourceShareInvitationRequest)
|
362
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptResourceShareInvitationResponse)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationArnNotFoundException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationAlreadyAcceptedException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationAlreadyRejectedException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationExpiredException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
371
|
+
end)
|
372
|
+
|
373
|
+
api.add_operation(:associate_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
374
|
+
o.name = "AssociateResourceShare"
|
375
|
+
o.http_method = "POST"
|
376
|
+
o.http_request_uri = "/associateresourceshare"
|
377
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateResourceShareRequest)
|
378
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateResourceShareResponse)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
391
|
+
end)
|
392
|
+
|
393
|
+
api.add_operation(:create_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
394
|
+
o.name = "CreateResourceShare"
|
395
|
+
o.http_method = "POST"
|
396
|
+
o.http_request_uri = "/createresourceshare"
|
397
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourceShareRequest)
|
398
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResourceShareResponse)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
409
|
+
end)
|
410
|
+
|
411
|
+
api.add_operation(:delete_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
412
|
+
o.name = "DeleteResourceShare"
|
413
|
+
o.http_method = "DELETE"
|
414
|
+
o.http_request_uri = "/deleteresourceshare"
|
415
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourceShareRequest)
|
416
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourceShareResponse)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
426
|
+
end)
|
427
|
+
|
428
|
+
api.add_operation(:disassociate_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
429
|
+
o.name = "DisassociateResourceShare"
|
430
|
+
o.http_method = "POST"
|
431
|
+
o.http_request_uri = "/disassociateresourceshare"
|
432
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateResourceShareRequest)
|
433
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateResourceShareResponse)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
444
|
+
end)
|
445
|
+
|
446
|
+
api.add_operation(:enable_sharing_with_aws_organization, Seahorse::Model::Operation.new.tap do |o|
|
447
|
+
o.name = "EnableSharingWithAwsOrganization"
|
448
|
+
o.http_method = "POST"
|
449
|
+
o.http_request_uri = "/enablesharingwithawsorganization"
|
450
|
+
o.input = Shapes::ShapeRef.new(shape: EnableSharingWithAwsOrganizationRequest)
|
451
|
+
o.output = Shapes::ShapeRef.new(shape: EnableSharingWithAwsOrganizationResponse)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
455
|
+
end)
|
456
|
+
|
457
|
+
api.add_operation(:get_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
458
|
+
o.name = "GetResourcePolicies"
|
459
|
+
o.http_method = "POST"
|
460
|
+
o.http_request_uri = "/getresourcepolicies"
|
461
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePoliciesRequest)
|
462
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePoliciesResponse)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
468
|
+
o[:pager] = Aws::Pager.new(
|
469
|
+
limit_key: "max_results",
|
470
|
+
tokens: {
|
471
|
+
"next_token" => "next_token"
|
472
|
+
}
|
473
|
+
)
|
474
|
+
end)
|
475
|
+
|
476
|
+
api.add_operation(:get_resource_share_associations, Seahorse::Model::Operation.new.tap do |o|
|
477
|
+
o.name = "GetResourceShareAssociations"
|
478
|
+
o.http_method = "POST"
|
479
|
+
o.http_request_uri = "/getresourceshareassociations"
|
480
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceShareAssociationsRequest)
|
481
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceShareAssociationsResponse)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
489
|
+
o[:pager] = Aws::Pager.new(
|
490
|
+
limit_key: "max_results",
|
491
|
+
tokens: {
|
492
|
+
"next_token" => "next_token"
|
493
|
+
}
|
494
|
+
)
|
495
|
+
end)
|
496
|
+
|
497
|
+
api.add_operation(:get_resource_share_invitations, Seahorse::Model::Operation.new.tap do |o|
|
498
|
+
o.name = "GetResourceShareInvitations"
|
499
|
+
o.http_method = "POST"
|
500
|
+
o.http_request_uri = "/getresourceshareinvitations"
|
501
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceShareInvitationsRequest)
|
502
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceShareInvitationsResponse)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationArnNotFoundException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
510
|
+
o[:pager] = Aws::Pager.new(
|
511
|
+
limit_key: "max_results",
|
512
|
+
tokens: {
|
513
|
+
"next_token" => "next_token"
|
514
|
+
}
|
515
|
+
)
|
516
|
+
end)
|
517
|
+
|
518
|
+
api.add_operation(:get_resource_shares, Seahorse::Model::Operation.new.tap do |o|
|
519
|
+
o.name = "GetResourceShares"
|
520
|
+
o.http_method = "POST"
|
521
|
+
o.http_request_uri = "/getresourceshares"
|
522
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceSharesRequest)
|
523
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceSharesResponse)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
530
|
+
o[:pager] = Aws::Pager.new(
|
531
|
+
limit_key: "max_results",
|
532
|
+
tokens: {
|
533
|
+
"next_token" => "next_token"
|
534
|
+
}
|
535
|
+
)
|
536
|
+
end)
|
537
|
+
|
538
|
+
api.add_operation(:list_principals, Seahorse::Model::Operation.new.tap do |o|
|
539
|
+
o.name = "ListPrincipals"
|
540
|
+
o.http_method = "POST"
|
541
|
+
o.http_request_uri = "/listprincipals"
|
542
|
+
o.input = Shapes::ShapeRef.new(shape: ListPrincipalsRequest)
|
543
|
+
o.output = Shapes::ShapeRef.new(shape: ListPrincipalsResponse)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
550
|
+
o[:pager] = Aws::Pager.new(
|
551
|
+
limit_key: "max_results",
|
552
|
+
tokens: {
|
553
|
+
"next_token" => "next_token"
|
554
|
+
}
|
555
|
+
)
|
556
|
+
end)
|
557
|
+
|
558
|
+
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
559
|
+
o.name = "ListResources"
|
560
|
+
o.http_method = "POST"
|
561
|
+
o.http_request_uri = "/listresources"
|
562
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcesRequest)
|
563
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcesResponse)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceTypeException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
571
|
+
o[:pager] = Aws::Pager.new(
|
572
|
+
limit_key: "max_results",
|
573
|
+
tokens: {
|
574
|
+
"next_token" => "next_token"
|
575
|
+
}
|
576
|
+
)
|
577
|
+
end)
|
578
|
+
|
579
|
+
api.add_operation(:reject_resource_share_invitation, Seahorse::Model::Operation.new.tap do |o|
|
580
|
+
o.name = "RejectResourceShareInvitation"
|
581
|
+
o.http_method = "POST"
|
582
|
+
o.http_request_uri = "/rejectresourceshareinvitation"
|
583
|
+
o.input = Shapes::ShapeRef.new(shape: RejectResourceShareInvitationRequest)
|
584
|
+
o.output = Shapes::ShapeRef.new(shape: RejectResourceShareInvitationResponse)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationArnNotFoundException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationAlreadyAcceptedException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationAlreadyRejectedException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationExpiredException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
593
|
+
end)
|
594
|
+
|
595
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
596
|
+
o.name = "TagResource"
|
597
|
+
o.http_method = "POST"
|
598
|
+
o.http_request_uri = "/tagresource"
|
599
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
600
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnNotFoundException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
607
|
+
end)
|
608
|
+
|
609
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
610
|
+
o.name = "UntagResource"
|
611
|
+
o.http_method = "POST"
|
612
|
+
o.http_request_uri = "/untagresource"
|
613
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
614
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
618
|
+
end)
|
619
|
+
|
620
|
+
api.add_operation(:update_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
621
|
+
o.name = "UpdateResourceShare"
|
622
|
+
o.http_method = "POST"
|
623
|
+
o.http_request_uri = "/updateresourceshare"
|
624
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResourceShareRequest)
|
625
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResourceShareResponse)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
635
|
+
end)
|
636
|
+
end
|
637
|
+
|
638
|
+
end
|
639
|
+
end
|