aws-sdk-ram 1.40.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-ram/client.rb +1 -1
- data/lib/aws-sdk-ram/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ram/endpoint_provider.rb +44 -95
- data/lib/aws-sdk-ram/types.rb +0 -269
- data/lib/aws-sdk-ram.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b18a14d82b658e54a4f2eb362d3da28ac730d3787e83261341d0afa217d6159
|
4
|
+
data.tar.gz: 0d1912ea9a7b6e104fe20ad5fb39fe26dfb8012f67bbbb35ca5112225b540598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59880222dbc484deb36b0bc75b6afe400f3bd2f39034bda2c5c7c8ac1d166e0771361f8fb3293233a8c202f9864d067890ec5d530f9b8862bb2edea74767f98a
|
7
|
+
data.tar.gz: 3f99402316645778370e48cb0130f95843b1416dc16bacf3dbca92ce3464cae49a135133932f1559394ac40b122346c3b0143ba85562eeab01d5ede804b2e28d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.41.0 (2023-01-09)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Enabled FIPS aws-us-gov endpoints in SDK.
|
15
|
+
|
4
16
|
1.40.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -215,4 +227,4 @@ Unreleased Changes
|
|
215
227
|
1.0.0 (2018-11-15)
|
216
228
|
------------------
|
217
229
|
|
218
|
-
* Feature - Initial release of `aws-sdk-ram`.
|
230
|
+
* Feature - Initial release of `aws-sdk-ram`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -50,6 +50,9 @@ module Aws::RAM
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,103 +9,52 @@
|
|
9
9
|
|
10
10
|
module Aws::RAM
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram.#{region}.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
50
|
+
end
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
53
|
+
end
|
54
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ram.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
55
|
end
|
22
|
-
|
23
|
-
end
|
56
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
57
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
58
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR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9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
|
102
|
-
b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
|
103
|
-
dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
|
104
|
-
LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
|
105
|
-
Ijp7InVybCI6Imh0dHBzOi8vcmFtLntSZWdpb259LntQYXJ0aXRpb25SZXN1
|
106
|
-
bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
|
107
|
-
InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
108
|
-
|
109
|
-
JSON
|
110
59
|
end
|
111
60
|
end
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -10,14 +10,6 @@
|
|
10
10
|
module Aws::RAM
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AcceptResourceShareInvitationRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# resource_share_invitation_arn: "String", # required
|
18
|
-
# client_token: "String",
|
19
|
-
# }
|
20
|
-
#
|
21
13
|
# @!attribute [rw] resource_share_invitation_arn
|
22
14
|
# The [Amazon Resoure Name (ARN)][1] of the invitation that you want
|
23
15
|
# to accept.
|
@@ -73,17 +65,6 @@ module Aws::RAM
|
|
73
65
|
include Aws::Structure
|
74
66
|
end
|
75
67
|
|
76
|
-
# @note When making an API call, you may pass AssociateResourceSharePermissionRequest
|
77
|
-
# data as a hash:
|
78
|
-
#
|
79
|
-
# {
|
80
|
-
# resource_share_arn: "String", # required
|
81
|
-
# permission_arn: "String", # required
|
82
|
-
# replace: false,
|
83
|
-
# client_token: "String",
|
84
|
-
# permission_version: 1,
|
85
|
-
# }
|
86
|
-
#
|
87
68
|
# @!attribute [rw] resource_share_arn
|
88
69
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
89
70
|
# to which you want to add or replace permissions.
|
@@ -179,16 +160,6 @@ module Aws::RAM
|
|
179
160
|
include Aws::Structure
|
180
161
|
end
|
181
162
|
|
182
|
-
# @note When making an API call, you may pass AssociateResourceShareRequest
|
183
|
-
# data as a hash:
|
184
|
-
#
|
185
|
-
# {
|
186
|
-
# resource_share_arn: "String", # required
|
187
|
-
# resource_arns: ["String"],
|
188
|
-
# principals: ["String"],
|
189
|
-
# client_token: "String",
|
190
|
-
# }
|
191
|
-
#
|
192
163
|
# @!attribute [rw] resource_share_arn
|
193
164
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
194
165
|
# that you want to add principals or resources to.
|
@@ -294,24 +265,6 @@ module Aws::RAM
|
|
294
265
|
include Aws::Structure
|
295
266
|
end
|
296
267
|
|
297
|
-
# @note When making an API call, you may pass CreateResourceShareRequest
|
298
|
-
# data as a hash:
|
299
|
-
#
|
300
|
-
# {
|
301
|
-
# name: "String", # required
|
302
|
-
# resource_arns: ["String"],
|
303
|
-
# principals: ["String"],
|
304
|
-
# tags: [
|
305
|
-
# {
|
306
|
-
# key: "TagKey",
|
307
|
-
# value: "TagValue",
|
308
|
-
# },
|
309
|
-
# ],
|
310
|
-
# allow_external_principals: false,
|
311
|
-
# client_token: "String",
|
312
|
-
# permission_arns: ["String"],
|
313
|
-
# }
|
314
|
-
#
|
315
268
|
# @!attribute [rw] name
|
316
269
|
# Specifies the name of the resource share.
|
317
270
|
# @return [String]
|
@@ -434,14 +387,6 @@ module Aws::RAM
|
|
434
387
|
include Aws::Structure
|
435
388
|
end
|
436
389
|
|
437
|
-
# @note When making an API call, you may pass DeleteResourceShareRequest
|
438
|
-
# data as a hash:
|
439
|
-
#
|
440
|
-
# {
|
441
|
-
# resource_share_arn: "String", # required
|
442
|
-
# client_token: "String",
|
443
|
-
# }
|
444
|
-
#
|
445
390
|
# @!attribute [rw] resource_share_arn
|
446
391
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
447
392
|
# to delete.
|
@@ -498,15 +443,6 @@ module Aws::RAM
|
|
498
443
|
include Aws::Structure
|
499
444
|
end
|
500
445
|
|
501
|
-
# @note When making an API call, you may pass DisassociateResourceSharePermissionRequest
|
502
|
-
# data as a hash:
|
503
|
-
#
|
504
|
-
# {
|
505
|
-
# resource_share_arn: "String", # required
|
506
|
-
# permission_arn: "String", # required
|
507
|
-
# client_token: "String",
|
508
|
-
# }
|
509
|
-
#
|
510
446
|
# @!attribute [rw] resource_share_arn
|
511
447
|
# The [Amazon Resoure Name (ARN)][1] of the resource share from which
|
512
448
|
# you want to disassociate a permission.
|
@@ -574,16 +510,6 @@ module Aws::RAM
|
|
574
510
|
include Aws::Structure
|
575
511
|
end
|
576
512
|
|
577
|
-
# @note When making an API call, you may pass DisassociateResourceShareRequest
|
578
|
-
# data as a hash:
|
579
|
-
#
|
580
|
-
# {
|
581
|
-
# resource_share_arn: "String", # required
|
582
|
-
# resource_arns: ["String"],
|
583
|
-
# principals: ["String"],
|
584
|
-
# client_token: "String",
|
585
|
-
# }
|
586
|
-
#
|
587
513
|
# @!attribute [rw] resource_share_arn
|
588
514
|
# Specifies [Amazon Resoure Name (ARN)][1] of the resource share that
|
589
515
|
# you want to remove resources from.
|
@@ -707,14 +633,6 @@ module Aws::RAM
|
|
707
633
|
include Aws::Structure
|
708
634
|
end
|
709
635
|
|
710
|
-
# @note When making an API call, you may pass GetPermissionRequest
|
711
|
-
# data as a hash:
|
712
|
-
#
|
713
|
-
# {
|
714
|
-
# permission_arn: "String", # required
|
715
|
-
# permission_version: 1,
|
716
|
-
# }
|
717
|
-
#
|
718
636
|
# @!attribute [rw] permission_arn
|
719
637
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the permission whose
|
720
638
|
# contents you want to retrieve. To find the ARN for a permission, use
|
@@ -755,16 +673,6 @@ module Aws::RAM
|
|
755
673
|
include Aws::Structure
|
756
674
|
end
|
757
675
|
|
758
|
-
# @note When making an API call, you may pass GetResourcePoliciesRequest
|
759
|
-
# data as a hash:
|
760
|
-
#
|
761
|
-
# {
|
762
|
-
# resource_arns: ["String"], # required
|
763
|
-
# principal: "String",
|
764
|
-
# next_token: "String",
|
765
|
-
# max_results: 1,
|
766
|
-
# }
|
767
|
-
#
|
768
676
|
# @!attribute [rw] resource_arns
|
769
677
|
# Specifies the [Amazon Resource Names (ARNs)][1] of the resources
|
770
678
|
# whose policies you want to retrieve.
|
@@ -832,19 +740,6 @@ module Aws::RAM
|
|
832
740
|
include Aws::Structure
|
833
741
|
end
|
834
742
|
|
835
|
-
# @note When making an API call, you may pass GetResourceShareAssociationsRequest
|
836
|
-
# data as a hash:
|
837
|
-
#
|
838
|
-
# {
|
839
|
-
# association_type: "PRINCIPAL", # required, accepts PRINCIPAL, RESOURCE
|
840
|
-
# resource_share_arns: ["String"],
|
841
|
-
# resource_arn: "String",
|
842
|
-
# principal: "String",
|
843
|
-
# association_status: "ASSOCIATING", # accepts ASSOCIATING, ASSOCIATED, FAILED, DISASSOCIATING, DISASSOCIATED
|
844
|
-
# next_token: "String",
|
845
|
-
# max_results: 1,
|
846
|
-
# }
|
847
|
-
#
|
848
743
|
# @!attribute [rw] association_type
|
849
744
|
# Specifies whether you want to retrieve the associations that involve
|
850
745
|
# a specified resource or principal.
|
@@ -953,16 +848,6 @@ module Aws::RAM
|
|
953
848
|
include Aws::Structure
|
954
849
|
end
|
955
850
|
|
956
|
-
# @note When making an API call, you may pass GetResourceShareInvitationsRequest
|
957
|
-
# data as a hash:
|
958
|
-
#
|
959
|
-
# {
|
960
|
-
# resource_share_invitation_arns: ["String"],
|
961
|
-
# resource_share_arns: ["String"],
|
962
|
-
# next_token: "String",
|
963
|
-
# max_results: 1,
|
964
|
-
# }
|
965
|
-
#
|
966
851
|
# @!attribute [rw] resource_share_invitation_arns
|
967
852
|
# Specifies the [Amazon Resource Names (ARNs)][1] of the resource
|
968
853
|
# share invitations you want information about.
|
@@ -1036,25 +921,6 @@ module Aws::RAM
|
|
1036
921
|
include Aws::Structure
|
1037
922
|
end
|
1038
923
|
|
1039
|
-
# @note When making an API call, you may pass GetResourceSharesRequest
|
1040
|
-
# data as a hash:
|
1041
|
-
#
|
1042
|
-
# {
|
1043
|
-
# resource_share_arns: ["String"],
|
1044
|
-
# resource_share_status: "PENDING", # accepts PENDING, ACTIVE, FAILED, DELETING, DELETED
|
1045
|
-
# resource_owner: "SELF", # required, accepts SELF, OTHER-ACCOUNTS
|
1046
|
-
# name: "String",
|
1047
|
-
# tag_filters: [
|
1048
|
-
# {
|
1049
|
-
# tag_key: "TagKey",
|
1050
|
-
# tag_values: ["TagValue"],
|
1051
|
-
# },
|
1052
|
-
# ],
|
1053
|
-
# next_token: "String",
|
1054
|
-
# max_results: 1,
|
1055
|
-
# permission_arn: "String",
|
1056
|
-
# }
|
1057
|
-
#
|
1058
924
|
# @!attribute [rw] resource_share_arns
|
1059
925
|
# Specifies the [Amazon Resource Names (ARNs)][1] of individual
|
1060
926
|
# resource shares that you want information about.
|
@@ -1252,16 +1118,6 @@ module Aws::RAM
|
|
1252
1118
|
include Aws::Structure
|
1253
1119
|
end
|
1254
1120
|
|
1255
|
-
# @note When making an API call, you may pass ListPendingInvitationResourcesRequest
|
1256
|
-
# data as a hash:
|
1257
|
-
#
|
1258
|
-
# {
|
1259
|
-
# resource_share_invitation_arn: "String", # required
|
1260
|
-
# next_token: "String",
|
1261
|
-
# max_results: 1,
|
1262
|
-
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1263
|
-
# }
|
1264
|
-
#
|
1265
1121
|
# @!attribute [rw] resource_share_invitation_arn
|
1266
1122
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the invitation. You
|
1267
1123
|
# can use GetResourceShareInvitations to find the ARN of the
|
@@ -1343,15 +1199,6 @@ module Aws::RAM
|
|
1343
1199
|
include Aws::Structure
|
1344
1200
|
end
|
1345
1201
|
|
1346
|
-
# @note When making an API call, you may pass ListPermissionVersionsRequest
|
1347
|
-
# data as a hash:
|
1348
|
-
#
|
1349
|
-
# {
|
1350
|
-
# permission_arn: "String", # required
|
1351
|
-
# next_token: "String",
|
1352
|
-
# max_results: 1,
|
1353
|
-
# }
|
1354
|
-
#
|
1355
1202
|
# @!attribute [rw] permission_arn
|
1356
1203
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the RAM permission
|
1357
1204
|
# whose versions you want to list. You can use the `permissionVersion`
|
@@ -1417,15 +1264,6 @@ module Aws::RAM
|
|
1417
1264
|
include Aws::Structure
|
1418
1265
|
end
|
1419
1266
|
|
1420
|
-
# @note When making an API call, you may pass ListPermissionsRequest
|
1421
|
-
# data as a hash:
|
1422
|
-
#
|
1423
|
-
# {
|
1424
|
-
# resource_type: "String",
|
1425
|
-
# next_token: "String",
|
1426
|
-
# max_results: 1,
|
1427
|
-
# }
|
1428
|
-
#
|
1429
1267
|
# @!attribute [rw] resource_type
|
1430
1268
|
# Specifies that you want to list permissions for only the specified
|
1431
1269
|
# resource type. For example, to list only permissions that apply to
|
@@ -1486,19 +1324,6 @@ module Aws::RAM
|
|
1486
1324
|
include Aws::Structure
|
1487
1325
|
end
|
1488
1326
|
|
1489
|
-
# @note When making an API call, you may pass ListPrincipalsRequest
|
1490
|
-
# data as a hash:
|
1491
|
-
#
|
1492
|
-
# {
|
1493
|
-
# resource_owner: "SELF", # required, accepts SELF, OTHER-ACCOUNTS
|
1494
|
-
# resource_arn: "String",
|
1495
|
-
# principals: ["String"],
|
1496
|
-
# resource_type: "String",
|
1497
|
-
# resource_share_arns: ["String"],
|
1498
|
-
# next_token: "String",
|
1499
|
-
# max_results: 1,
|
1500
|
-
# }
|
1501
|
-
#
|
1502
1327
|
# @!attribute [rw] resource_owner
|
1503
1328
|
# Specifies that you want to list information for only resource shares
|
1504
1329
|
# that match the following:
|
@@ -1628,15 +1453,6 @@ module Aws::RAM
|
|
1628
1453
|
include Aws::Structure
|
1629
1454
|
end
|
1630
1455
|
|
1631
|
-
# @note When making an API call, you may pass ListResourceSharePermissionsRequest
|
1632
|
-
# data as a hash:
|
1633
|
-
#
|
1634
|
-
# {
|
1635
|
-
# resource_share_arn: "String", # required
|
1636
|
-
# next_token: "String",
|
1637
|
-
# max_results: 1,
|
1638
|
-
# }
|
1639
|
-
#
|
1640
1456
|
# @!attribute [rw] resource_share_arn
|
1641
1457
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
1642
1458
|
# for which you want to retrieve the associated permissions.
|
@@ -1700,15 +1516,6 @@ module Aws::RAM
|
|
1700
1516
|
include Aws::Structure
|
1701
1517
|
end
|
1702
1518
|
|
1703
|
-
# @note When making an API call, you may pass ListResourceTypesRequest
|
1704
|
-
# data as a hash:
|
1705
|
-
#
|
1706
|
-
# {
|
1707
|
-
# next_token: "String",
|
1708
|
-
# max_results: 1,
|
1709
|
-
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1710
|
-
# }
|
1711
|
-
#
|
1712
1519
|
# @!attribute [rw] next_token
|
1713
1520
|
# Specifies that you want to receive the next page of results. Valid
|
1714
1521
|
# only if you received a `NextToken` response in the previous request.
|
@@ -1779,20 +1586,6 @@ module Aws::RAM
|
|
1779
1586
|
include Aws::Structure
|
1780
1587
|
end
|
1781
1588
|
|
1782
|
-
# @note When making an API call, you may pass ListResourcesRequest
|
1783
|
-
# data as a hash:
|
1784
|
-
#
|
1785
|
-
# {
|
1786
|
-
# resource_owner: "SELF", # required, accepts SELF, OTHER-ACCOUNTS
|
1787
|
-
# principal: "String",
|
1788
|
-
# resource_type: "String",
|
1789
|
-
# resource_arns: ["String"],
|
1790
|
-
# resource_share_arns: ["String"],
|
1791
|
-
# next_token: "String",
|
1792
|
-
# max_results: 1,
|
1793
|
-
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1794
|
-
# }
|
1795
|
-
#
|
1796
1589
|
# @!attribute [rw] resource_owner
|
1797
1590
|
# Specifies that you want to list only the resource shares that match
|
1798
1591
|
# the following:
|
@@ -1991,13 +1784,6 @@ module Aws::RAM
|
|
1991
1784
|
include Aws::Structure
|
1992
1785
|
end
|
1993
1786
|
|
1994
|
-
# @note When making an API call, you may pass PromoteResourceShareCreatedFromPolicyRequest
|
1995
|
-
# data as a hash:
|
1996
|
-
#
|
1997
|
-
# {
|
1998
|
-
# resource_share_arn: "String", # required
|
1999
|
-
# }
|
2000
|
-
#
|
2001
1787
|
# @!attribute [rw] resource_share_arn
|
2002
1788
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2003
1789
|
# to promote.
|
@@ -2028,14 +1814,6 @@ module Aws::RAM
|
|
2028
1814
|
include Aws::Structure
|
2029
1815
|
end
|
2030
1816
|
|
2031
|
-
# @note When making an API call, you may pass RejectResourceShareInvitationRequest
|
2032
|
-
# data as a hash:
|
2033
|
-
#
|
2034
|
-
# {
|
2035
|
-
# resource_share_invitation_arn: "String", # required
|
2036
|
-
# client_token: "String",
|
2037
|
-
# }
|
2038
|
-
#
|
2039
1817
|
# @!attribute [rw] resource_share_invitation_arn
|
2040
1818
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the invitation that
|
2041
1819
|
# you want to reject.
|
@@ -2682,14 +2460,6 @@ module Aws::RAM
|
|
2682
2460
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html
|
2683
2461
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
2684
2462
|
#
|
2685
|
-
# @note When making an API call, you may pass Tag
|
2686
|
-
# data as a hash:
|
2687
|
-
#
|
2688
|
-
# {
|
2689
|
-
# key: "TagKey",
|
2690
|
-
# value: "TagValue",
|
2691
|
-
# }
|
2692
|
-
#
|
2693
2463
|
# @!attribute [rw] key
|
2694
2464
|
# The key, or name, attached to the tag. Every tag must have a key.
|
2695
2465
|
# Key names are case sensitive.
|
@@ -2712,14 +2482,6 @@ module Aws::RAM
|
|
2712
2482
|
# A tag key and optional list of possible values that you can use to
|
2713
2483
|
# filter results for tagged resources.
|
2714
2484
|
#
|
2715
|
-
# @note When making an API call, you may pass TagFilter
|
2716
|
-
# data as a hash:
|
2717
|
-
#
|
2718
|
-
# {
|
2719
|
-
# tag_key: "TagKey",
|
2720
|
-
# tag_values: ["TagValue"],
|
2721
|
-
# }
|
2722
|
-
#
|
2723
2485
|
# @!attribute [rw] tag_key
|
2724
2486
|
# The tag key. This must have a valid string value and can't be
|
2725
2487
|
# empty.
|
@@ -2766,19 +2528,6 @@ module Aws::RAM
|
|
2766
2528
|
include Aws::Structure
|
2767
2529
|
end
|
2768
2530
|
|
2769
|
-
# @note When making an API call, you may pass TagResourceRequest
|
2770
|
-
# data as a hash:
|
2771
|
-
#
|
2772
|
-
# {
|
2773
|
-
# resource_share_arn: "String", # required
|
2774
|
-
# tags: [ # required
|
2775
|
-
# {
|
2776
|
-
# key: "TagKey",
|
2777
|
-
# value: "TagValue",
|
2778
|
-
# },
|
2779
|
-
# ],
|
2780
|
-
# }
|
2781
|
-
#
|
2782
2531
|
# @!attribute [rw] resource_share_arn
|
2783
2532
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2784
2533
|
# that you want to add tags to.
|
@@ -2834,14 +2583,6 @@ module Aws::RAM
|
|
2834
2583
|
include Aws::Structure
|
2835
2584
|
end
|
2836
2585
|
|
2837
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
2838
|
-
# data as a hash:
|
2839
|
-
#
|
2840
|
-
# {
|
2841
|
-
# resource_share_arn: "String", # required
|
2842
|
-
# tag_keys: ["TagKey"], # required
|
2843
|
-
# }
|
2844
|
-
#
|
2845
2586
|
# @!attribute [rw] resource_share_arn
|
2846
2587
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2847
2588
|
# that you want to remove tags from. The tags are removed from the
|
@@ -2869,16 +2610,6 @@ module Aws::RAM
|
|
2869
2610
|
#
|
2870
2611
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
2871
2612
|
|
2872
|
-
# @note When making an API call, you may pass UpdateResourceShareRequest
|
2873
|
-
# data as a hash:
|
2874
|
-
#
|
2875
|
-
# {
|
2876
|
-
# resource_share_arn: "String", # required
|
2877
|
-
# name: "String",
|
2878
|
-
# allow_external_principals: false,
|
2879
|
-
# client_token: "String",
|
2880
|
-
# }
|
2881
|
-
#
|
2882
2613
|
# @!attribute [rw] resource_share_arn
|
2883
2614
|
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2884
2615
|
# that you want to modify.
|
data/lib/aws-sdk-ram.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|