aws-sdk-rolesanywhere 1.21.0 → 1.23.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: 2a0756a4b612cc00080b8d9618639e258e905bb54b4581ce2b7aefe01949bc30
4
- data.tar.gz: d9e2598f6a37cf3e39d2898f709ebb6e3eb980390065ae238ce4b9e65970bc5a
3
+ metadata.gz: 2ee5f665a56b2a26bc7a79492c92c03e290b7f202a6a641134d28846cda0e4cd
4
+ data.tar.gz: d93faa9e1b474a3d200753b6b1120fa10959af4be3febece0be0175caee8b7a4
5
5
  SHA512:
6
- metadata.gz: d86383a45ccfee08f2b48f45da39ef5330f2111dfbbb79e60b7159b4eec72ad532811e89f0b59a20c7ae809363ed0f8340c6e34fd4cc424d9ba8f55987805635
7
- data.tar.gz: ad68e586f470b30814c3607928d8da87787788e3d2c11034124d82b0167a509d5c3b94c05bcba80e322f434ed8d2122118e1eb7a61f3dfccf619a2752e1316be
6
+ metadata.gz: 280e205657ef765878e75eb97bcb8016830cbb73f3028ed4008fada737e30025e7200689dd27cef14528df8c8b9de12d94351cda21e8ec8422b423abdbd79de2
7
+ data.tar.gz: 958574ecc17dded31544dc68dcaf0a9982cdaf384158c43ac5b2ee5574daa9cb8ec992e2e607109c7ca8e31f736e330e7a6225c69899b9f4e85656d1c4f2b33e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2024-07-30)
5
+ ------------------
6
+
7
+ * Feature - IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile.
8
+
9
+ 1.22.0 (2024-07-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.21.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -431,6 +431,10 @@ module Aws::RolesAnywhere
431
431
  #
432
432
  # <b>Required permissions: </b> `rolesanywhere:CreateProfile`.
433
433
  #
434
+ # @option params [Boolean] :accept_role_session_name
435
+ # Used to determine if a custom role session name will be accepted in a
436
+ # temporary credential request.
437
+ #
434
438
  # @option params [Integer] :duration_seconds
435
439
  # Used to determine how long sessions vended using this profile are
436
440
  # valid for. See the `Expiration` section of the [CreateSession API
@@ -473,6 +477,7 @@ module Aws::RolesAnywhere
473
477
  # @example Request syntax with placeholder values
474
478
  #
475
479
  # resp = client.create_profile({
480
+ # accept_role_session_name: false,
476
481
  # duration_seconds: 1,
477
482
  # enabled: false,
478
483
  # managed_policy_arns: ["ManagedPolicyListMemberString"],
@@ -490,6 +495,7 @@ module Aws::RolesAnywhere
490
495
  #
491
496
  # @example Response structure
492
497
  #
498
+ # resp.profile.accept_role_session_name #=> Boolean
493
499
  # resp.profile.attribute_mappings #=> Array
494
500
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
495
501
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -629,6 +635,7 @@ module Aws::RolesAnywhere
629
635
  #
630
636
  # @example Response structure
631
637
  #
638
+ # resp.profile.accept_role_session_name #=> Boolean
632
639
  # resp.profile.attribute_mappings #=> Array
633
640
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
634
641
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -713,6 +720,7 @@ module Aws::RolesAnywhere
713
720
  #
714
721
  # @example Response structure
715
722
  #
723
+ # resp.profile.accept_role_session_name #=> Boolean
716
724
  # resp.profile.attribute_mappings #=> Array
717
725
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
718
726
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -842,6 +850,7 @@ module Aws::RolesAnywhere
842
850
  #
843
851
  # @example Response structure
844
852
  #
853
+ # resp.profile.accept_role_session_name #=> Boolean
845
854
  # resp.profile.attribute_mappings #=> Array
846
855
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
847
856
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -973,6 +982,7 @@ module Aws::RolesAnywhere
973
982
  #
974
983
  # @example Response structure
975
984
  #
985
+ # resp.profile.accept_role_session_name #=> Boolean
976
986
  # resp.profile.attribute_mappings #=> Array
977
987
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
978
988
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -1102,6 +1112,7 @@ module Aws::RolesAnywhere
1102
1112
  #
1103
1113
  # @example Response structure
1104
1114
  #
1115
+ # resp.profile.accept_role_session_name #=> Boolean
1105
1116
  # resp.profile.attribute_mappings #=> Array
1106
1117
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
1107
1118
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -1369,6 +1380,7 @@ module Aws::RolesAnywhere
1369
1380
  #
1370
1381
  # resp.next_token #=> String
1371
1382
  # resp.profiles #=> Array
1383
+ # resp.profiles[0].accept_role_session_name #=> Boolean
1372
1384
  # resp.profiles[0].attribute_mappings #=> Array
1373
1385
  # resp.profiles[0].attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
1374
1386
  # resp.profiles[0].attribute_mappings[0].mapping_rules #=> Array
@@ -1565,6 +1577,7 @@ module Aws::RolesAnywhere
1565
1577
  #
1566
1578
  # @example Response structure
1567
1579
  #
1580
+ # resp.profile.accept_role_session_name #=> Boolean
1568
1581
  # resp.profile.attribute_mappings #=> Array
1569
1582
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
1570
1583
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -1823,6 +1836,10 @@ module Aws::RolesAnywhere
1823
1836
  #
1824
1837
  # <b>Required permissions: </b> `rolesanywhere:UpdateProfile`.
1825
1838
  #
1839
+ # @option params [Boolean] :accept_role_session_name
1840
+ # Used to determine if a custom role session name will be accepted in a
1841
+ # temporary credential request.
1842
+ #
1826
1843
  # @option params [Integer] :duration_seconds
1827
1844
  # Used to determine how long sessions vended using this profile are
1828
1845
  # valid for. See the `Expiration` section of the [CreateSession API
@@ -1858,6 +1875,7 @@ module Aws::RolesAnywhere
1858
1875
  # @example Request syntax with placeholder values
1859
1876
  #
1860
1877
  # resp = client.update_profile({
1878
+ # accept_role_session_name: false,
1861
1879
  # duration_seconds: 1,
1862
1880
  # managed_policy_arns: ["ManagedPolicyListMemberString"],
1863
1881
  # name: "ResourceName",
@@ -1868,6 +1886,7 @@ module Aws::RolesAnywhere
1868
1886
  #
1869
1887
  # @example Response structure
1870
1888
  #
1889
+ # resp.profile.accept_role_session_name #=> Boolean
1871
1890
  # resp.profile.attribute_mappings #=> Array
1872
1891
  # resp.profile.attribute_mappings[0].certificate_field #=> String, one of "x509Subject", "x509Issuer", "x509SAN"
1873
1892
  # resp.profile.attribute_mappings[0].mapping_rules #=> Array
@@ -1973,7 +1992,7 @@ module Aws::RolesAnywhere
1973
1992
  params: params,
1974
1993
  config: config)
1975
1994
  context[:gem_name] = 'aws-sdk-rolesanywhere'
1976
- context[:gem_version] = '1.21.0'
1995
+ context[:gem_version] = '1.23.0'
1977
1996
  Seahorse::Client::Request.new(handlers, context)
1978
1997
  end
1979
1998
 
@@ -123,6 +123,7 @@ module Aws::RolesAnywhere
123
123
 
124
124
  AttributeMappings.member = Shapes::ShapeRef.new(shape: AttributeMapping)
125
125
 
126
+ CreateProfileRequest.add_member(:accept_role_session_name, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptRoleSessionName"))
126
127
  CreateProfileRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: CreateProfileRequestDurationSecondsInteger, location_name: "durationSeconds"))
127
128
  CreateProfileRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
128
129
  CreateProfileRequest.add_member(:managed_policy_arns, Shapes::ShapeRef.new(shape: ManagedPolicyList, location_name: "managedPolicyArns"))
@@ -246,6 +247,7 @@ module Aws::RolesAnywhere
246
247
 
247
248
  NotificationSettings.member = Shapes::ShapeRef.new(shape: NotificationSetting)
248
249
 
250
+ ProfileDetail.add_member(:accept_role_session_name, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptRoleSessionName"))
249
251
  ProfileDetail.add_member(:attribute_mappings, Shapes::ShapeRef.new(shape: AttributeMappings, location_name: "attributeMappings"))
250
252
  ProfileDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
251
253
  ProfileDetail.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
@@ -387,6 +389,7 @@ module Aws::RolesAnywhere
387
389
  UpdateCrlRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
388
390
  UpdateCrlRequest.struct_class = Types::UpdateCrlRequest
389
391
 
392
+ UpdateProfileRequest.add_member(:accept_role_session_name, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptRoleSessionName"))
390
393
  UpdateProfileRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: UpdateProfileRequestDurationSecondsInteger, location_name: "durationSeconds"))
391
394
  UpdateProfileRequest.add_member(:managed_policy_arns, Shapes::ShapeRef.new(shape: ManagedPolicyList, location_name: "managedPolicyArns"))
392
395
  UpdateProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
@@ -411,9 +414,11 @@ module Aws::RolesAnywhere
411
414
 
412
415
  api.metadata = {
413
416
  "apiVersion" => "2018-05-10",
417
+ "auth" => ["aws.auth#sigv4"],
414
418
  "endpointPrefix" => "rolesanywhere",
415
419
  "jsonVersion" => "1.1",
416
420
  "protocol" => "rest-json",
421
+ "protocols" => ["rest-json"],
417
422
  "serviceFullName" => "IAM Roles Anywhere",
418
423
  "serviceId" => "RolesAnywhere",
419
424
  "signatureVersion" => "v4",
@@ -44,6 +44,11 @@ module Aws::RolesAnywhere
44
44
  include Aws::Structure
45
45
  end
46
46
 
47
+ # @!attribute [rw] accept_role_session_name
48
+ # Used to determine if a custom role session name will be accepted in
49
+ # a temporary credential request.
50
+ # @return [Boolean]
51
+ #
47
52
  # @!attribute [rw] duration_seconds
48
53
  # Used to determine how long sessions vended using this profile are
49
54
  # valid for. See the `Expiration` section of the [CreateSession API
@@ -90,6 +95,7 @@ module Aws::RolesAnywhere
90
95
  # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateProfileRequest AWS API Documentation
91
96
  #
92
97
  class CreateProfileRequest < Struct.new(
98
+ :accept_role_session_name,
93
99
  :duration_seconds,
94
100
  :enabled,
95
101
  :managed_policy_arns,
@@ -583,6 +589,11 @@ module Aws::RolesAnywhere
583
589
 
584
590
  # The state of the profile after a read or write operation.
585
591
  #
592
+ # @!attribute [rw] accept_role_session_name
593
+ # Used to determine if a custom role session name will be accepted in
594
+ # a temporary credential request.
595
+ # @return [Boolean]
596
+ #
586
597
  # @!attribute [rw] attribute_mappings
587
598
  # A mapping applied to the authenticating end-entity certificate.
588
599
  # @return [Array<Types::AttributeMapping>]
@@ -649,6 +660,7 @@ module Aws::RolesAnywhere
649
660
  # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ProfileDetail AWS API Documentation
650
661
  #
651
662
  class ProfileDetail < Struct.new(
663
+ :accept_role_session_name,
652
664
  :attribute_mappings,
653
665
  :created_at,
654
666
  :created_by,
@@ -1128,7 +1140,7 @@ module Aws::RolesAnywhere
1128
1140
  class UntagResourceRequest < Struct.new(
1129
1141
  :resource_arn,
1130
1142
  :tag_keys)
1131
- SENSITIVE = []
1143
+ SENSITIVE = [:tag_keys]
1132
1144
  include Aws::Structure
1133
1145
  end
1134
1146
 
@@ -1158,6 +1170,11 @@ module Aws::RolesAnywhere
1158
1170
  include Aws::Structure
1159
1171
  end
1160
1172
 
1173
+ # @!attribute [rw] accept_role_session_name
1174
+ # Used to determine if a custom role session name will be accepted in
1175
+ # a temporary credential request.
1176
+ # @return [Boolean]
1177
+ #
1161
1178
  # @!attribute [rw] duration_seconds
1162
1179
  # Used to determine how long sessions vended using this profile are
1163
1180
  # valid for. See the `Expiration` section of the [CreateSession API
@@ -1195,6 +1212,7 @@ module Aws::RolesAnywhere
1195
1212
  # @see http://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateProfileRequest AWS API Documentation
1196
1213
  #
1197
1214
  class UpdateProfileRequest < Struct.new(
1215
+ :accept_role_session_name,
1198
1216
  :duration_seconds,
1199
1217
  :managed_policy_arns,
1200
1218
  :name,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-rolesanywhere/customizations'
52
52
  # @!group service
53
53
  module Aws::RolesAnywhere
54
54
 
55
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.23.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -79,6 +79,7 @@ module Aws
79
79
  end
80
80
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#create_profile-instance_method
81
81
  def create_profile: (
82
+ ?accept_role_session_name: bool,
82
83
  ?duration_seconds: ::Integer,
83
84
  ?enabled: bool,
84
85
  ?managed_policy_arns: Array[::String],
@@ -439,6 +440,7 @@ module Aws
439
440
  end
440
441
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#update_profile-instance_method
441
442
  def update_profile: (
443
+ ?accept_role_session_name: bool,
442
444
  ?duration_seconds: ::Integer,
443
445
  ?managed_policy_arns: Array[::String],
444
446
  ?name: ::String,
data/sig/types.rbs CHANGED
@@ -20,6 +20,7 @@ module Aws::RolesAnywhere
20
20
  end
21
21
 
22
22
  class CreateProfileRequest
23
+ attr_accessor accept_role_session_name: bool
23
24
  attr_accessor duration_seconds: ::Integer
24
25
  attr_accessor enabled: bool
25
26
  attr_accessor managed_policy_arns: ::Array[::String]
@@ -164,6 +165,7 @@ module Aws::RolesAnywhere
164
165
  end
165
166
 
166
167
  class ProfileDetail
168
+ attr_accessor accept_role_session_name: bool
167
169
  attr_accessor attribute_mappings: ::Array[Types::AttributeMapping]
168
170
  attr_accessor created_at: ::Time
169
171
  attr_accessor created_by: ::String
@@ -347,6 +349,7 @@ module Aws::RolesAnywhere
347
349
  end
348
350
 
349
351
  class UpdateProfileRequest
352
+ attr_accessor accept_role_session_name: bool
350
353
  attr_accessor duration_seconds: ::Integer
351
354
  attr_accessor managed_policy_arns: ::Array[::String]
352
355
  attr_accessor name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rolesanywhere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.23.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: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for IAM Roles Anywhere. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email: