aws-sdk-ram 1.48.0 → 1.49.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 +17 -2
- data/lib/aws-sdk-ram/client_api.rb +7 -0
- data/lib/aws-sdk-ram/types.rb +22 -4
- 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: 9b53bf6b86708ec1ecbfb293e714b2ac62d3fecbf4ae3f068140e884547b0bf8
|
4
|
+
data.tar.gz: c05503744941edfb7f2e53fd89886f83ac48a8764fd135bad190866eb8247529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec9aecc3ee5acb4986d15223b5d5ff8efc8f28793ece68801130a64cc7c7987f2c2465661aee940843006212ab1b6d830f4f3db94edd7ee6999759eff699cf12
|
7
|
+
data.tar.gz: 1942beee416e36488e7340d900236ff552321c2d2383e8fbbc1a98c1df8186449d584669de403626d9487e92fe76413077d2a6f6891634e6a85c53bbd0de5bf7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -540,6 +540,10 @@ module Aws::RAM
|
|
540
540
|
#
|
541
541
|
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
542
542
|
#
|
543
|
+
# @option params [Array<String>] :sources
|
544
|
+
# Specifies from which source accounts the service principal has access
|
545
|
+
# to the resources in this resource share.
|
546
|
+
#
|
543
547
|
# @return [Types::AssociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
544
548
|
#
|
545
549
|
# * {Types::AssociateResourceShareResponse#resource_share_associations #resource_share_associations} => Array<Types::ResourceShareAssociation>
|
@@ -552,6 +556,7 @@ module Aws::RAM
|
|
552
556
|
# resource_arns: ["String"],
|
553
557
|
# principals: ["String"],
|
554
558
|
# client_token: "String",
|
559
|
+
# sources: ["String"],
|
555
560
|
# })
|
556
561
|
#
|
557
562
|
# @example Response structure
|
@@ -1004,6 +1009,10 @@ module Aws::RAM
|
|
1004
1009
|
#
|
1005
1010
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1006
1011
|
#
|
1012
|
+
# @option params [Array<String>] :sources
|
1013
|
+
# Specifies from which source accounts the service principal has access
|
1014
|
+
# to the resources in this resource share.
|
1015
|
+
#
|
1007
1016
|
# @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1008
1017
|
#
|
1009
1018
|
# * {Types::CreateResourceShareResponse#resource_share #resource_share} => Types::ResourceShare
|
@@ -1024,6 +1033,7 @@ module Aws::RAM
|
|
1024
1033
|
# allow_external_principals: false,
|
1025
1034
|
# client_token: "String",
|
1026
1035
|
# permission_arns: ["String"],
|
1036
|
+
# sources: ["String"],
|
1027
1037
|
# })
|
1028
1038
|
#
|
1029
1039
|
# @example Response structure
|
@@ -1322,6 +1332,10 @@ module Aws::RAM
|
|
1322
1332
|
#
|
1323
1333
|
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
1324
1334
|
#
|
1335
|
+
# @option params [Array<String>] :sources
|
1336
|
+
# Specifies from which source accounts the service principal no longer
|
1337
|
+
# has access to the resources in this resource share.
|
1338
|
+
#
|
1325
1339
|
# @return [Types::DisassociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1326
1340
|
#
|
1327
1341
|
# * {Types::DisassociateResourceShareResponse#resource_share_associations #resource_share_associations} => Array<Types::ResourceShareAssociation>
|
@@ -1334,6 +1348,7 @@ module Aws::RAM
|
|
1334
1348
|
# resource_arns: ["String"],
|
1335
1349
|
# principals: ["String"],
|
1336
1350
|
# client_token: "String",
|
1351
|
+
# sources: ["String"],
|
1337
1352
|
# })
|
1338
1353
|
#
|
1339
1354
|
# @example Response structure
|
@@ -1617,7 +1632,7 @@ module Aws::RAM
|
|
1617
1632
|
# Specifies the ID of the principal whose resource shares you want to
|
1618
1633
|
# retrieve. This can be an Amazon Web Services account ID, an
|
1619
1634
|
# organization ID, an organizational unit ID, or the [Amazon Resource
|
1620
|
-
# Name (ARN)][1] of an individual IAM
|
1635
|
+
# Name (ARN)][1] of an individual IAM role or user.
|
1621
1636
|
#
|
1622
1637
|
# You cannot specify this parameter if the association type is
|
1623
1638
|
# `RESOURCE`.
|
@@ -3272,7 +3287,7 @@ module Aws::RAM
|
|
3272
3287
|
params: params,
|
3273
3288
|
config: config)
|
3274
3289
|
context[:gem_name] = 'aws-sdk-ram'
|
3275
|
-
context[:gem_version] = '1.
|
3290
|
+
context[:gem_version] = '1.49.0'
|
3276
3291
|
Seahorse::Client::Request.new(handlers, context)
|
3277
3292
|
end
|
3278
3293
|
|
@@ -144,6 +144,7 @@ module Aws::RAM
|
|
144
144
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
145
145
|
SetDefaultPermissionVersionRequest = Shapes::StructureShape.new(name: 'SetDefaultPermissionVersionRequest')
|
146
146
|
SetDefaultPermissionVersionResponse = Shapes::StructureShape.new(name: 'SetDefaultPermissionVersionResponse')
|
147
|
+
SourceArnOrAccountList = Shapes::ListShape.new(name: 'SourceArnOrAccountList')
|
147
148
|
String = Shapes::StringShape.new(name: 'String')
|
148
149
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
149
150
|
TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
|
@@ -188,6 +189,7 @@ module Aws::RAM
|
|
188
189
|
AssociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
189
190
|
AssociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
190
191
|
AssociateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
192
|
+
AssociateResourceShareRequest.add_member(:sources, Shapes::ShapeRef.new(shape: SourceArnOrAccountList, location_name: "sources"))
|
191
193
|
AssociateResourceShareRequest.struct_class = Types::AssociateResourceShareRequest
|
192
194
|
|
193
195
|
AssociateResourceShareResponse.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
@@ -233,6 +235,7 @@ module Aws::RAM
|
|
233
235
|
CreateResourceShareRequest.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
234
236
|
CreateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
235
237
|
CreateResourceShareRequest.add_member(:permission_arns, Shapes::ShapeRef.new(shape: PermissionArnList, location_name: "permissionArns"))
|
238
|
+
CreateResourceShareRequest.add_member(:sources, Shapes::ShapeRef.new(shape: SourceArnOrAccountList, location_name: "sources"))
|
236
239
|
CreateResourceShareRequest.struct_class = Types::CreateResourceShareRequest
|
237
240
|
|
238
241
|
CreateResourceShareResponse.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShare, location_name: "resourceShare"))
|
@@ -279,6 +282,7 @@ module Aws::RAM
|
|
279
282
|
DisassociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
280
283
|
DisassociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
281
284
|
DisassociateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
285
|
+
DisassociateResourceShareRequest.add_member(:sources, Shapes::ShapeRef.new(shape: SourceArnOrAccountList, location_name: "sources"))
|
282
286
|
DisassociateResourceShareRequest.struct_class = Types::DisassociateResourceShareRequest
|
283
287
|
|
284
288
|
DisassociateResourceShareResponse.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, location_name: "resourceShareAssociations"))
|
@@ -681,6 +685,8 @@ module Aws::RAM
|
|
681
685
|
SetDefaultPermissionVersionResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
682
686
|
SetDefaultPermissionVersionResponse.struct_class = Types::SetDefaultPermissionVersionResponse
|
683
687
|
|
688
|
+
SourceArnOrAccountList.member = Shapes::ShapeRef.new(shape: String)
|
689
|
+
|
684
690
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
|
685
691
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
686
692
|
Tag.struct_class = Types::Tag
|
@@ -859,6 +865,7 @@ module Aws::RAM
|
|
859
865
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
860
866
|
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
861
867
|
o.errors << Shapes::ShapeRef.new(shape: TagPolicyViolationException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
862
869
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
863
870
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
864
871
|
end)
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -253,13 +253,19 @@ module Aws::RAM
|
|
253
253
|
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
254
254
|
# @return [String]
|
255
255
|
#
|
256
|
+
# @!attribute [rw] sources
|
257
|
+
# Specifies from which source accounts the service principal has
|
258
|
+
# access to the resources in this resource share.
|
259
|
+
# @return [Array<String>]
|
260
|
+
#
|
256
261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShareRequest AWS API Documentation
|
257
262
|
#
|
258
263
|
class AssociateResourceShareRequest < Struct.new(
|
259
264
|
:resource_share_arn,
|
260
265
|
:resource_arns,
|
261
266
|
:principals,
|
262
|
-
:client_token
|
267
|
+
:client_token,
|
268
|
+
:sources)
|
263
269
|
SENSITIVE = []
|
264
270
|
include Aws::Structure
|
265
271
|
end
|
@@ -671,6 +677,11 @@ module Aws::RAM
|
|
671
677
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
672
678
|
# @return [Array<String>]
|
673
679
|
#
|
680
|
+
# @!attribute [rw] sources
|
681
|
+
# Specifies from which source accounts the service principal has
|
682
|
+
# access to the resources in this resource share.
|
683
|
+
# @return [Array<String>]
|
684
|
+
#
|
674
685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation
|
675
686
|
#
|
676
687
|
class CreateResourceShareRequest < Struct.new(
|
@@ -680,7 +691,8 @@ module Aws::RAM
|
|
680
691
|
:tags,
|
681
692
|
:allow_external_principals,
|
682
693
|
:client_token,
|
683
|
-
:permission_arns
|
694
|
+
:permission_arns,
|
695
|
+
:sources)
|
684
696
|
SENSITIVE = []
|
685
697
|
include Aws::Structure
|
686
698
|
end
|
@@ -1060,13 +1072,19 @@ module Aws::RAM
|
|
1060
1072
|
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
1061
1073
|
# @return [String]
|
1062
1074
|
#
|
1075
|
+
# @!attribute [rw] sources
|
1076
|
+
# Specifies from which source accounts the service principal no longer
|
1077
|
+
# has access to the resources in this resource share.
|
1078
|
+
# @return [Array<String>]
|
1079
|
+
#
|
1063
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShareRequest AWS API Documentation
|
1064
1081
|
#
|
1065
1082
|
class DisassociateResourceShareRequest < Struct.new(
|
1066
1083
|
:resource_share_arn,
|
1067
1084
|
:resource_arns,
|
1068
1085
|
:principals,
|
1069
|
-
:client_token
|
1086
|
+
:client_token,
|
1087
|
+
:sources)
|
1070
1088
|
SENSITIVE = []
|
1071
1089
|
include Aws::Structure
|
1072
1090
|
end
|
@@ -1257,7 +1275,7 @@ module Aws::RAM
|
|
1257
1275
|
# Specifies the ID of the principal whose resource shares you want to
|
1258
1276
|
# retrieve. This can be an Amazon Web Services account ID, an
|
1259
1277
|
# organization ID, an organizational unit ID, or the [Amazon Resource
|
1260
|
-
# Name (ARN)][1] of an individual IAM
|
1278
|
+
# Name (ARN)][1] of an individual IAM role or user.
|
1261
1279
|
#
|
1262
1280
|
# You cannot specify this parameter if the association type is
|
1263
1281
|
# `RESOURCE`.
|
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.49.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: 2023-07-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|