aws-sdk-ram 1.84.0 → 1.85.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: 8bf4332c2dd4526fdeff84516c68405f442e06eefe43524491408049ffd251ec
4
- data.tar.gz: ac7c3e64baedfedd6db20c138c61f62edf028dd1c9b1687df5960feec4ec60d5
3
+ metadata.gz: 94dffb16bc540eeae4fb0eb2e08fb867cdd860eb79df994a820bfb510d843412
4
+ data.tar.gz: 4164150015d842fd0841b3099bdd585aaf607654247dedc066f89ca17ceb3c86
5
5
  SHA512:
6
- metadata.gz: 27518c5d62437bf4c5ab45089baab1cdc473e707b4e736c09d9596b344f28630bb16457937b4f208322a6184b944dfa88395d07b7468667a0036d71fd3ed22ff
7
- data.tar.gz: a732d24cf186adc83a6013044196b197e45bd60e97dcdb5af907f3aaba6641775e2c4389858141ca9913614c66091b1fab9447d7e50337d53f93469e5e5a82e1
6
+ metadata.gz: 17875d0773573301d1e5cb7c726f6e5c48c25f6ac90b25b71bc7d9e2627b7c2da8d4fc3dcb1263cad677860c8501c41c758febf18e3b082929d32acc77f47b34
7
+ data.tar.gz: dd7741838ee964d05a0779e03aa2efb508114e2dd5222bea5cab8b5593cd711f0e564acd423577b9b3ba8b8fa18485a6d27768b4b5c09367b4bc538de499ab1b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2026-02-27)
5
+ ------------------
6
+
7
+ * Feature - Resource owners can now specify ResourceShareConfiguration request parameter for CreateResourceShare API including RetainSharingOnAccountLeaveOrganization boolean parameter
8
+
4
9
  1.84.0 (2026-02-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.85.0
@@ -1118,6 +1118,9 @@ module Aws::RAM
1118
1118
  # prevent confused deputy attacks by applying constraints on where
1119
1119
  # service principals can access resources from.
1120
1120
  #
1121
+ # @option params [Types::ResourceShareConfiguration] :resource_share_configuration
1122
+ # Specifies the configuration of this resource share.
1123
+ #
1121
1124
  # @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1122
1125
  #
1123
1126
  # * {Types::CreateResourceShareResponse#resource_share #resource_share} => Types::ResourceShare
@@ -1139,6 +1142,9 @@ module Aws::RAM
1139
1142
  # client_token: "String",
1140
1143
  # permission_arns: ["String"],
1141
1144
  # sources: ["String"],
1145
+ # resource_share_configuration: {
1146
+ # retain_sharing_on_account_leave_organization: false,
1147
+ # },
1142
1148
  # })
1143
1149
  #
1144
1150
  # @example Response structure
@@ -1155,6 +1161,7 @@ module Aws::RAM
1155
1161
  # resp.resource_share.creation_time #=> Time
1156
1162
  # resp.resource_share.last_updated_time #=> Time
1157
1163
  # resp.resource_share.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
1164
+ # resp.resource_share.resource_share_configuration.retain_sharing_on_account_leave_organization #=> Boolean
1158
1165
  # resp.client_token #=> String
1159
1166
  #
1160
1167
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare AWS API Documentation
@@ -2041,6 +2048,7 @@ module Aws::RAM
2041
2048
  # resp.resource_shares[0].creation_time #=> Time
2042
2049
  # resp.resource_shares[0].last_updated_time #=> Time
2043
2050
  # resp.resource_shares[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
2051
+ # resp.resource_shares[0].resource_share_configuration.retain_sharing_on_account_leave_organization #=> Boolean
2044
2052
  # resp.next_token #=> String
2045
2053
  #
2046
2054
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares AWS API Documentation
@@ -3544,6 +3552,7 @@ module Aws::RAM
3544
3552
  # resp.resource_share.creation_time #=> Time
3545
3553
  # resp.resource_share.last_updated_time #=> Time
3546
3554
  # resp.resource_share.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
3555
+ # resp.resource_share.resource_share_configuration.retain_sharing_on_account_leave_organization #=> Boolean
3547
3556
  # resp.client_token #=> String
3548
3557
  #
3549
3558
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare AWS API Documentation
@@ -3573,7 +3582,7 @@ module Aws::RAM
3573
3582
  tracer: tracer
3574
3583
  )
3575
3584
  context[:gem_name] = 'aws-sdk-ram'
3576
- context[:gem_version] = '1.84.0'
3585
+ context[:gem_version] = '1.85.0'
3577
3586
  Seahorse::Client::Request.new(handlers, context)
3578
3587
  end
3579
3588
 
@@ -127,6 +127,7 @@ module Aws::RAM
127
127
  ResourceShareAssociationList = Shapes::ListShape.new(name: 'ResourceShareAssociationList')
128
128
  ResourceShareAssociationStatus = Shapes::StringShape.new(name: 'ResourceShareAssociationStatus')
129
129
  ResourceShareAssociationType = Shapes::StringShape.new(name: 'ResourceShareAssociationType')
130
+ ResourceShareConfiguration = Shapes::StructureShape.new(name: 'ResourceShareConfiguration')
130
131
  ResourceShareFeatureSet = Shapes::StringShape.new(name: 'ResourceShareFeatureSet')
131
132
  ResourceShareInvitation = Shapes::StructureShape.new(name: 'ResourceShareInvitation')
132
133
  ResourceShareInvitationAlreadyAcceptedException = Shapes::StructureShape.new(name: 'ResourceShareInvitationAlreadyAcceptedException')
@@ -252,6 +253,7 @@ module Aws::RAM
252
253
  CreateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
253
254
  CreateResourceShareRequest.add_member(:permission_arns, Shapes::ShapeRef.new(shape: PermissionArnList, location_name: "permissionArns"))
254
255
  CreateResourceShareRequest.add_member(:sources, Shapes::ShapeRef.new(shape: SourceArnOrAccountList, location_name: "sources"))
256
+ CreateResourceShareRequest.add_member(:resource_share_configuration, Shapes::ShapeRef.new(shape: ResourceShareConfiguration, location_name: "resourceShareConfiguration"))
255
257
  CreateResourceShareRequest.struct_class = Types::CreateResourceShareRequest
256
258
 
257
259
  CreateResourceShareResponse.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShare, location_name: "resourceShare"))
@@ -611,6 +613,7 @@ module Aws::RAM
611
613
  ResourceShare.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
612
614
  ResourceShare.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
613
615
  ResourceShare.add_member(:feature_set, Shapes::ShapeRef.new(shape: ResourceShareFeatureSet, location_name: "featureSet"))
616
+ ResourceShare.add_member(:resource_share_configuration, Shapes::ShapeRef.new(shape: ResourceShareConfiguration, location_name: "resourceShareConfiguration"))
614
617
  ResourceShare.struct_class = Types::ResourceShare
615
618
 
616
619
  ResourceShareArnList.member = Shapes::ShapeRef.new(shape: String)
@@ -628,6 +631,9 @@ module Aws::RAM
628
631
 
629
632
  ResourceShareAssociationList.member = Shapes::ShapeRef.new(shape: ResourceShareAssociation)
630
633
 
634
+ ResourceShareConfiguration.add_member(:retain_sharing_on_account_leave_organization, Shapes::ShapeRef.new(shape: Boolean, location_name: "retainSharingOnAccountLeaveOrganization"))
635
+ ResourceShareConfiguration.struct_class = Types::ResourceShareConfiguration
636
+
631
637
  ResourceShareInvitation.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareInvitationArn"))
632
638
  ResourceShareInvitation.add_member(:resource_share_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareName"))
633
639
  ResourceShareInvitation.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
@@ -746,6 +746,10 @@ module Aws::RAM
746
746
  # service principals can access resources from.
747
747
  # @return [Array<String>]
748
748
  #
749
+ # @!attribute [rw] resource_share_configuration
750
+ # Specifies the configuration of this resource share.
751
+ # @return [Types::ResourceShareConfiguration]
752
+ #
749
753
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation
750
754
  #
751
755
  class CreateResourceShareRequest < Struct.new(
@@ -756,7 +760,8 @@ module Aws::RAM
756
760
  :allow_external_principals,
757
761
  :client_token,
758
762
  :permission_arns,
759
- :sources)
763
+ :sources,
764
+ :resource_share_configuration)
760
765
  SENSITIVE = []
761
766
  include Aws::Structure
762
767
  end
@@ -3186,6 +3191,10 @@ module Aws::RAM
3186
3191
  # in progress. This value changes to `STANDARD` when complete.
3187
3192
  # @return [String]
3188
3193
  #
3194
+ # @!attribute [rw] resource_share_configuration
3195
+ # The configuration of the resource share
3196
+ # @return [Types::ResourceShareConfiguration]
3197
+ #
3189
3198
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShare AWS API Documentation
3190
3199
  #
3191
3200
  class ResourceShare < Struct.new(
@@ -3198,7 +3207,8 @@ module Aws::RAM
3198
3207
  :tags,
3199
3208
  :creation_time,
3200
3209
  :last_updated_time,
3201
- :feature_set)
3210
+ :feature_set,
3211
+ :resource_share_configuration)
3202
3212
  SENSITIVE = []
3203
3213
  include Aws::Structure
3204
3214
  end
@@ -3284,6 +3294,21 @@ module Aws::RAM
3284
3294
  include Aws::Structure
3285
3295
  end
3286
3296
 
3297
+ # The configuration of the resource share
3298
+ #
3299
+ # @!attribute [rw] retain_sharing_on_account_leave_organization
3300
+ # Specifies whether the consumer account retains access to the
3301
+ # resource share after leaving the organization.
3302
+ # @return [Boolean]
3303
+ #
3304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShareConfiguration AWS API Documentation
3305
+ #
3306
+ class ResourceShareConfiguration < Struct.new(
3307
+ :retain_sharing_on_account_leave_organization)
3308
+ SENSITIVE = []
3309
+ include Aws::Structure
3310
+ end
3311
+
3287
3312
  # Describes an invitation for an Amazon Web Services account to join a
3288
3313
  # resource share.
3289
3314
  #
data/lib/aws-sdk-ram.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::RAM
54
54
  autoload :EndpointProvider, 'aws-sdk-ram/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-ram/endpoints'
56
56
 
57
- GEM_VERSION = '1.84.0'
57
+ GEM_VERSION = '1.85.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -172,7 +172,10 @@ module Aws
172
172
  ?allow_external_principals: bool,
173
173
  ?client_token: ::String,
174
174
  ?permission_arns: Array[::String],
175
- ?sources: Array[::String]
175
+ ?sources: Array[::String],
176
+ ?resource_share_configuration: {
177
+ retain_sharing_on_account_leave_organization: bool?
178
+ }
176
179
  ) -> _CreateResourceShareResponseSuccess
177
180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceShareResponseSuccess
178
181
 
data/sig/types.rbs CHANGED
@@ -110,6 +110,7 @@ module Aws::RAM
110
110
  attr_accessor client_token: ::String
111
111
  attr_accessor permission_arns: ::Array[::String]
112
112
  attr_accessor sources: ::Array[::String]
113
+ attr_accessor resource_share_configuration: Types::ResourceShareConfiguration
113
114
  SENSITIVE: []
114
115
  end
115
116
 
@@ -594,6 +595,7 @@ module Aws::RAM
594
595
  attr_accessor creation_time: ::Time
595
596
  attr_accessor last_updated_time: ::Time
596
597
  attr_accessor feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD")
598
+ attr_accessor resource_share_configuration: Types::ResourceShareConfiguration
597
599
  SENSITIVE: []
598
600
  end
599
601
 
@@ -610,6 +612,11 @@ module Aws::RAM
610
612
  SENSITIVE: []
611
613
  end
612
614
 
615
+ class ResourceShareConfiguration
616
+ attr_accessor retain_sharing_on_account_leave_organization: bool
617
+ SENSITIVE: []
618
+ end
619
+
613
620
  class ResourceShareInvitation
614
621
  attr_accessor resource_share_invitation_arn: ::String
615
622
  attr_accessor resource_share_name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.84.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services