aws-sdk-iam 1.151.0 → 1.152.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: 59940707d44914e9eb65207c8573302543b7da79bd82e820985728bb83d87597
4
- data.tar.gz: bbac5202c1215454935c355c67c1a8838077c1e70c55ace28d80742f6fbcca5d
3
+ metadata.gz: f5ac6323772bbf9bc878f8ca7467bcc046acdbfb0dc327ccf07db4ad58a11ad8
4
+ data.tar.gz: ae23c4b71dbb8ebb83d005be79e7d0fc6fadc79a43234723fb54ee3998ae3eb4
5
5
  SHA512:
6
- metadata.gz: 7cea49568f79e812f47cc5e764415fe4f153d82e2fb5872057ea1c64c2f3d2ccac86b688f9a1f5d5e315724ee58d3245ff9ce98136a54971adab71222296c3ac
7
- data.tar.gz: c13d90b6a03a8d10019ce7baf0457b888de004a4ae862934e107ab9858adceab113e1c96e2b994d01f2422c5ee35ab236aa1a619132038f1f0b58d7ba84158fc
6
+ metadata.gz: '00209a100f5de3d6e941aa0da9743233322c11ddafd5cdf7166f65cd3e9127f3b37cdd743776c6b0284394c28a66b8476c5dd5794b845ea892ad5343e0025023'
7
+ data.tar.gz: 3c221bd71ccb9ecac03e3a90dc382ee345808931f93f0600b8c9567b1cd7c7f5b6c5edd1fdfcf0d8c42b584e8b7dc0f3859de4d0093e4aa24e488a1d721855d1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.152.0 (2026-08-12)
5
+ ------------------
6
+
7
+ * Feature - Introduced role manager, an IAM capability that automatically sets up the IAM roles your AWS services need. When you set up a supported service in the console, role manager creates a role for you or reuses an existing one from an AWS-managed template.
8
+
4
9
  1.151.0 (2026-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.151.0
1
+ 1.152.0
@@ -511,6 +511,86 @@ module Aws::IAM
511
511
  req.send_request(options)
512
512
  end
513
513
 
514
+ # Creates an IAM role from the specified role template. The new role
515
+ # takes its configuration—including its name, path, trust policy, inline
516
+ # and managed policies, permissions boundary, tags, and maximum session
517
+ # duration—from the role template version that you specify. For more
518
+ # information about roles, see [IAM roles][1] in the *IAM User Guide*.
519
+ #
520
+ # If the template version defines parameters, use the
521
+ # `ReplacementValues` parameter to supply the values that the service
522
+ # substitutes into the role during creation.
523
+ #
524
+ #
525
+ #
526
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
527
+ #
528
+ # @option params [required, String] :template_arn
529
+ # The Amazon Resource Name (ARN) of the role template to create the role
530
+ # from.
531
+ #
532
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)][1]
533
+ # in the *Amazon Web Services General Reference*.
534
+ #
535
+ #
536
+ #
537
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
538
+ #
539
+ # @option params [Integer] :template_minor_version
540
+ # The minor version of the role template to use. If you do not specify a
541
+ # minor version, the service uses the template's default minor version.
542
+ #
543
+ # @option params [Hash<String,Types::ReplacementValueEntry>] :replacement_values
544
+ # A map of values to substitute for the parameters that are defined in
545
+ # the role template version. Each key is a parameter name from the
546
+ # template, and each value is a structure that contains the replacement
547
+ # values for that parameter.
548
+ #
549
+ # @return [Types::AcquireRoleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
550
+ #
551
+ # * {Types::AcquireRoleResponse#role #role} => Types::Role
552
+ #
553
+ # @example Request syntax with placeholder values
554
+ #
555
+ # resp = client.acquire_role({
556
+ # template_arn: "arnType", # required
557
+ # template_minor_version: 1,
558
+ # replacement_values: {
559
+ # "stringType" => {
560
+ # values: ["stringType"], # required
561
+ # },
562
+ # },
563
+ # })
564
+ #
565
+ # @example Response structure
566
+ #
567
+ # resp.role.path #=> String
568
+ # resp.role.role_name #=> String
569
+ # resp.role.role_id #=> String
570
+ # resp.role.arn #=> String
571
+ # resp.role.create_date #=> Time
572
+ # resp.role.assume_role_policy_document #=> String
573
+ # resp.role.description #=> String
574
+ # resp.role.max_session_duration #=> Integer
575
+ # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
576
+ # resp.role.permissions_boundary.permissions_boundary_arn #=> String
577
+ # resp.role.tags #=> Array
578
+ # resp.role.tags[0].key #=> String
579
+ # resp.role.tags[0].value #=> String
580
+ # resp.role.role_last_used.last_used_date #=> Time
581
+ # resp.role.role_last_used.region #=> String
582
+ # resp.role.source_role_template.template_arn #=> String
583
+ # resp.role.source_role_template.template_minor_version #=> Integer
584
+ #
585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AcquireRole AWS API Documentation
586
+ #
587
+ # @overload acquire_role(params = {})
588
+ # @param [Hash] params ({})
589
+ def acquire_role(params = {}, options = {})
590
+ req = build_request(:acquire_role, params)
591
+ req.send_request(options)
592
+ end
593
+
514
594
  # Adds a new client ID (also known as audience) to the list of client
515
595
  # IDs already registered for the specified IAM OpenID Connect (OIDC)
516
596
  # provider resource.
@@ -1491,6 +1571,8 @@ module Aws::IAM
1491
1571
  # resp.instance_profile.roles[0].tags[0].value #=> String
1492
1572
  # resp.instance_profile.roles[0].role_last_used.last_used_date #=> Time
1493
1573
  # resp.instance_profile.roles[0].role_last_used.region #=> String
1574
+ # resp.instance_profile.roles[0].source_role_template.template_arn #=> String
1575
+ # resp.instance_profile.roles[0].source_role_template.template_minor_version #=> Integer
1494
1576
  # resp.instance_profile.tags #=> Array
1495
1577
  # resp.instance_profile.tags[0].key #=> String
1496
1578
  # resp.instance_profile.tags[0].value #=> String
@@ -2256,6 +2338,8 @@ module Aws::IAM
2256
2338
  # resp.role.tags[0].value #=> String
2257
2339
  # resp.role.role_last_used.last_used_date #=> Time
2258
2340
  # resp.role.role_last_used.region #=> String
2341
+ # resp.role.source_role_template.template_arn #=> String
2342
+ # resp.role.source_role_template.template_minor_version #=> Integer
2259
2343
  #
2260
2344
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole AWS API Documentation
2261
2345
  #
@@ -2461,6 +2545,8 @@ module Aws::IAM
2461
2545
  # resp.role.tags[0].value #=> String
2462
2546
  # resp.role.role_last_used.last_used_date #=> Time
2463
2547
  # resp.role.role_last_used.region #=> String
2548
+ # resp.role.source_role_template.template_arn #=> String
2549
+ # resp.role.source_role_template.template_minor_version #=> Integer
2464
2550
  #
2465
2551
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole AWS API Documentation
2466
2552
  #
@@ -5061,6 +5147,8 @@ module Aws::IAM
5061
5147
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].tags[0].value #=> String
5062
5148
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].role_last_used.last_used_date #=> Time
5063
5149
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].role_last_used.region #=> String
5150
+ # resp.role_detail_list[0].instance_profile_list[0].roles[0].source_role_template.template_arn #=> String
5151
+ # resp.role_detail_list[0].instance_profile_list[0].roles[0].source_role_template.template_minor_version #=> Integer
5064
5152
  # resp.role_detail_list[0].instance_profile_list[0].tags #=> Array
5065
5153
  # resp.role_detail_list[0].instance_profile_list[0].tags[0].key #=> String
5066
5154
  # resp.role_detail_list[0].instance_profile_list[0].tags[0].value #=> String
@@ -5166,6 +5254,37 @@ module Aws::IAM
5166
5254
  req.send_request(options)
5167
5255
  end
5168
5256
 
5257
+ # Retrieves the account-level properties for the caller's Amazon Web
5258
+ # Services account. Account properties are configuration settings that
5259
+ # control account-wide IAM features such as Role Manager.
5260
+ #
5261
+ # The service returns properties as key-value pairs in
5262
+ # `Namespace/PropertyName` format. Each namespace groups related
5263
+ # configuration settings. Use [PutAccountProperties][1] to modify these
5264
+ # properties.
5265
+ #
5266
+ #
5267
+ #
5268
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_PutAccountProperties.html
5269
+ #
5270
+ # @return [Types::GetAccountPropertiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5271
+ #
5272
+ # * {Types::GetAccountPropertiesResponse#properties #properties} => Hash&lt;String,String&gt;
5273
+ #
5274
+ # @example Response structure
5275
+ #
5276
+ # resp.properties #=> Hash
5277
+ # resp.properties["accountPropertyKeyType"] #=> String
5278
+ #
5279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountProperties AWS API Documentation
5280
+ #
5281
+ # @overload get_account_properties(params = {})
5282
+ # @param [Hash] params ({})
5283
+ def get_account_properties(params = {}, options = {})
5284
+ req = build_request(:get_account_properties, params)
5285
+ req.send_request(options)
5286
+ end
5287
+
5169
5288
  # Retrieves information about IAM entity usage and IAM quotas in the
5170
5289
  # Amazon Web Services account.
5171
5290
  #
@@ -5808,6 +5927,8 @@ module Aws::IAM
5808
5927
  # resp.instance_profile.roles[0].tags[0].value #=> String
5809
5928
  # resp.instance_profile.roles[0].role_last_used.last_used_date #=> Time
5810
5929
  # resp.instance_profile.roles[0].role_last_used.region #=> String
5930
+ # resp.instance_profile.roles[0].source_role_template.template_arn #=> String
5931
+ # resp.instance_profile.roles[0].source_role_template.template_minor_version #=> Integer
5811
5932
  # resp.instance_profile.tags #=> Array
5812
5933
  # resp.instance_profile.tags[0].key #=> String
5813
5934
  # resp.instance_profile.tags[0].value #=> String
@@ -6420,6 +6541,8 @@ module Aws::IAM
6420
6541
  # resp.role.tags[0].value #=> String
6421
6542
  # resp.role.role_last_used.last_used_date #=> Time
6422
6543
  # resp.role.role_last_used.region #=> String
6544
+ # resp.role.source_role_template.template_arn #=> String
6545
+ # resp.role.source_role_template.template_minor_version #=> Integer
6423
6546
  #
6424
6547
  #
6425
6548
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -6518,6 +6641,93 @@ module Aws::IAM
6518
6641
  req.send_request(options)
6519
6642
  end
6520
6643
 
6644
+ # Retrieves information about a version of the specified role template.
6645
+ # Role templates define a reusable configuration—including role name and
6646
+ # path patterns, trust policy, inline and managed policies, permissions
6647
+ # boundary, tags, and maximum session duration—that you use to create
6648
+ # IAM roles with [AcquireRole][1].
6649
+ #
6650
+ # If you do not specify a minor version, the service returns the
6651
+ # template's default minor version.
6652
+ #
6653
+ #
6654
+ #
6655
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html
6656
+ #
6657
+ # @option params [required, String] :template_arn
6658
+ # The Amazon Resource Name (ARN) of the role template whose version you
6659
+ # want to retrieve.
6660
+ #
6661
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)][1]
6662
+ # in the *Amazon Web Services General Reference*.
6663
+ #
6664
+ #
6665
+ #
6666
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
6667
+ #
6668
+ # @option params [Integer] :minor_version
6669
+ # The minor version of the role template to retrieve. If you do not
6670
+ # specify a minor version, the service returns the template's default
6671
+ # minor version.
6672
+ #
6673
+ # @return [Types::GetRoleTemplateVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6674
+ #
6675
+ # * {Types::GetRoleTemplateVersionResponse#role_template_version #role_template_version} => Types::RoleTemplateVersion
6676
+ #
6677
+ # @example Request syntax with placeholder values
6678
+ #
6679
+ # resp = client.get_role_template_version({
6680
+ # template_arn: "arnType", # required
6681
+ # minor_version: 1,
6682
+ # })
6683
+ #
6684
+ # @example Response structure
6685
+ #
6686
+ # resp.role_template_version.template_arn #=> String
6687
+ # resp.role_template_version.template_name #=> String
6688
+ # resp.role_template_version.template_version_id #=> String
6689
+ # resp.role_template_version.description #=> String
6690
+ # resp.role_template_version.major_version #=> Integer
6691
+ # resp.role_template_version.default_minor_version #=> Integer
6692
+ # resp.role_template_version.managed_by_type #=> String, one of "Service"
6693
+ # resp.role_template_version.managed_by_value #=> String
6694
+ # resp.role_template_version.enabled #=> Boolean
6695
+ # resp.role_template_version.minor_version #=> Integer
6696
+ # resp.role_template_version.role_name_pattern #=> String
6697
+ # resp.role_template_version.role_path_pattern #=> String
6698
+ # resp.role_template_version.role_description_pattern #=> String
6699
+ # resp.role_template_version.assume_role_policy_document_template #=> String
6700
+ # resp.role_template_version.inline_policy_templates #=> Array
6701
+ # resp.role_template_version.inline_policy_templates[0].policy_name #=> String
6702
+ # resp.role_template_version.inline_policy_templates[0].policy_document #=> String
6703
+ # resp.role_template_version.managed_policy_arns #=> Array
6704
+ # resp.role_template_version.managed_policy_arns[0] #=> String
6705
+ # resp.role_template_version.permission_boundary_arn #=> String
6706
+ # resp.role_template_version.parameters_definition #=> Array
6707
+ # resp.role_template_version.parameters_definition[0].name #=> String
6708
+ # resp.role_template_version.parameters_definition[0].type #=> String, one of "String", "StringList", "Number", "NumberList", "Arn", "ArnList"
6709
+ # resp.role_template_version.parameters_definition[0].sub_type #=> String
6710
+ # resp.role_template_version.parameters_definition[0].description #=> String
6711
+ # resp.role_template_version.parameters_definition[0].is_required #=> Boolean
6712
+ # resp.role_template_version.parameters_definition[0].default_value #=> String
6713
+ # resp.role_template_version.parameters_definition[0].immutable #=> Boolean
6714
+ # resp.role_template_version.role_tags_template #=> Array
6715
+ # resp.role_template_version.role_tags_template[0].key #=> String
6716
+ # resp.role_template_version.role_tags_template[0].value #=> String
6717
+ # resp.role_template_version.max_session_duration #=> Integer
6718
+ # resp.role_template_version.version_enabled #=> Boolean
6719
+ # resp.role_template_version.create_timestamp #=> Time
6720
+ # resp.role_template_version.update_timestamp #=> Time
6721
+ #
6722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleTemplateVersion AWS API Documentation
6723
+ #
6724
+ # @overload get_role_template_version(params = {})
6725
+ # @param [Hash] params ({})
6726
+ def get_role_template_version(params = {}, options = {})
6727
+ req = build_request(:get_role_template_version, params)
6728
+ req.send_request(options)
6729
+ end
6730
+
6521
6731
  # Returns the SAML provider metadocument that was uploaded when the IAM
6522
6732
  # SAML provider resource object was created or updated.
6523
6733
  #
@@ -8390,6 +8600,8 @@ module Aws::IAM
8390
8600
  # resp.instance_profiles[0].roles[0].tags[0].value #=> String
8391
8601
  # resp.instance_profiles[0].roles[0].role_last_used.last_used_date #=> Time
8392
8602
  # resp.instance_profiles[0].roles[0].role_last_used.region #=> String
8603
+ # resp.instance_profiles[0].roles[0].source_role_template.template_arn #=> String
8604
+ # resp.instance_profiles[0].roles[0].source_role_template.template_minor_version #=> Integer
8393
8605
  # resp.instance_profiles[0].tags #=> Array
8394
8606
  # resp.instance_profiles[0].tags[0].key #=> String
8395
8607
  # resp.instance_profiles[0].tags[0].value #=> String
@@ -8486,6 +8698,8 @@ module Aws::IAM
8486
8698
  # resp.instance_profiles[0].roles[0].tags[0].value #=> String
8487
8699
  # resp.instance_profiles[0].roles[0].role_last_used.last_used_date #=> Time
8488
8700
  # resp.instance_profiles[0].roles[0].role_last_used.region #=> String
8701
+ # resp.instance_profiles[0].roles[0].source_role_template.template_arn #=> String
8702
+ # resp.instance_profiles[0].roles[0].source_role_template.template_minor_version #=> Integer
8489
8703
  # resp.instance_profiles[0].tags #=> Array
8490
8704
  # resp.instance_profiles[0].tags[0].key #=> String
8491
8705
  # resp.instance_profiles[0].tags[0].value #=> String
@@ -9501,6 +9715,8 @@ module Aws::IAM
9501
9715
  # resp.roles[0].tags[0].value #=> String
9502
9716
  # resp.roles[0].role_last_used.last_used_date #=> Time
9503
9717
  # resp.roles[0].role_last_used.region #=> String
9718
+ # resp.roles[0].source_role_template.template_arn #=> String
9719
+ # resp.roles[0].source_role_template.template_minor_version #=> Integer
9504
9720
  # resp.is_truncated #=> Boolean
9505
9721
  # resp.marker #=> String
9506
9722
  #
@@ -10498,6 +10714,49 @@ module Aws::IAM
10498
10714
  req.send_request(options)
10499
10715
  end
10500
10716
 
10717
+ # Sets account-level properties for the caller's Amazon Web Services
10718
+ # account. Account properties are configuration settings that control
10719
+ # account-wide IAM features such as Role Manager.
10720
+ #
10721
+ # Specify properties as key-value pairs in `Namespace/PropertyName`
10722
+ # format. All properties in a single request must belong to the same
10723
+ # namespace. Use [GetAccountProperties][1] to view the current
10724
+ # properties.
10725
+ #
10726
+ #
10727
+ #
10728
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountProperties.html
10729
+ #
10730
+ # @option params [required, Hash<String,String>] :properties
10731
+ # A map of property key-value pairs to set. All keys must belong to the
10732
+ # same namespace.
10733
+ #
10734
+ # Each key uses the format `Namespace/PropertyName`. The key must
10735
+ # contain exactly one `/` separating the namespace from the property
10736
+ # name, and cannot start or end with `/`.
10737
+ #
10738
+ # The service validates each value based on the property key's expected
10739
+ # type. For example, boolean properties expect `true` or `false`.
10740
+ #
10741
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
10742
+ #
10743
+ # @example Request syntax with placeholder values
10744
+ #
10745
+ # resp = client.put_account_properties({
10746
+ # properties: { # required
10747
+ # "accountPropertyKeyType" => "accountPropertyValueType",
10748
+ # },
10749
+ # })
10750
+ #
10751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutAccountProperties AWS API Documentation
10752
+ #
10753
+ # @overload put_account_properties(params = {})
10754
+ # @param [Hash] params ({})
10755
+ def put_account_properties(params = {}, options = {})
10756
+ req = build_request(:put_account_properties, params)
10757
+ req.send_request(options)
10758
+ end
10759
+
10501
10760
  # Adds or updates an inline policy document that is embedded in the
10502
10761
  # specified IAM group.
10503
10762
  #
@@ -13944,6 +14203,8 @@ module Aws::IAM
13944
14203
  # resp.role.tags[0].value #=> String
13945
14204
  # resp.role.role_last_used.last_used_date #=> Time
13946
14205
  # resp.role.role_last_used.region #=> String
14206
+ # resp.role.source_role_template.template_arn #=> String
14207
+ # resp.role.source_role_template.template_minor_version #=> Integer
13947
14208
  #
13948
14209
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription AWS API Documentation
13949
14210
  #
@@ -14796,7 +15057,7 @@ module Aws::IAM
14796
15057
  tracer: tracer
14797
15058
  )
14798
15059
  context[:gem_name] = 'aws-sdk-iam'
14799
- context[:gem_version] = '1.151.0'
15060
+ context[:gem_version] = '1.152.0'
14800
15061
  Seahorse::Client::Request.new(handlers, context)
14801
15062
  end
14802
15063