aws-sdk-ram 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a62458ce92a5c081bccb6f55e4e8e60c13fe54621557bea81d379e60f5f8751
4
- data.tar.gz: c96f461c795b104a2a2eb565956248a2007b06516c7e2f2b766168be3a324f5f
3
+ metadata.gz: 9b53bf6b86708ec1ecbfb293e714b2ac62d3fecbf4ae3f068140e884547b0bf8
4
+ data.tar.gz: c05503744941edfb7f2e53fd89886f83ac48a8764fd135bad190866eb8247529
5
5
  SHA512:
6
- metadata.gz: 83102ead46271604b99f512a529ca5f9c9680b11823f62531cfe784310bf6ca8d32e3bdb7a0e8de7020f8fe5884aaeed394b11ee9d13a6573af1ed307985ebb9
7
- data.tar.gz: 5468164fe7487c76ebfd66ba7f11cbf6016f9f7a8af7936c7470831c78cd14df66ac35ac3d09fa5b23951514fd9a507d251e14f1d5d5deb41dc0b44fb3291237
6
+ metadata.gz: ec9aecc3ee5acb4986d15223b5d5ff8efc8f28793ece68801130a64cc7c7987f2c2465661aee940843006212ab1b6d830f4f3db94edd7ee6999759eff699cf12
7
+ data.tar.gz: 1942beee416e36488e7340d900236ff552321c2d2383e8fbbc1a98c1df8186449d584669de403626d9487e92fe76413077d2a6f6891634e6a85c53bbd0de5bf7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2023-07-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for securely sharing with AWS service principals.
8
+
9
+ 1.48.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.47.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.0
@@ -216,6 +216,10 @@ module Aws::RAM
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -536,6 +540,10 @@ module Aws::RAM
536
540
  #
537
541
  # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
538
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
+ #
539
547
  # @return [Types::AssociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
540
548
  #
541
549
  # * {Types::AssociateResourceShareResponse#resource_share_associations #resource_share_associations} => Array&lt;Types::ResourceShareAssociation&gt;
@@ -548,6 +556,7 @@ module Aws::RAM
548
556
  # resource_arns: ["String"],
549
557
  # principals: ["String"],
550
558
  # client_token: "String",
559
+ # sources: ["String"],
551
560
  # })
552
561
  #
553
562
  # @example Response structure
@@ -1000,6 +1009,10 @@ module Aws::RAM
1000
1009
  #
1001
1010
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1002
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
+ #
1003
1016
  # @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1004
1017
  #
1005
1018
  # * {Types::CreateResourceShareResponse#resource_share #resource_share} => Types::ResourceShare
@@ -1020,6 +1033,7 @@ module Aws::RAM
1020
1033
  # allow_external_principals: false,
1021
1034
  # client_token: "String",
1022
1035
  # permission_arns: ["String"],
1036
+ # sources: ["String"],
1023
1037
  # })
1024
1038
  #
1025
1039
  # @example Response structure
@@ -1318,6 +1332,10 @@ module Aws::RAM
1318
1332
  #
1319
1333
  # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
1320
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
+ #
1321
1339
  # @return [Types::DisassociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1322
1340
  #
1323
1341
  # * {Types::DisassociateResourceShareResponse#resource_share_associations #resource_share_associations} => Array&lt;Types::ResourceShareAssociation&gt;
@@ -1330,6 +1348,7 @@ module Aws::RAM
1330
1348
  # resource_arns: ["String"],
1331
1349
  # principals: ["String"],
1332
1350
  # client_token: "String",
1351
+ # sources: ["String"],
1333
1352
  # })
1334
1353
  #
1335
1354
  # @example Response structure
@@ -1613,7 +1632,7 @@ module Aws::RAM
1613
1632
  # Specifies the ID of the principal whose resource shares you want to
1614
1633
  # retrieve. This can be an Amazon Web Services account ID, an
1615
1634
  # organization ID, an organizational unit ID, or the [Amazon Resource
1616
- # Name (ARN)][1] of an individual IAM user or role.
1635
+ # Name (ARN)][1] of an individual IAM role or user.
1617
1636
  #
1618
1637
  # You cannot specify this parameter if the association type is
1619
1638
  # `RESOURCE`.
@@ -3268,7 +3287,7 @@ module Aws::RAM
3268
3287
  params: params,
3269
3288
  config: config)
3270
3289
  context[:gem_name] = 'aws-sdk-ram'
3271
- context[:gem_version] = '1.47.0'
3290
+ context[:gem_version] = '1.49.0'
3272
3291
  Seahorse::Client::Request.new(handlers, context)
3273
3292
  end
3274
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)
@@ -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 user or role.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ram/customizations'
52
52
  # @!group service
53
53
  module Aws::RAM
54
54
 
55
- GEM_VERSION = '1.47.0'
55
+ GEM_VERSION = '1.49.0'
56
56
 
57
57
  end
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.47.0
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-06 00:00:00.000000000 Z
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