aws-sdk-ram 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ram.rb +1 -1
- data/lib/aws-sdk-ram/client.rb +288 -9
- data/lib/aws-sdk-ram/client_api.rb +181 -0
- data/lib/aws-sdk-ram/types.rb +423 -9
- metadata +2 -2
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -50,6 +50,64 @@ module Aws::RAM
|
|
50
50
|
include Aws::Structure
|
51
51
|
end
|
52
52
|
|
53
|
+
# @note When making an API call, you may pass AssociateResourceSharePermissionRequest
|
54
|
+
# data as a hash:
|
55
|
+
#
|
56
|
+
# {
|
57
|
+
# resource_share_arn: "String", # required
|
58
|
+
# permission_arn: "String", # required
|
59
|
+
# replace: false,
|
60
|
+
# client_token: "String",
|
61
|
+
# }
|
62
|
+
#
|
63
|
+
# @!attribute [rw] resource_share_arn
|
64
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] permission_arn
|
68
|
+
# The ARN of the AWS RAM permission to associate with the resource
|
69
|
+
# share.
|
70
|
+
# @return [String]
|
71
|
+
#
|
72
|
+
# @!attribute [rw] replace
|
73
|
+
# Indicates whether the permission should replace the permissions that
|
74
|
+
# are currently associated with the resource share. Use `true` to
|
75
|
+
# replace the current permissions. Use `false` to add the permission
|
76
|
+
# to the current permission.
|
77
|
+
# @return [Boolean]
|
78
|
+
#
|
79
|
+
# @!attribute [rw] client_token
|
80
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
81
|
+
# idempotency of the request.
|
82
|
+
# @return [String]
|
83
|
+
#
|
84
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionRequest AWS API Documentation
|
85
|
+
#
|
86
|
+
class AssociateResourceSharePermissionRequest < Struct.new(
|
87
|
+
:resource_share_arn,
|
88
|
+
:permission_arn,
|
89
|
+
:replace,
|
90
|
+
:client_token)
|
91
|
+
include Aws::Structure
|
92
|
+
end
|
93
|
+
|
94
|
+
# @!attribute [rw] return_value
|
95
|
+
# Indicates whether the request succeeded.
|
96
|
+
# @return [Boolean]
|
97
|
+
#
|
98
|
+
# @!attribute [rw] client_token
|
99
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
100
|
+
# idempotency of the request.
|
101
|
+
# @return [String]
|
102
|
+
#
|
103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionResponse AWS API Documentation
|
104
|
+
#
|
105
|
+
class AssociateResourceSharePermissionResponse < Struct.new(
|
106
|
+
:return_value,
|
107
|
+
:client_token)
|
108
|
+
include Aws::Structure
|
109
|
+
end
|
110
|
+
|
53
111
|
# @note When making an API call, you may pass AssociateResourceShareRequest
|
54
112
|
# data as a hash:
|
55
113
|
#
|
@@ -119,6 +177,7 @@ module Aws::RAM
|
|
119
177
|
# ],
|
120
178
|
# allow_external_principals: false,
|
121
179
|
# client_token: "String",
|
180
|
+
# permission_arns: ["String"],
|
122
181
|
# }
|
123
182
|
#
|
124
183
|
# @!attribute [rw] name
|
@@ -150,6 +209,13 @@ module Aws::RAM
|
|
150
209
|
# idempotency of the request.
|
151
210
|
# @return [String]
|
152
211
|
#
|
212
|
+
# @!attribute [rw] permission_arns
|
213
|
+
# The ARNs of the permissions to associate with the resource share. If
|
214
|
+
# you do not specify an ARN for the permission, AWS RAM automatically
|
215
|
+
# attaches the default version of the permission for each resource
|
216
|
+
# type.
|
217
|
+
# @return [Array<String>]
|
218
|
+
#
|
153
219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation
|
154
220
|
#
|
155
221
|
class CreateResourceShareRequest < Struct.new(
|
@@ -158,7 +224,8 @@ module Aws::RAM
|
|
158
224
|
:principals,
|
159
225
|
:tags,
|
160
226
|
:allow_external_principals,
|
161
|
-
:client_token
|
227
|
+
:client_token,
|
228
|
+
:permission_arns)
|
162
229
|
include Aws::Structure
|
163
230
|
end
|
164
231
|
|
@@ -221,6 +288,54 @@ module Aws::RAM
|
|
221
288
|
include Aws::Structure
|
222
289
|
end
|
223
290
|
|
291
|
+
# @note When making an API call, you may pass DisassociateResourceSharePermissionRequest
|
292
|
+
# data as a hash:
|
293
|
+
#
|
294
|
+
# {
|
295
|
+
# resource_share_arn: "String", # required
|
296
|
+
# permission_arn: "String", # required
|
297
|
+
# client_token: "String",
|
298
|
+
# }
|
299
|
+
#
|
300
|
+
# @!attribute [rw] resource_share_arn
|
301
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] permission_arn
|
305
|
+
# The ARN of the permission to disassociate from the resource share.
|
306
|
+
# @return [String]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] client_token
|
309
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
310
|
+
# idempotency of the request.
|
311
|
+
# @return [String]
|
312
|
+
#
|
313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermissionRequest AWS API Documentation
|
314
|
+
#
|
315
|
+
class DisassociateResourceSharePermissionRequest < Struct.new(
|
316
|
+
:resource_share_arn,
|
317
|
+
:permission_arn,
|
318
|
+
:client_token)
|
319
|
+
include Aws::Structure
|
320
|
+
end
|
321
|
+
|
322
|
+
# @!attribute [rw] return_value
|
323
|
+
# Indicates whether the request succeeded.
|
324
|
+
# @return [Boolean]
|
325
|
+
#
|
326
|
+
# @!attribute [rw] client_token
|
327
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
328
|
+
# idempotency of the request.
|
329
|
+
# @return [String]
|
330
|
+
#
|
331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermissionResponse AWS API Documentation
|
332
|
+
#
|
333
|
+
class DisassociateResourceSharePermissionResponse < Struct.new(
|
334
|
+
:return_value,
|
335
|
+
:client_token)
|
336
|
+
include Aws::Structure
|
337
|
+
end
|
338
|
+
|
224
339
|
# @note When making an API call, you may pass DisassociateResourceShareRequest
|
225
340
|
# data as a hash:
|
226
341
|
#
|
@@ -236,7 +351,7 @@ module Aws::RAM
|
|
236
351
|
# @return [String]
|
237
352
|
#
|
238
353
|
# @!attribute [rw] resource_arns
|
239
|
-
# The Amazon Resource Names (
|
354
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
240
355
|
# @return [Array<String>]
|
241
356
|
#
|
242
357
|
# @!attribute [rw] principals
|
@@ -292,6 +407,41 @@ module Aws::RAM
|
|
292
407
|
include Aws::Structure
|
293
408
|
end
|
294
409
|
|
410
|
+
# @note When making an API call, you may pass GetPermissionRequest
|
411
|
+
# data as a hash:
|
412
|
+
#
|
413
|
+
# {
|
414
|
+
# permission_arn: "String", # required
|
415
|
+
# permission_version: 1,
|
416
|
+
# }
|
417
|
+
#
|
418
|
+
# @!attribute [rw] permission_arn
|
419
|
+
# The ARN of the permission.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] permission_version
|
423
|
+
# The identifier for the version of the permission.
|
424
|
+
# @return [Integer]
|
425
|
+
#
|
426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermissionRequest AWS API Documentation
|
427
|
+
#
|
428
|
+
class GetPermissionRequest < Struct.new(
|
429
|
+
:permission_arn,
|
430
|
+
:permission_version)
|
431
|
+
include Aws::Structure
|
432
|
+
end
|
433
|
+
|
434
|
+
# @!attribute [rw] permission
|
435
|
+
# Information about the permission.
|
436
|
+
# @return [Types::ResourceSharePermissionDetail]
|
437
|
+
#
|
438
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermissionResponse AWS API Documentation
|
439
|
+
#
|
440
|
+
class GetPermissionResponse < Struct.new(
|
441
|
+
:permission)
|
442
|
+
include Aws::Structure
|
443
|
+
end
|
444
|
+
|
295
445
|
# @note When making an API call, you may pass GetResourcePoliciesRequest
|
296
446
|
# data as a hash:
|
297
447
|
#
|
@@ -361,7 +511,10 @@ module Aws::RAM
|
|
361
511
|
# }
|
362
512
|
#
|
363
513
|
# @!attribute [rw] association_type
|
364
|
-
# The association type.
|
514
|
+
# The association type. Specify `PRINCIPAL` to list the principals
|
515
|
+
# that are associated with the specified resource share. Specify
|
516
|
+
# `RESOURCE` to list the resources that are associated with the
|
517
|
+
# specified resource share.
|
365
518
|
# @return [String]
|
366
519
|
#
|
367
520
|
# @!attribute [rw] resource_share_arns
|
@@ -690,6 +843,57 @@ module Aws::RAM
|
|
690
843
|
include Aws::Structure
|
691
844
|
end
|
692
845
|
|
846
|
+
# @note When making an API call, you may pass ListPermissionsRequest
|
847
|
+
# data as a hash:
|
848
|
+
#
|
849
|
+
# {
|
850
|
+
# resource_type: "String",
|
851
|
+
# next_token: "String",
|
852
|
+
# max_results: 1,
|
853
|
+
# }
|
854
|
+
#
|
855
|
+
# @!attribute [rw] resource_type
|
856
|
+
# Specifies the resource type for which to list permissions. For
|
857
|
+
# example, to list only permissions that apply to EC2 subnets, specify
|
858
|
+
# `ec2:Subnet`.
|
859
|
+
# @return [String]
|
860
|
+
#
|
861
|
+
# @!attribute [rw] next_token
|
862
|
+
# The token for the next page of results.
|
863
|
+
# @return [String]
|
864
|
+
#
|
865
|
+
# @!attribute [rw] max_results
|
866
|
+
# The maximum number of results to return with a single call. To
|
867
|
+
# retrieve the remaining results, make another call with the returned
|
868
|
+
# `nextToken` value.
|
869
|
+
# @return [Integer]
|
870
|
+
#
|
871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionsRequest AWS API Documentation
|
872
|
+
#
|
873
|
+
class ListPermissionsRequest < Struct.new(
|
874
|
+
:resource_type,
|
875
|
+
:next_token,
|
876
|
+
:max_results)
|
877
|
+
include Aws::Structure
|
878
|
+
end
|
879
|
+
|
880
|
+
# @!attribute [rw] permissions
|
881
|
+
# Information about the permissions.
|
882
|
+
# @return [Array<Types::ResourceSharePermissionSummary>]
|
883
|
+
#
|
884
|
+
# @!attribute [rw] next_token
|
885
|
+
# The token to use to retrieve the next page of results. This value is
|
886
|
+
# `null` when there are no more results to return.
|
887
|
+
# @return [String]
|
888
|
+
#
|
889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionsResponse AWS API Documentation
|
890
|
+
#
|
891
|
+
class ListPermissionsResponse < Struct.new(
|
892
|
+
:permissions,
|
893
|
+
:next_token)
|
894
|
+
include Aws::Structure
|
895
|
+
end
|
896
|
+
|
693
897
|
# @note When making an API call, you may pass ListPrincipalsRequest
|
694
898
|
# data as a hash:
|
695
899
|
#
|
@@ -718,8 +922,10 @@ module Aws::RAM
|
|
718
922
|
# @!attribute [rw] resource_type
|
719
923
|
# The resource type.
|
720
924
|
#
|
721
|
-
# Valid values: `
|
722
|
-
#
|
925
|
+
# Valid values: `ec2:CapacityReservation` \| `ec2:Subnet` \|
|
926
|
+
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
927
|
+
# `license-manager:LicenseConfiguration` \| `rds:Cluster` \|
|
928
|
+
# `route53resolver:ResolverRule` I `resource-groups:Group`
|
723
929
|
# @return [String]
|
724
930
|
#
|
725
931
|
# @!attribute [rw] resource_share_arns
|
@@ -766,6 +972,55 @@ module Aws::RAM
|
|
766
972
|
include Aws::Structure
|
767
973
|
end
|
768
974
|
|
975
|
+
# @note When making an API call, you may pass ListResourceSharePermissionsRequest
|
976
|
+
# data as a hash:
|
977
|
+
#
|
978
|
+
# {
|
979
|
+
# resource_share_arn: "String", # required
|
980
|
+
# next_token: "String",
|
981
|
+
# max_results: 1,
|
982
|
+
# }
|
983
|
+
#
|
984
|
+
# @!attribute [rw] resource_share_arn
|
985
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
986
|
+
# @return [String]
|
987
|
+
#
|
988
|
+
# @!attribute [rw] next_token
|
989
|
+
# The token for the next page of results.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @!attribute [rw] max_results
|
993
|
+
# The maximum number of results to return with a single call. To
|
994
|
+
# retrieve the remaining results, make another call with the returned
|
995
|
+
# `nextToken` value.
|
996
|
+
# @return [Integer]
|
997
|
+
#
|
998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissionsRequest AWS API Documentation
|
999
|
+
#
|
1000
|
+
class ListResourceSharePermissionsRequest < Struct.new(
|
1001
|
+
:resource_share_arn,
|
1002
|
+
:next_token,
|
1003
|
+
:max_results)
|
1004
|
+
include Aws::Structure
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
# @!attribute [rw] permissions
|
1008
|
+
# The permissions associated with the resource share.
|
1009
|
+
# @return [Array<Types::ResourceSharePermissionSummary>]
|
1010
|
+
#
|
1011
|
+
# @!attribute [rw] next_token
|
1012
|
+
# The token to use to retrieve the next page of results. This value is
|
1013
|
+
# `null` when there are no more results to return.
|
1014
|
+
# @return [String]
|
1015
|
+
#
|
1016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissionsResponse AWS API Documentation
|
1017
|
+
#
|
1018
|
+
class ListResourceSharePermissionsResponse < Struct.new(
|
1019
|
+
:permissions,
|
1020
|
+
:next_token)
|
1021
|
+
include Aws::Structure
|
1022
|
+
end
|
1023
|
+
|
769
1024
|
# @note When making an API call, you may pass ListResourcesRequest
|
770
1025
|
# data as a hash:
|
771
1026
|
#
|
@@ -790,8 +1045,10 @@ module Aws::RAM
|
|
790
1045
|
# @!attribute [rw] resource_type
|
791
1046
|
# The resource type.
|
792
1047
|
#
|
793
|
-
# Valid values: `
|
794
|
-
#
|
1048
|
+
# Valid values: `ec2:CapacityReservation` \| `ec2:Subnet` \|
|
1049
|
+
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1050
|
+
# `license-manager:LicenseConfiguration` \| `rds:Cluster` \|
|
1051
|
+
# `route53resolver:ResolverRule` \| `resource-groups:Group`
|
795
1052
|
# @return [String]
|
796
1053
|
#
|
797
1054
|
# @!attribute [rw] resource_arns
|
@@ -912,6 +1169,35 @@ module Aws::RAM
|
|
912
1169
|
include Aws::Structure
|
913
1170
|
end
|
914
1171
|
|
1172
|
+
# @note When making an API call, you may pass PromoteResourceShareCreatedFromPolicyRequest
|
1173
|
+
# data as a hash:
|
1174
|
+
#
|
1175
|
+
# {
|
1176
|
+
# resource_share_arn: "String", # required
|
1177
|
+
# }
|
1178
|
+
#
|
1179
|
+
# @!attribute [rw] resource_share_arn
|
1180
|
+
# The ARN of the resource share to promote.
|
1181
|
+
# @return [String]
|
1182
|
+
#
|
1183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicyRequest AWS API Documentation
|
1184
|
+
#
|
1185
|
+
class PromoteResourceShareCreatedFromPolicyRequest < Struct.new(
|
1186
|
+
:resource_share_arn)
|
1187
|
+
include Aws::Structure
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
# @!attribute [rw] return_value
|
1191
|
+
# Indicates whether the request succeeded.
|
1192
|
+
# @return [Boolean]
|
1193
|
+
#
|
1194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicyResponse AWS API Documentation
|
1195
|
+
#
|
1196
|
+
class PromoteResourceShareCreatedFromPolicyResponse < Struct.new(
|
1197
|
+
:return_value)
|
1198
|
+
include Aws::Structure
|
1199
|
+
end
|
1200
|
+
|
915
1201
|
# @note When making an API call, you may pass RejectResourceShareInvitationRequest
|
916
1202
|
# data as a hash:
|
917
1203
|
#
|
@@ -968,6 +1254,11 @@ module Aws::RAM
|
|
968
1254
|
# The Amazon Resource Name (ARN) of the resource share.
|
969
1255
|
# @return [String]
|
970
1256
|
#
|
1257
|
+
# @!attribute [rw] resource_group_arn
|
1258
|
+
# The ARN of the resource group. This value is returned only if the
|
1259
|
+
# resource is a resource group.
|
1260
|
+
# @return [String]
|
1261
|
+
#
|
971
1262
|
# @!attribute [rw] status
|
972
1263
|
# The status of the resource.
|
973
1264
|
# @return [String]
|
@@ -990,6 +1281,7 @@ module Aws::RAM
|
|
990
1281
|
:arn,
|
991
1282
|
:type,
|
992
1283
|
:resource_share_arn,
|
1284
|
+
:resource_group_arn,
|
993
1285
|
:status,
|
994
1286
|
:status_message,
|
995
1287
|
:creation_time,
|
@@ -1048,6 +1340,25 @@ module Aws::RAM
|
|
1048
1340
|
# The time when the resource share was last updated.
|
1049
1341
|
# @return [Time]
|
1050
1342
|
#
|
1343
|
+
# @!attribute [rw] feature_set
|
1344
|
+
# Indicates how the resource share was created. Possible values
|
1345
|
+
# include:
|
1346
|
+
#
|
1347
|
+
# * `CREATED_FROM_POLICY` - Indicates that the resource share was
|
1348
|
+
# created from an AWS Identity and Access Management (AWS IAM)
|
1349
|
+
# policy attached to a resource. These resource shares are visible
|
1350
|
+
# only to the AWS account that created it. They cannot be modified
|
1351
|
+
# in AWS RAM.
|
1352
|
+
#
|
1353
|
+
# * `PROMOTING_TO_STANDARD` - The resource share is in the process of
|
1354
|
+
# being promoted. For more information, see
|
1355
|
+
# PromoteResourceShareCreatedFromPolicy.
|
1356
|
+
#
|
1357
|
+
# * `STANDARD` - Indicates that the resource share was created in AWS
|
1358
|
+
# RAM using the console or APIs. These resource shares are visible
|
1359
|
+
# to all principals. They can be modified in AWS RAM.
|
1360
|
+
# @return [String]
|
1361
|
+
#
|
1051
1362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShare AWS API Documentation
|
1052
1363
|
#
|
1053
1364
|
class ResourceShare < Struct.new(
|
@@ -1059,7 +1370,8 @@ module Aws::RAM
|
|
1059
1370
|
:status_message,
|
1060
1371
|
:tags,
|
1061
1372
|
:creation_time,
|
1062
|
-
:last_updated_time
|
1373
|
+
:last_updated_time,
|
1374
|
+
:feature_set)
|
1063
1375
|
include Aws::Structure
|
1064
1376
|
end
|
1065
1377
|
|
@@ -1151,7 +1463,7 @@ module Aws::RAM
|
|
1151
1463
|
#
|
1152
1464
|
# @!attribute [rw] resource_share_associations
|
1153
1465
|
# To view the resources associated with a pending resource share
|
1154
|
-
# invitation, use [ListPendingInvitationResources][1].
|
1466
|
+
# invitation, use [ ListPendingInvitationResources][1].
|
1155
1467
|
#
|
1156
1468
|
#
|
1157
1469
|
#
|
@@ -1232,6 +1544,108 @@ module Aws::RAM
|
|
1232
1544
|
include Aws::Structure
|
1233
1545
|
end
|
1234
1546
|
|
1547
|
+
# Information about an AWS RAM permission.
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] arn
|
1550
|
+
# The ARN of the permission.
|
1551
|
+
# @return [String]
|
1552
|
+
#
|
1553
|
+
# @!attribute [rw] version
|
1554
|
+
# The identifier for the version of the permission.
|
1555
|
+
# @return [String]
|
1556
|
+
#
|
1557
|
+
# @!attribute [rw] default_version
|
1558
|
+
# The identifier for the version of the permission that is set as the
|
1559
|
+
# default version.
|
1560
|
+
# @return [Boolean]
|
1561
|
+
#
|
1562
|
+
# @!attribute [rw] name
|
1563
|
+
# The name of the permission.
|
1564
|
+
# @return [String]
|
1565
|
+
#
|
1566
|
+
# @!attribute [rw] resource_type
|
1567
|
+
# The resource type to which the permission applies.
|
1568
|
+
# @return [String]
|
1569
|
+
#
|
1570
|
+
# @!attribute [rw] permission
|
1571
|
+
# The permission's effect and actions in JSON format. The `effect`
|
1572
|
+
# indicates whether the actions are allowed or denied. The `actions`
|
1573
|
+
# list the API actions to which the principal is granted or denied
|
1574
|
+
# access.
|
1575
|
+
# @return [String]
|
1576
|
+
#
|
1577
|
+
# @!attribute [rw] creation_time
|
1578
|
+
# The date and time when the permission was created.
|
1579
|
+
# @return [Time]
|
1580
|
+
#
|
1581
|
+
# @!attribute [rw] last_updated_time
|
1582
|
+
# The date and time when the permission was last updated.
|
1583
|
+
# @return [Time]
|
1584
|
+
#
|
1585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
|
1586
|
+
#
|
1587
|
+
class ResourceSharePermissionDetail < Struct.new(
|
1588
|
+
:arn,
|
1589
|
+
:version,
|
1590
|
+
:default_version,
|
1591
|
+
:name,
|
1592
|
+
:resource_type,
|
1593
|
+
:permission,
|
1594
|
+
:creation_time,
|
1595
|
+
:last_updated_time)
|
1596
|
+
include Aws::Structure
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
# Information about a permission that is associated with a resource
|
1600
|
+
# share.
|
1601
|
+
#
|
1602
|
+
# @!attribute [rw] arn
|
1603
|
+
# The ARN of the permission.
|
1604
|
+
# @return [String]
|
1605
|
+
#
|
1606
|
+
# @!attribute [rw] version
|
1607
|
+
# The identifier for the version of the permission.
|
1608
|
+
# @return [String]
|
1609
|
+
#
|
1610
|
+
# @!attribute [rw] default_version
|
1611
|
+
# The identifier for the version of the permission that is set as the
|
1612
|
+
# default version.
|
1613
|
+
# @return [Boolean]
|
1614
|
+
#
|
1615
|
+
# @!attribute [rw] name
|
1616
|
+
# The name of the permission.
|
1617
|
+
# @return [String]
|
1618
|
+
#
|
1619
|
+
# @!attribute [rw] resource_type
|
1620
|
+
# The type of resource to which the permission applies.
|
1621
|
+
# @return [String]
|
1622
|
+
#
|
1623
|
+
# @!attribute [rw] status
|
1624
|
+
# The current status of the permission.
|
1625
|
+
# @return [String]
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] creation_time
|
1628
|
+
# The date and time when the permission was created.
|
1629
|
+
# @return [Time]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] last_updated_time
|
1632
|
+
# The date and time when the permission was last updated.
|
1633
|
+
# @return [Time]
|
1634
|
+
#
|
1635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
|
1636
|
+
#
|
1637
|
+
class ResourceSharePermissionSummary < Struct.new(
|
1638
|
+
:arn,
|
1639
|
+
:version,
|
1640
|
+
:default_version,
|
1641
|
+
:name,
|
1642
|
+
:resource_type,
|
1643
|
+
:status,
|
1644
|
+
:creation_time,
|
1645
|
+
:last_updated_time)
|
1646
|
+
include Aws::Structure
|
1647
|
+
end
|
1648
|
+
|
1235
1649
|
# The service could not respond to the request due to an internal
|
1236
1650
|
# problem.
|
1237
1651
|
#
|