aws-sdk-ram 1.99.0 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ram/client.rb +291 -5
- data/lib/aws-sdk-ram/client_api.rb +85 -0
- data/lib/aws-sdk-ram/types.rb +381 -7
- data/lib/aws-sdk-ram.rb +1 -1
- data/sig/client.rbs +64 -4
- data/sig/types.rbs +59 -3
- metadata +3 -3
|
@@ -89,11 +89,21 @@ module Aws::RAM
|
|
|
89
89
|
MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
|
|
90
90
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
|
91
91
|
PermissionAlreadyExistsException = Shapes::StructureShape.new(name: 'PermissionAlreadyExistsException')
|
|
92
|
+
PermissionArnAndTemplateParameters = Shapes::StructureShape.new(name: 'PermissionArnAndTemplateParameters')
|
|
93
|
+
PermissionArnAndTemplateParametersList = Shapes::ListShape.new(name: 'PermissionArnAndTemplateParametersList')
|
|
92
94
|
PermissionArnList = Shapes::ListShape.new(name: 'PermissionArnList')
|
|
93
95
|
PermissionFeatureSet = Shapes::StringShape.new(name: 'PermissionFeatureSet')
|
|
94
96
|
PermissionLimitExceededException = Shapes::StructureShape.new(name: 'PermissionLimitExceededException')
|
|
95
97
|
PermissionName = Shapes::StringShape.new(name: 'PermissionName')
|
|
96
98
|
PermissionStatus = Shapes::StringShape.new(name: 'PermissionStatus')
|
|
99
|
+
PermissionTemplateParameter = Shapes::StructureShape.new(name: 'PermissionTemplateParameter')
|
|
100
|
+
PermissionTemplateParameterDeclaration = Shapes::StructureShape.new(name: 'PermissionTemplateParameterDeclaration')
|
|
101
|
+
PermissionTemplateParameterDeclarationList = Shapes::ListShape.new(name: 'PermissionTemplateParameterDeclarationList')
|
|
102
|
+
PermissionTemplateParameterInput = Shapes::StructureShape.new(name: 'PermissionTemplateParameterInput')
|
|
103
|
+
PermissionTemplateParameterInputList = Shapes::ListShape.new(name: 'PermissionTemplateParameterInputList')
|
|
104
|
+
PermissionTemplateParameterList = Shapes::ListShape.new(name: 'PermissionTemplateParameterList')
|
|
105
|
+
PermissionTemplateParameterType = Shapes::StringShape.new(name: 'PermissionTemplateParameterType')
|
|
106
|
+
PermissionTemplateParameterValueList = Shapes::ListShape.new(name: 'PermissionTemplateParameterValueList')
|
|
97
107
|
PermissionType = Shapes::StringShape.new(name: 'PermissionType')
|
|
98
108
|
PermissionTypeFilter = Shapes::StringShape.new(name: 'PermissionTypeFilter')
|
|
99
109
|
PermissionVersionsLimitExceededException = Shapes::StructureShape.new(name: 'PermissionVersionsLimitExceededException')
|
|
@@ -169,6 +179,9 @@ module Aws::RAM
|
|
|
169
179
|
UnmatchedPolicyPermissionException = Shapes::StructureShape.new(name: 'UnmatchedPolicyPermissionException')
|
|
170
180
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
171
181
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
182
|
+
UpdatePermissionRequest = Shapes::StructureShape.new(name: 'UpdatePermissionRequest')
|
|
183
|
+
UpdatePermissionResponse = Shapes::StructureShape.new(name: 'UpdatePermissionResponse')
|
|
184
|
+
UpdatePermissionStatus = Shapes::StringShape.new(name: 'UpdatePermissionStatus')
|
|
172
185
|
UpdateResourceShareRequest = Shapes::StructureShape.new(name: 'UpdateResourceShareRequest')
|
|
173
186
|
UpdateResourceShareResponse = Shapes::StructureShape.new(name: 'UpdateResourceShareResponse')
|
|
174
187
|
|
|
@@ -182,6 +195,7 @@ module Aws::RAM
|
|
|
182
195
|
|
|
183
196
|
AssociateResourceSharePermissionRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
|
184
197
|
AssociateResourceSharePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
|
198
|
+
AssociateResourceSharePermissionRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterInputList, location_name: "permissionTemplateParameters"))
|
|
185
199
|
AssociateResourceSharePermissionRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "replace"))
|
|
186
200
|
AssociateResourceSharePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
187
201
|
AssociateResourceSharePermissionRequest.add_member(:permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "permissionVersion"))
|
|
@@ -210,6 +224,7 @@ module Aws::RAM
|
|
|
210
224
|
AssociatedPermission.add_member(:feature_set, Shapes::ShapeRef.new(shape: PermissionFeatureSet, location_name: "featureSet"))
|
|
211
225
|
AssociatedPermission.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
|
212
226
|
AssociatedPermission.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
|
227
|
+
AssociatedPermission.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterList, location_name: "permissionTemplateParameters"))
|
|
213
228
|
AssociatedPermission.struct_class = Types::AssociatedPermission
|
|
214
229
|
|
|
215
230
|
AssociatedPermissionList.member = Shapes::ShapeRef.new(shape: AssociatedPermission)
|
|
@@ -228,6 +243,7 @@ module Aws::RAM
|
|
|
228
243
|
CreatePermissionRequest.add_member(:name, Shapes::ShapeRef.new(shape: PermissionName, required: true, location_name: "name"))
|
|
229
244
|
CreatePermissionRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
|
230
245
|
CreatePermissionRequest.add_member(:policy_template, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policyTemplate"))
|
|
246
|
+
CreatePermissionRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterDeclarationList, location_name: "permissionTemplateParameters"))
|
|
231
247
|
CreatePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
232
248
|
CreatePermissionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
233
249
|
CreatePermissionRequest.struct_class = Types::CreatePermissionRequest
|
|
@@ -238,6 +254,7 @@ module Aws::RAM
|
|
|
238
254
|
|
|
239
255
|
CreatePermissionVersionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
|
240
256
|
CreatePermissionVersionRequest.add_member(:policy_template, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policyTemplate"))
|
|
257
|
+
CreatePermissionVersionRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterDeclarationList, location_name: "permissionTemplateParameters"))
|
|
241
258
|
CreatePermissionVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
242
259
|
CreatePermissionVersionRequest.struct_class = Types::CreatePermissionVersionRequest
|
|
243
260
|
|
|
@@ -253,6 +270,7 @@ module Aws::RAM
|
|
|
253
270
|
CreateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
254
271
|
CreateResourceShareRequest.add_member(:permission_arns, Shapes::ShapeRef.new(shape: PermissionArnList, location_name: "permissionArns"))
|
|
255
272
|
CreateResourceShareRequest.add_member(:sources, Shapes::ShapeRef.new(shape: SourceArnOrAccountList, location_name: "sources"))
|
|
273
|
+
CreateResourceShareRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionArnAndTemplateParametersList, location_name: "permissionTemplateParameters"))
|
|
256
274
|
CreateResourceShareRequest.add_member(:resource_share_configuration, Shapes::ShapeRef.new(shape: ResourceShareConfiguration, location_name: "resourceShareConfiguration"))
|
|
257
275
|
CreateResourceShareRequest.struct_class = Types::CreateResourceShareRequest
|
|
258
276
|
|
|
@@ -314,6 +332,7 @@ module Aws::RAM
|
|
|
314
332
|
|
|
315
333
|
GetPermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
|
316
334
|
GetPermissionRequest.add_member(:permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "permissionVersion"))
|
|
335
|
+
GetPermissionRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterInputList, location_name: "permissionTemplateParameters"))
|
|
317
336
|
GetPermissionRequest.struct_class = Types::GetPermissionRequest
|
|
318
337
|
|
|
319
338
|
GetPermissionResponse.add_member(:permission, Shapes::ShapeRef.new(shape: ResourceSharePermissionDetail, location_name: "permission"))
|
|
@@ -407,6 +426,8 @@ module Aws::RAM
|
|
|
407
426
|
ListPermissionAssociationsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
|
408
427
|
ListPermissionAssociationsRequest.add_member(:feature_set, Shapes::ShapeRef.new(shape: PermissionFeatureSet, location_name: "featureSet"))
|
|
409
428
|
ListPermissionAssociationsRequest.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
|
|
429
|
+
ListPermissionAssociationsRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location_name: "resourceOwner"))
|
|
430
|
+
ListPermissionAssociationsRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
|
410
431
|
ListPermissionAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
411
432
|
ListPermissionAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
412
433
|
ListPermissionAssociationsRequest.struct_class = Types::ListPermissionAssociationsRequest
|
|
@@ -425,9 +446,11 @@ module Aws::RAM
|
|
|
425
446
|
ListPermissionVersionsResponse.struct_class = Types::ListPermissionVersionsResponse
|
|
426
447
|
|
|
427
448
|
ListPermissionsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
|
449
|
+
ListPermissionsRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location_name: "resourceOwner"))
|
|
428
450
|
ListPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
429
451
|
ListPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
430
452
|
ListPermissionsRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionTypeFilter, location_name: "permissionType"))
|
|
453
|
+
ListPermissionsRequest.add_member(:permission_status, Shapes::ShapeRef.new(shape: PermissionStatus, location_name: "permissionStatus"))
|
|
431
454
|
ListPermissionsRequest.struct_class = Types::ListPermissionsRequest
|
|
432
455
|
|
|
433
456
|
ListPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourceSharePermissionList, location_name: "permissions"))
|
|
@@ -516,11 +539,40 @@ module Aws::RAM
|
|
|
516
539
|
PermissionAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
517
540
|
PermissionAlreadyExistsException.struct_class = Types::PermissionAlreadyExistsException
|
|
518
541
|
|
|
542
|
+
PermissionArnAndTemplateParameters.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "permissionArn"))
|
|
543
|
+
PermissionArnAndTemplateParameters.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterInputList, location_name: "permissionTemplateParameters"))
|
|
544
|
+
PermissionArnAndTemplateParameters.struct_class = Types::PermissionArnAndTemplateParameters
|
|
545
|
+
|
|
546
|
+
PermissionArnAndTemplateParametersList.member = Shapes::ShapeRef.new(shape: PermissionArnAndTemplateParameters)
|
|
547
|
+
|
|
519
548
|
PermissionArnList.member = Shapes::ShapeRef.new(shape: String)
|
|
520
549
|
|
|
521
550
|
PermissionLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
522
551
|
PermissionLimitExceededException.struct_class = Types::PermissionLimitExceededException
|
|
523
552
|
|
|
553
|
+
PermissionTemplateParameter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
554
|
+
PermissionTemplateParameter.add_member(:type, Shapes::ShapeRef.new(shape: PermissionTemplateParameterType, location_name: "type"))
|
|
555
|
+
PermissionTemplateParameter.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
556
|
+
PermissionTemplateParameter.add_member(:values, Shapes::ShapeRef.new(shape: PermissionTemplateParameterValueList, location_name: "values"))
|
|
557
|
+
PermissionTemplateParameter.struct_class = Types::PermissionTemplateParameter
|
|
558
|
+
|
|
559
|
+
PermissionTemplateParameterDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
560
|
+
PermissionTemplateParameterDeclaration.add_member(:type, Shapes::ShapeRef.new(shape: PermissionTemplateParameterType, location_name: "type"))
|
|
561
|
+
PermissionTemplateParameterDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
562
|
+
PermissionTemplateParameterDeclaration.struct_class = Types::PermissionTemplateParameterDeclaration
|
|
563
|
+
|
|
564
|
+
PermissionTemplateParameterDeclarationList.member = Shapes::ShapeRef.new(shape: PermissionTemplateParameterDeclaration)
|
|
565
|
+
|
|
566
|
+
PermissionTemplateParameterInput.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
567
|
+
PermissionTemplateParameterInput.add_member(:values, Shapes::ShapeRef.new(shape: PermissionTemplateParameterValueList, location_name: "values"))
|
|
568
|
+
PermissionTemplateParameterInput.struct_class = Types::PermissionTemplateParameterInput
|
|
569
|
+
|
|
570
|
+
PermissionTemplateParameterInputList.member = Shapes::ShapeRef.new(shape: PermissionTemplateParameterInput)
|
|
571
|
+
|
|
572
|
+
PermissionTemplateParameterList.member = Shapes::ShapeRef.new(shape: PermissionTemplateParameter)
|
|
573
|
+
|
|
574
|
+
PermissionTemplateParameterValueList.member = Shapes::ShapeRef.new(shape: String)
|
|
575
|
+
|
|
524
576
|
PermissionVersionsLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
525
577
|
PermissionVersionsLimitExceededException.struct_class = Types::PermissionVersionsLimitExceededException
|
|
526
578
|
|
|
@@ -563,6 +615,7 @@ module Aws::RAM
|
|
|
563
615
|
ReplacePermissionAssociationsRequest.add_member(:from_permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fromPermissionArn"))
|
|
564
616
|
ReplacePermissionAssociationsRequest.add_member(:from_permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "fromPermissionVersion"))
|
|
565
617
|
ReplacePermissionAssociationsRequest.add_member(:to_permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "toPermissionArn"))
|
|
618
|
+
ReplacePermissionAssociationsRequest.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterInputList, location_name: "permissionTemplateParameters"))
|
|
566
619
|
ReplacePermissionAssociationsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
567
620
|
ReplacePermissionAssociationsRequest.struct_class = Types::ReplacePermissionAssociationsRequest
|
|
568
621
|
|
|
@@ -575,6 +628,7 @@ module Aws::RAM
|
|
|
575
628
|
ReplacePermissionAssociationsWork.add_member(:from_permission_version, Shapes::ShapeRef.new(shape: String, location_name: "fromPermissionVersion"))
|
|
576
629
|
ReplacePermissionAssociationsWork.add_member(:to_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "toPermissionArn"))
|
|
577
630
|
ReplacePermissionAssociationsWork.add_member(:to_permission_version, Shapes::ShapeRef.new(shape: String, location_name: "toPermissionVersion"))
|
|
631
|
+
ReplacePermissionAssociationsWork.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterList, location_name: "permissionTemplateParameters"))
|
|
578
632
|
ReplacePermissionAssociationsWork.add_member(:status, Shapes::ShapeRef.new(shape: ReplacePermissionAssociationsWorkStatus, location_name: "status"))
|
|
579
633
|
ReplacePermissionAssociationsWork.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
|
580
634
|
ReplacePermissionAssociationsWork.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
|
@@ -672,6 +726,7 @@ module Aws::RAM
|
|
|
672
726
|
ResourceSharePermissionDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
673
727
|
ResourceSharePermissionDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
|
674
728
|
ResourceSharePermissionDetail.add_member(:permission, Shapes::ShapeRef.new(shape: String, location_name: "permission"))
|
|
729
|
+
ResourceSharePermissionDetail.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterDeclarationList, location_name: "permissionTemplateParameters"))
|
|
675
730
|
ResourceSharePermissionDetail.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
|
676
731
|
ResourceSharePermissionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
|
677
732
|
ResourceSharePermissionDetail.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
|
@@ -679,6 +734,7 @@ module Aws::RAM
|
|
|
679
734
|
ResourceSharePermissionDetail.add_member(:feature_set, Shapes::ShapeRef.new(shape: PermissionFeatureSet, location_name: "featureSet"))
|
|
680
735
|
ResourceSharePermissionDetail.add_member(:status, Shapes::ShapeRef.new(shape: PermissionStatus, location_name: "status"))
|
|
681
736
|
ResourceSharePermissionDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
737
|
+
ResourceSharePermissionDetail.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location_name: "resourceOwner"))
|
|
682
738
|
ResourceSharePermissionDetail.struct_class = Types::ResourceSharePermissionDetail
|
|
683
739
|
|
|
684
740
|
ResourceSharePermissionList.member = Shapes::ShapeRef.new(shape: ResourceSharePermissionSummary)
|
|
@@ -694,7 +750,9 @@ module Aws::RAM
|
|
|
694
750
|
ResourceSharePermissionSummary.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
|
695
751
|
ResourceSharePermissionSummary.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "permissionType"))
|
|
696
752
|
ResourceSharePermissionSummary.add_member(:feature_set, Shapes::ShapeRef.new(shape: PermissionFeatureSet, location_name: "featureSet"))
|
|
753
|
+
ResourceSharePermissionSummary.add_member(:permission_template_parameters, Shapes::ShapeRef.new(shape: PermissionTemplateParameterList, location_name: "permissionTemplateParameters"))
|
|
697
754
|
ResourceSharePermissionSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
755
|
+
ResourceSharePermissionSummary.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, location_name: "resourceOwner"))
|
|
698
756
|
ResourceSharePermissionSummary.struct_class = Types::ResourceSharePermissionSummary
|
|
699
757
|
|
|
700
758
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -766,6 +824,15 @@ module Aws::RAM
|
|
|
766
824
|
|
|
767
825
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
768
826
|
|
|
827
|
+
UpdatePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
|
828
|
+
UpdatePermissionRequest.add_member(:status, Shapes::ShapeRef.new(shape: UpdatePermissionStatus, required: true, location_name: "status"))
|
|
829
|
+
UpdatePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
830
|
+
UpdatePermissionRequest.struct_class = Types::UpdatePermissionRequest
|
|
831
|
+
|
|
832
|
+
UpdatePermissionResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
833
|
+
UpdatePermissionResponse.add_member(:permission_status, Shapes::ShapeRef.new(shape: UpdatePermissionStatus, location_name: "permissionStatus"))
|
|
834
|
+
UpdatePermissionResponse.struct_class = Types::UpdatePermissionResponse
|
|
835
|
+
|
|
769
836
|
UpdateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
|
770
837
|
UpdateResourceShareRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
771
838
|
UpdateResourceShareRequest.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
|
@@ -884,6 +951,7 @@ module Aws::RAM
|
|
|
884
951
|
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
|
885
952
|
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
|
886
953
|
o.errors << Shapes::ShapeRef.new(shape: PermissionVersionsLimitExceededException)
|
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
|
887
955
|
end)
|
|
888
956
|
|
|
889
957
|
api.add_operation(:create_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1411,6 +1479,23 @@ module Aws::RAM
|
|
|
1411
1479
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1412
1480
|
end)
|
|
1413
1481
|
|
|
1482
|
+
api.add_operation(:update_permission, Seahorse::Model::Operation.new.tap do |o|
|
|
1483
|
+
o.name = "UpdatePermission"
|
|
1484
|
+
o.http_method = "POST"
|
|
1485
|
+
o.http_request_uri = "/updatepermission"
|
|
1486
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePermissionRequest)
|
|
1487
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePermissionResponse)
|
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
1489
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
|
1490
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
|
1493
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
|
1494
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
|
1495
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
|
1496
|
+
o.errors << Shapes::ShapeRef.new(shape: PermissionLimitExceededException)
|
|
1497
|
+
end)
|
|
1498
|
+
|
|
1414
1499
|
api.add_operation(:update_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
|
1415
1500
|
o.name = "UpdateResourceShare"
|
|
1416
1501
|
o.http_method = "POST"
|