aws-sdk-iam 1.132.0 → 1.133.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: f029e06c75510525ea6dadbc961c5f139a3795f1cf1c0fcf0cb97397cd44dbc3
4
- data.tar.gz: 70347a67a7b93c27a648975de70cba8a62ee34935016cccc589f967fe5ed30cf
3
+ metadata.gz: ef425085c0228692cb27bf754df6701f05e609805845fe2a91bb245f35c13d0b
4
+ data.tar.gz: 71e901c0b71b154353b05ca22039f5f7f132b49ff927a75b8507ee0510bbf7ee
5
5
  SHA512:
6
- metadata.gz: 5bdd3b81ee3858209ea9af85d938dd168add21ec71ac440633072c1466ce31c96a488187ee4ebba3d16fbe3e366f924eb6d5822a3a2464fb01b8637f3c2b35ac
7
- data.tar.gz: 75f1af357602e67f9a32f3fcec9017d2ff08d7070ce013e0917d2c37f35d320efa5b6ccfe20caa8044c9c29d5a5d16c087b0cd61fad57c985f0908cea623a2c0
6
+ metadata.gz: 23828fa26c988b8d06fadd7e63db474378ceac5653cfa40d1d342e39c21493dd58ee7c94d42ba33fa5d4b1ef9745550d4622ed062cdea29968add41389b0ab4d
7
+ data.tar.gz: e0fa443b2ec582d610b131f44ba65da444d43ef213496ac38275556e82b54d5e28b24497360664356536cba369e8c33fcd6c067ee77c048fefca660f191ab666
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.133.0 (2025-11-10)
5
+ ------------------
6
+
7
+ * Feature - Added CreateDelegationRequest API, which is not available for general use at this time.
8
+
4
9
  1.132.0 (2025-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.133.0
@@ -1075,6 +1075,68 @@ module Aws::IAM
1075
1075
  req.send_request(options)
1076
1076
  end
1077
1077
 
1078
+ # This API is currently unavailable for general use.
1079
+ #
1080
+ # @option params [String] :owner_account_id
1081
+ #
1082
+ # @option params [required, String] :description
1083
+ #
1084
+ # @option params [required, Types::DelegationPermission] :permissions
1085
+ #
1086
+ # @option params [String] :request_message
1087
+ #
1088
+ # @option params [required, String] :requestor_workflow_id
1089
+ #
1090
+ # @option params [String] :redirect_url
1091
+ #
1092
+ # @option params [required, String] :notification_channel
1093
+ #
1094
+ # @option params [required, Integer] :session_duration
1095
+ #
1096
+ # @option params [Boolean] :only_send_by_owner
1097
+ #
1098
+ # @return [Types::CreateDelegationRequestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1099
+ #
1100
+ # * {Types::CreateDelegationRequestResponse#console_deep_link #console_deep_link} => String
1101
+ # * {Types::CreateDelegationRequestResponse#delegation_request_id #delegation_request_id} => String
1102
+ #
1103
+ # @example Request syntax with placeholder values
1104
+ #
1105
+ # resp = client.create_delegation_request({
1106
+ # owner_account_id: "accountIdType",
1107
+ # description: "delegationRequestDescriptionType", # required
1108
+ # permissions: { # required
1109
+ # policy_template_arn: "arnType",
1110
+ # parameters: [
1111
+ # {
1112
+ # name: "policyParameterNameType",
1113
+ # values: ["policyParameterValueType"],
1114
+ # type: "string", # accepts string, stringList
1115
+ # },
1116
+ # ],
1117
+ # },
1118
+ # request_message: "requestMessageType",
1119
+ # requestor_workflow_id: "requestorWorkflowIdType", # required
1120
+ # redirect_url: "redirectUrlType",
1121
+ # notification_channel: "notificationChannelType", # required
1122
+ # session_duration: 1, # required
1123
+ # only_send_by_owner: false,
1124
+ # })
1125
+ #
1126
+ # @example Response structure
1127
+ #
1128
+ # resp.console_deep_link #=> String
1129
+ # resp.delegation_request_id #=> String
1130
+ #
1131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequest AWS API Documentation
1132
+ #
1133
+ # @overload create_delegation_request(params = {})
1134
+ # @param [Hash] params ({})
1135
+ def create_delegation_request(params = {}, options = {})
1136
+ req = build_request(:create_delegation_request, params)
1137
+ req.send_request(options)
1138
+ end
1139
+
1078
1140
  # Creates a new group.
1079
1141
  #
1080
1142
  # For information about the number of groups you can create, see [IAM
@@ -14069,7 +14131,7 @@ module Aws::IAM
14069
14131
  tracer: tracer
14070
14132
  )
14071
14133
  context[:gem_name] = 'aws-sdk-iam'
14072
- context[:gem_version] = '1.132.0'
14134
+ context[:gem_version] = '1.133.0'
14073
14135
  Seahorse::Client::Request.new(handlers, context)
14074
14136
  end
14075
14137
 
@@ -51,6 +51,8 @@ module Aws::IAM
51
51
  CreateAccessKeyRequest = Shapes::StructureShape.new(name: 'CreateAccessKeyRequest')
52
52
  CreateAccessKeyResponse = Shapes::StructureShape.new(name: 'CreateAccessKeyResponse')
53
53
  CreateAccountAliasRequest = Shapes::StructureShape.new(name: 'CreateAccountAliasRequest')
54
+ CreateDelegationRequestRequest = Shapes::StructureShape.new(name: 'CreateDelegationRequestRequest')
55
+ CreateDelegationRequestResponse = Shapes::StructureShape.new(name: 'CreateDelegationRequestResponse')
54
56
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
55
57
  CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
56
58
  CreateInstanceProfileRequest = Shapes::StructureShape.new(name: 'CreateInstanceProfileRequest')
@@ -79,6 +81,7 @@ module Aws::IAM
79
81
  CredentialReportNotPresentException = Shapes::StructureShape.new(name: 'CredentialReportNotPresentException', error: {"code" => "ReportNotPresent", "httpStatusCode" => 410, "senderFault" => true})
80
82
  CredentialReportNotReadyException = Shapes::StructureShape.new(name: 'CredentialReportNotReadyException', error: {"code" => "ReportInProgress", "httpStatusCode" => 404, "senderFault" => true})
81
83
  DeactivateMFADeviceRequest = Shapes::StructureShape.new(name: 'DeactivateMFADeviceRequest')
84
+ DelegationPermission = Shapes::StructureShape.new(name: 'DelegationPermission')
82
85
  DeleteAccessKeyRequest = Shapes::StructureShape.new(name: 'DeleteAccessKeyRequest')
83
86
  DeleteAccountAliasRequest = Shapes::StructureShape.new(name: 'DeleteAccountAliasRequest')
84
87
  DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException', error: {"code" => "DeleteConflict", "httpStatusCode" => 409, "senderFault" => true})
@@ -295,6 +298,8 @@ module Aws::IAM
295
298
  PolicyGroupListType = Shapes::ListShape.new(name: 'PolicyGroupListType')
296
299
  PolicyIdentifierType = Shapes::StringShape.new(name: 'PolicyIdentifierType')
297
300
  PolicyNotAttachableException = Shapes::StructureShape.new(name: 'PolicyNotAttachableException', error: {"code" => "PolicyNotAttachable", "httpStatusCode" => 400, "senderFault" => true})
301
+ PolicyParameter = Shapes::StructureShape.new(name: 'PolicyParameter')
302
+ PolicyParameterTypeEnum = Shapes::StringShape.new(name: 'PolicyParameterTypeEnum')
298
303
  PolicyRole = Shapes::StructureShape.new(name: 'PolicyRole')
299
304
  PolicyRoleListType = Shapes::ListShape.new(name: 'PolicyRoleListType')
300
305
  PolicySourceType = Shapes::StringShape.new(name: 'PolicySourceType')
@@ -410,6 +415,7 @@ module Aws::IAM
410
415
  accessKeySecretType = Shapes::StringShape.new(name: 'accessKeySecretType')
411
416
  accountAliasListType = Shapes::ListShape.new(name: 'accountAliasListType')
412
417
  accountAliasType = Shapes::StringShape.new(name: 'accountAliasType')
418
+ accountIdType = Shapes::StringShape.new(name: 'accountIdType')
413
419
  allUsers = Shapes::BooleanShape.new(name: 'allUsers')
414
420
  arnType = Shapes::StringShape.new(name: 'arnType')
415
421
  assertionEncryptionModeType = Shapes::StringShape.new(name: 'assertionEncryptionModeType')
@@ -425,12 +431,15 @@ module Aws::IAM
425
431
  certificateListType = Shapes::ListShape.new(name: 'certificateListType')
426
432
  clientIDListType = Shapes::ListShape.new(name: 'clientIDListType')
427
433
  clientIDType = Shapes::StringShape.new(name: 'clientIDType')
434
+ consoleDeepLinkType = Shapes::StringShape.new(name: 'consoleDeepLinkType')
428
435
  credentialAgeDays = Shapes::IntegerShape.new(name: 'credentialAgeDays')
429
436
  credentialReportExpiredExceptionMessage = Shapes::StringShape.new(name: 'credentialReportExpiredExceptionMessage')
430
437
  credentialReportNotPresentExceptionMessage = Shapes::StringShape.new(name: 'credentialReportNotPresentExceptionMessage')
431
438
  credentialReportNotReadyExceptionMessage = Shapes::StringShape.new(name: 'credentialReportNotReadyExceptionMessage')
432
439
  customSuffixType = Shapes::StringShape.new(name: 'customSuffixType')
433
440
  dateType = Shapes::TimestampShape.new(name: 'dateType')
441
+ delegationRequestDescriptionType = Shapes::StringShape.new(name: 'delegationRequestDescriptionType')
442
+ delegationRequestIdType = Shapes::StringShape.new(name: 'delegationRequestIdType')
434
443
  deleteConflictMessage = Shapes::StringShape.new(name: 'deleteConflictMessage')
435
444
  duplicateCertificateMessage = Shapes::StringShape.new(name: 'duplicateCertificateMessage')
436
445
  duplicateSSHPublicKeyMessage = Shapes::StringShape.new(name: 'duplicateSSHPublicKeyMessage')
@@ -468,6 +477,7 @@ module Aws::IAM
468
477
  mfaDeviceListType = Shapes::ListShape.new(name: 'mfaDeviceListType')
469
478
  minimumPasswordLengthType = Shapes::IntegerShape.new(name: 'minimumPasswordLengthType')
470
479
  noSuchEntityMessage = Shapes::StringShape.new(name: 'noSuchEntityMessage')
480
+ notificationChannelType = Shapes::StringShape.new(name: 'notificationChannelType')
471
481
  openIdIdpCommunicationErrorExceptionMessage = Shapes::StringShape.new(name: 'openIdIdpCommunicationErrorExceptionMessage')
472
482
  organizationsEntityPathType = Shapes::StringShape.new(name: 'organizationsEntityPathType')
473
483
  organizationsPolicyIdType = Shapes::StringShape.new(name: 'organizationsPolicyIdType')
@@ -487,6 +497,10 @@ module Aws::IAM
487
497
  policyNameType = Shapes::StringShape.new(name: 'policyNameType')
488
498
  policyNotAttachableMessage = Shapes::StringShape.new(name: 'policyNotAttachableMessage')
489
499
  policyOwnerEntityType = Shapes::StringShape.new(name: 'policyOwnerEntityType')
500
+ policyParameterListType = Shapes::ListShape.new(name: 'policyParameterListType')
501
+ policyParameterNameType = Shapes::StringShape.new(name: 'policyParameterNameType')
502
+ policyParameterValueType = Shapes::StringShape.new(name: 'policyParameterValueType')
503
+ policyParameterValuesListType = Shapes::ListShape.new(name: 'policyParameterValuesListType')
490
504
  policyPathType = Shapes::StringShape.new(name: 'policyPathType')
491
505
  policyScopeType = Shapes::StringShape.new(name: 'policyScopeType')
492
506
  policyType = Shapes::StringShape.new(name: 'policyType')
@@ -497,7 +511,10 @@ module Aws::IAM
497
511
  publicKeyFingerprintType = Shapes::StringShape.new(name: 'publicKeyFingerprintType')
498
512
  publicKeyIdType = Shapes::StringShape.new(name: 'publicKeyIdType')
499
513
  publicKeyMaterialType = Shapes::StringShape.new(name: 'publicKeyMaterialType')
514
+ redirectUrlType = Shapes::StringShape.new(name: 'redirectUrlType')
500
515
  reportGenerationLimitExceededMessage = Shapes::StringShape.new(name: 'reportGenerationLimitExceededMessage')
516
+ requestMessageType = Shapes::StringShape.new(name: 'requestMessageType')
517
+ requestorWorkflowIdType = Shapes::StringShape.new(name: 'requestorWorkflowIdType')
501
518
  responseMarkerType = Shapes::StringShape.new(name: 'responseMarkerType')
502
519
  roleDescriptionType = Shapes::StringShape.new(name: 'roleDescriptionType')
503
520
  roleDetailListType = Shapes::ListShape.new(name: 'roleDetailListType')
@@ -518,6 +535,7 @@ module Aws::IAM
518
535
  servicePassword = Shapes::StringShape.new(name: 'servicePassword')
519
536
  serviceSpecificCredentialId = Shapes::StringShape.new(name: 'serviceSpecificCredentialId')
520
537
  serviceUserName = Shapes::StringShape.new(name: 'serviceUserName')
538
+ sessionDurationType = Shapes::IntegerShape.new(name: 'sessionDurationType')
521
539
  sortKeyType = Shapes::StringShape.new(name: 'sortKeyType')
522
540
  statusType = Shapes::StringShape.new(name: 'statusType')
523
541
  stringType = Shapes::StringShape.new(name: 'stringType')
@@ -636,6 +654,21 @@ module Aws::IAM
636
654
  CreateAccountAliasRequest.add_member(:account_alias, Shapes::ShapeRef.new(shape: accountAliasType, required: true, location_name: "AccountAlias"))
637
655
  CreateAccountAliasRequest.struct_class = Types::CreateAccountAliasRequest
638
656
 
657
+ CreateDelegationRequestRequest.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: accountIdType, location_name: "OwnerAccountId"))
658
+ CreateDelegationRequestRequest.add_member(:description, Shapes::ShapeRef.new(shape: delegationRequestDescriptionType, required: true, location_name: "Description"))
659
+ CreateDelegationRequestRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: DelegationPermission, required: true, location_name: "Permissions"))
660
+ CreateDelegationRequestRequest.add_member(:request_message, Shapes::ShapeRef.new(shape: requestMessageType, location_name: "RequestMessage"))
661
+ CreateDelegationRequestRequest.add_member(:requestor_workflow_id, Shapes::ShapeRef.new(shape: requestorWorkflowIdType, required: true, location_name: "RequestorWorkflowId"))
662
+ CreateDelegationRequestRequest.add_member(:redirect_url, Shapes::ShapeRef.new(shape: redirectUrlType, location_name: "RedirectUrl"))
663
+ CreateDelegationRequestRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: notificationChannelType, required: true, location_name: "NotificationChannel"))
664
+ CreateDelegationRequestRequest.add_member(:session_duration, Shapes::ShapeRef.new(shape: sessionDurationType, required: true, location_name: "SessionDuration"))
665
+ CreateDelegationRequestRequest.add_member(:only_send_by_owner, Shapes::ShapeRef.new(shape: booleanType, location_name: "OnlySendByOwner"))
666
+ CreateDelegationRequestRequest.struct_class = Types::CreateDelegationRequestRequest
667
+
668
+ CreateDelegationRequestResponse.add_member(:console_deep_link, Shapes::ShapeRef.new(shape: consoleDeepLinkType, location_name: "ConsoleDeepLink"))
669
+ CreateDelegationRequestResponse.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, location_name: "DelegationRequestId"))
670
+ CreateDelegationRequestResponse.struct_class = Types::CreateDelegationRequestResponse
671
+
639
672
  CreateGroupRequest.add_member(:path, Shapes::ShapeRef.new(shape: pathType, location_name: "Path"))
640
673
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: groupNameType, required: true, location_name: "GroupName"))
641
674
  CreateGroupRequest.struct_class = Types::CreateGroupRequest
@@ -756,6 +789,10 @@ module Aws::IAM
756
789
  DeactivateMFADeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, required: true, location_name: "SerialNumber"))
757
790
  DeactivateMFADeviceRequest.struct_class = Types::DeactivateMFADeviceRequest
758
791
 
792
+ DelegationPermission.add_member(:policy_template_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "PolicyTemplateArn"))
793
+ DelegationPermission.add_member(:parameters, Shapes::ShapeRef.new(shape: policyParameterListType, location_name: "Parameters"))
794
+ DelegationPermission.struct_class = Types::DelegationPermission
795
+
759
796
  DeleteAccessKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
760
797
  DeleteAccessKeyRequest.add_member(:access_key_id, Shapes::ShapeRef.new(shape: accessKeyIdType, required: true, location_name: "AccessKeyId"))
761
798
  DeleteAccessKeyRequest.struct_class = Types::DeleteAccessKeyRequest
@@ -1664,6 +1701,11 @@ module Aws::IAM
1664
1701
  PolicyNotAttachableException.add_member(:message, Shapes::ShapeRef.new(shape: policyNotAttachableMessage, location_name: "message"))
1665
1702
  PolicyNotAttachableException.struct_class = Types::PolicyNotAttachableException
1666
1703
 
1704
+ PolicyParameter.add_member(:name, Shapes::ShapeRef.new(shape: policyParameterNameType, location_name: "Name"))
1705
+ PolicyParameter.add_member(:values, Shapes::ShapeRef.new(shape: policyParameterValuesListType, location_name: "Values"))
1706
+ PolicyParameter.add_member(:type, Shapes::ShapeRef.new(shape: PolicyParameterTypeEnum, location_name: "Type"))
1707
+ PolicyParameter.struct_class = Types::PolicyParameter
1708
+
1667
1709
  PolicyRole.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, location_name: "RoleName"))
1668
1710
  PolicyRole.add_member(:role_id, Shapes::ShapeRef.new(shape: idType, location_name: "RoleId"))
1669
1711
  PolicyRole.struct_class = Types::PolicyRole
@@ -2183,6 +2225,10 @@ module Aws::IAM
2183
2225
 
2184
2226
  policyNameListType.member = Shapes::ShapeRef.new(shape: policyNameType)
2185
2227
 
2228
+ policyParameterListType.member = Shapes::ShapeRef.new(shape: PolicyParameter)
2229
+
2230
+ policyParameterValuesListType.member = Shapes::ShapeRef.new(shape: policyParameterValueType)
2231
+
2186
2232
  privateKeyList.member = Shapes::ShapeRef.new(shape: SAMLPrivateKey)
2187
2233
 
2188
2234
  roleDetailListType.member = Shapes::ShapeRef.new(shape: RoleDetail)
@@ -2343,6 +2389,19 @@ module Aws::IAM
2343
2389
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2344
2390
  end)
2345
2391
 
2392
+ api.add_operation(:create_delegation_request, Seahorse::Model::Operation.new.tap do |o|
2393
+ o.name = "CreateDelegationRequest"
2394
+ o.http_method = "POST"
2395
+ o.http_request_uri = "/"
2396
+ o.input = Shapes::ShapeRef.new(shape: CreateDelegationRequestRequest)
2397
+ o.output = Shapes::ShapeRef.new(shape: CreateDelegationRequestResponse)
2398
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
2399
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2400
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2401
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2402
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2403
+ end)
2404
+
2346
2405
  api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
2347
2406
  o.name = "CreateGroup"
2348
2407
  o.http_method = "POST"
@@ -706,6 +706,64 @@ module Aws::IAM
706
706
  include Aws::Structure
707
707
  end
708
708
 
709
+ # @!attribute [rw] owner_account_id
710
+ # @return [String]
711
+ #
712
+ # @!attribute [rw] description
713
+ # @return [String]
714
+ #
715
+ # @!attribute [rw] permissions
716
+ # @return [Types::DelegationPermission]
717
+ #
718
+ # @!attribute [rw] request_message
719
+ # @return [String]
720
+ #
721
+ # @!attribute [rw] requestor_workflow_id
722
+ # @return [String]
723
+ #
724
+ # @!attribute [rw] redirect_url
725
+ # @return [String]
726
+ #
727
+ # @!attribute [rw] notification_channel
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] session_duration
731
+ # @return [Integer]
732
+ #
733
+ # @!attribute [rw] only_send_by_owner
734
+ # @return [Boolean]
735
+ #
736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestRequest AWS API Documentation
737
+ #
738
+ class CreateDelegationRequestRequest < Struct.new(
739
+ :owner_account_id,
740
+ :description,
741
+ :permissions,
742
+ :request_message,
743
+ :requestor_workflow_id,
744
+ :redirect_url,
745
+ :notification_channel,
746
+ :session_duration,
747
+ :only_send_by_owner)
748
+ SENSITIVE = []
749
+ include Aws::Structure
750
+ end
751
+
752
+ # @!attribute [rw] console_deep_link
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] delegation_request_id
756
+ # @return [String]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestResponse AWS API Documentation
759
+ #
760
+ class CreateDelegationRequestResponse < Struct.new(
761
+ :console_deep_link,
762
+ :delegation_request_id)
763
+ SENSITIVE = []
764
+ include Aws::Structure
765
+ end
766
+
709
767
  # @!attribute [rw] path
710
768
  # The path to the group. For more information about paths, see [IAM
711
769
  # identifiers][1] in the *IAM User Guide*.
@@ -1914,6 +1972,30 @@ module Aws::IAM
1914
1972
  include Aws::Structure
1915
1973
  end
1916
1974
 
1975
+ # @!attribute [rw] policy_template_arn
1976
+ # The Amazon Resource Name (ARN). ARNs are unique identifiers for
1977
+ # Amazon Web Services resources.
1978
+ #
1979
+ # For more information about ARNs, go to [Amazon Resource Names
1980
+ # (ARNs)][1] in the *Amazon Web Services General Reference*.
1981
+ #
1982
+ #
1983
+ #
1984
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1985
+ # @return [String]
1986
+ #
1987
+ # @!attribute [rw] parameters
1988
+ # @return [Array<Types::PolicyParameter>]
1989
+ #
1990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DelegationPermission AWS API Documentation
1991
+ #
1992
+ class DelegationPermission < Struct.new(
1993
+ :policy_template_arn,
1994
+ :parameters)
1995
+ SENSITIVE = []
1996
+ include Aws::Structure
1997
+ end
1998
+
1917
1999
  # @!attribute [rw] user_name
1918
2000
  # The name of the user whose access key pair you want to delete.
1919
2001
  #
@@ -8686,6 +8768,25 @@ module Aws::IAM
8686
8768
  include Aws::Structure
8687
8769
  end
8688
8770
 
8771
+ # @!attribute [rw] name
8772
+ # @return [String]
8773
+ #
8774
+ # @!attribute [rw] values
8775
+ # @return [Array<String>]
8776
+ #
8777
+ # @!attribute [rw] type
8778
+ # @return [String]
8779
+ #
8780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyParameter AWS API Documentation
8781
+ #
8782
+ class PolicyParameter < Struct.new(
8783
+ :name,
8784
+ :values,
8785
+ :type)
8786
+ SENSITIVE = []
8787
+ include Aws::Structure
8788
+ end
8789
+
8689
8790
  # Contains information about a role that a managed policy is attached
8690
8791
  # to.
8691
8792
  #
data/lib/aws-sdk-iam.rb CHANGED
@@ -76,7 +76,7 @@ module Aws::IAM
76
76
  autoload :UserPolicy, 'aws-sdk-iam/user_policy'
77
77
  autoload :VirtualMfaDevice, 'aws-sdk-iam/virtual_mfa_device'
78
78
 
79
- GEM_VERSION = '1.132.0'
79
+ GEM_VERSION = '1.133.0'
80
80
 
81
81
  end
82
82
 
data/sig/client.rbs CHANGED
@@ -143,6 +143,34 @@ module Aws
143
143
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
144
144
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
145
145
 
146
+ interface _CreateDelegationRequestResponseSuccess
147
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDelegationRequestResponse]
148
+ def console_deep_link: () -> ::String
149
+ def delegation_request_id: () -> ::String
150
+ end
151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#create_delegation_request-instance_method
152
+ def create_delegation_request: (
153
+ ?owner_account_id: ::String,
154
+ description: ::String,
155
+ permissions: {
156
+ policy_template_arn: ::String?,
157
+ parameters: Array[
158
+ {
159
+ name: ::String?,
160
+ values: Array[::String]?,
161
+ type: ("string" | "stringList")?
162
+ },
163
+ ]?
164
+ },
165
+ ?request_message: ::String,
166
+ requestor_workflow_id: ::String,
167
+ ?redirect_url: ::String,
168
+ notification_channel: ::String,
169
+ session_duration: ::Integer,
170
+ ?only_send_by_owner: bool
171
+ ) -> _CreateDelegationRequestResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDelegationRequestResponseSuccess
173
+
146
174
  interface _CreateGroupResponseSuccess
147
175
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResponse]
148
176
  def group: () -> Types::Group
data/sig/types.rbs CHANGED
@@ -129,6 +129,25 @@ module Aws::IAM
129
129
  SENSITIVE: []
130
130
  end
131
131
 
132
+ class CreateDelegationRequestRequest
133
+ attr_accessor owner_account_id: ::String
134
+ attr_accessor description: ::String
135
+ attr_accessor permissions: Types::DelegationPermission
136
+ attr_accessor request_message: ::String
137
+ attr_accessor requestor_workflow_id: ::String
138
+ attr_accessor redirect_url: ::String
139
+ attr_accessor notification_channel: ::String
140
+ attr_accessor session_duration: ::Integer
141
+ attr_accessor only_send_by_owner: bool
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class CreateDelegationRequestResponse
146
+ attr_accessor console_deep_link: ::String
147
+ attr_accessor delegation_request_id: ::String
148
+ SENSITIVE: []
149
+ end
150
+
132
151
  class CreateGroupRequest
133
152
  attr_accessor path: ::String
134
153
  attr_accessor group_name: ::String
@@ -305,6 +324,12 @@ module Aws::IAM
305
324
  SENSITIVE: []
306
325
  end
307
326
 
327
+ class DelegationPermission
328
+ attr_accessor policy_template_arn: ::String
329
+ attr_accessor parameters: ::Array[Types::PolicyParameter]
330
+ SENSITIVE: []
331
+ end
332
+
308
333
  class DeleteAccessKeyRequest
309
334
  attr_accessor user_name: ::String
310
335
  attr_accessor access_key_id: ::String
@@ -1589,6 +1614,13 @@ module Aws::IAM
1589
1614
  SENSITIVE: []
1590
1615
  end
1591
1616
 
1617
+ class PolicyParameter
1618
+ attr_accessor name: ::String
1619
+ attr_accessor values: ::Array[::String]
1620
+ attr_accessor type: ("string" | "stringList")
1621
+ SENSITIVE: []
1622
+ end
1623
+
1592
1624
  class PolicyRole
1593
1625
  attr_accessor role_name: ::String
1594
1626
  attr_accessor role_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.133.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services