aws-sdk-iam 1.112.0 → 1.114.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.
@@ -20,6 +20,7 @@ module Aws::IAM
20
20
  AccessKey = Shapes::StructureShape.new(name: 'AccessKey')
21
21
  AccessKeyLastUsed = Shapes::StructureShape.new(name: 'AccessKeyLastUsed')
22
22
  AccessKeyMetadata = Shapes::StructureShape.new(name: 'AccessKeyMetadata')
23
+ AccountNotManagementOrDelegatedAdministratorException = Shapes::StructureShape.new(name: 'AccountNotManagementOrDelegatedAdministratorException')
23
24
  ActionNameListType = Shapes::ListShape.new(name: 'ActionNameListType')
24
25
  ActionNameType = Shapes::StringShape.new(name: 'ActionNameType')
25
26
  AddClientIDToOpenIDConnectProviderRequest = Shapes::StructureShape.new(name: 'AddClientIDToOpenIDConnectProviderRequest')
@@ -32,6 +33,7 @@ module Aws::IAM
32
33
  AttachedPermissionsBoundary = Shapes::StructureShape.new(name: 'AttachedPermissionsBoundary')
33
34
  AttachedPolicy = Shapes::StructureShape.new(name: 'AttachedPolicy')
34
35
  BootstrapDatum = Shapes::BlobShape.new(name: 'BootstrapDatum')
36
+ CallerIsNotManagementAccountException = Shapes::StructureShape.new(name: 'CallerIsNotManagementAccountException')
35
37
  CertificationKeyType = Shapes::StringShape.new(name: 'CertificationKeyType')
36
38
  CertificationMapType = Shapes::MapShape.new(name: 'CertificationMapType')
37
39
  CertificationValueType = Shapes::StringShape.new(name: 'CertificationValueType')
@@ -107,9 +109,17 @@ module Aws::IAM
107
109
  DetachGroupPolicyRequest = Shapes::StructureShape.new(name: 'DetachGroupPolicyRequest')
108
110
  DetachRolePolicyRequest = Shapes::StructureShape.new(name: 'DetachRolePolicyRequest')
109
111
  DetachUserPolicyRequest = Shapes::StructureShape.new(name: 'DetachUserPolicyRequest')
112
+ DisableOrganizationsRootCredentialsManagementRequest = Shapes::StructureShape.new(name: 'DisableOrganizationsRootCredentialsManagementRequest')
113
+ DisableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'DisableOrganizationsRootCredentialsManagementResponse')
114
+ DisableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'DisableOrganizationsRootSessionsRequest')
115
+ DisableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'DisableOrganizationsRootSessionsResponse')
110
116
  DuplicateCertificateException = Shapes::StructureShape.new(name: 'DuplicateCertificateException', error: {"code"=>"DuplicateCertificate", "httpStatusCode"=>409, "senderFault"=>true})
111
117
  DuplicateSSHPublicKeyException = Shapes::StructureShape.new(name: 'DuplicateSSHPublicKeyException', error: {"code"=>"DuplicateSSHPublicKey", "httpStatusCode"=>400, "senderFault"=>true})
112
118
  EnableMFADeviceRequest = Shapes::StructureShape.new(name: 'EnableMFADeviceRequest')
119
+ EnableOrganizationsRootCredentialsManagementRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementRequest')
120
+ EnableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementResponse')
121
+ EnableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsRequest')
122
+ EnableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsResponse')
113
123
  EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException', error: {"code"=>"EntityAlreadyExists", "httpStatusCode"=>409, "senderFault"=>true})
114
124
  EntityDetails = Shapes::StructureShape.new(name: 'EntityDetails')
115
125
  EntityInfo = Shapes::StructureShape.new(name: 'EntityInfo')
@@ -120,6 +130,8 @@ module Aws::IAM
120
130
  EvalDecisionSourceType = Shapes::StringShape.new(name: 'EvalDecisionSourceType')
121
131
  EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
122
132
  EvaluationResultsListType = Shapes::ListShape.new(name: 'EvaluationResultsListType')
133
+ FeatureType = Shapes::StringShape.new(name: 'FeatureType')
134
+ FeaturesListType = Shapes::ListShape.new(name: 'FeaturesListType')
123
135
  GenerateCredentialReportResponse = Shapes::StructureShape.new(name: 'GenerateCredentialReportResponse')
124
136
  GenerateOrganizationsAccessReportRequest = Shapes::StructureShape.new(name: 'GenerateOrganizationsAccessReportRequest')
125
137
  GenerateOrganizationsAccessReportResponse = Shapes::StructureShape.new(name: 'GenerateOrganizationsAccessReportResponse')
@@ -216,6 +228,8 @@ module Aws::IAM
216
228
  ListOpenIDConnectProviderTagsResponse = Shapes::StructureShape.new(name: 'ListOpenIDConnectProviderTagsResponse')
217
229
  ListOpenIDConnectProvidersRequest = Shapes::StructureShape.new(name: 'ListOpenIDConnectProvidersRequest')
218
230
  ListOpenIDConnectProvidersResponse = Shapes::StructureShape.new(name: 'ListOpenIDConnectProvidersResponse')
231
+ ListOrganizationsFeaturesRequest = Shapes::StructureShape.new(name: 'ListOrganizationsFeaturesRequest')
232
+ ListOrganizationsFeaturesResponse = Shapes::StructureShape.new(name: 'ListOrganizationsFeaturesResponse')
219
233
  ListPoliciesGrantingServiceAccessEntry = Shapes::StructureShape.new(name: 'ListPoliciesGrantingServiceAccessEntry')
220
234
  ListPoliciesGrantingServiceAccessRequest = Shapes::StructureShape.new(name: 'ListPoliciesGrantingServiceAccessRequest')
221
235
  ListPoliciesGrantingServiceAccessResponse = Shapes::StructureShape.new(name: 'ListPoliciesGrantingServiceAccessResponse')
@@ -264,6 +278,9 @@ module Aws::IAM
264
278
  OpenIDConnectProviderListType = Shapes::ListShape.new(name: 'OpenIDConnectProviderListType')
265
279
  OpenIDConnectProviderUrlType = Shapes::StringShape.new(name: 'OpenIDConnectProviderUrlType')
266
280
  OpenIdIdpCommunicationErrorException = Shapes::StructureShape.new(name: 'OpenIdIdpCommunicationErrorException', error: {"code"=>"OpenIdIdpCommunicationError", "httpStatusCode"=>400, "senderFault"=>true})
281
+ OrganizationIdType = Shapes::StringShape.new(name: 'OrganizationIdType')
282
+ OrganizationNotFoundException = Shapes::StructureShape.new(name: 'OrganizationNotFoundException')
283
+ OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
267
284
  OrganizationsDecisionDetail = Shapes::StructureShape.new(name: 'OrganizationsDecisionDetail')
268
285
  PasswordPolicy = Shapes::StructureShape.new(name: 'PasswordPolicy')
269
286
  PasswordPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordPolicyViolationException', error: {"code"=>"PasswordPolicyViolation", "httpStatusCode"=>400, "senderFault"=>true})
@@ -323,6 +340,7 @@ module Aws::IAM
323
340
  SSHPublicKeyMetadata = Shapes::StructureShape.new(name: 'SSHPublicKeyMetadata')
324
341
  ServerCertificate = Shapes::StructureShape.new(name: 'ServerCertificate')
325
342
  ServerCertificateMetadata = Shapes::StructureShape.new(name: 'ServerCertificateMetadata')
343
+ ServiceAccessNotEnabledException = Shapes::StructureShape.new(name: 'ServiceAccessNotEnabledException')
326
344
  ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException', error: {"code"=>"ServiceFailure", "httpStatusCode"=>500})
327
345
  ServiceLastAccessed = Shapes::StructureShape.new(name: 'ServiceLastAccessed')
328
346
  ServiceNotSupportedException = Shapes::StructureShape.new(name: 'ServiceNotSupportedException', error: {"code"=>"NotSupportedService", "httpStatusCode"=>404, "senderFault"=>true})
@@ -540,6 +558,8 @@ module Aws::IAM
540
558
  AccessKeyMetadata.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
541
559
  AccessKeyMetadata.struct_class = Types::AccessKeyMetadata
542
560
 
561
+ AccountNotManagementOrDelegatedAdministratorException.struct_class = Types::AccountNotManagementOrDelegatedAdministratorException
562
+
543
563
  ActionNameListType.member = Shapes::ShapeRef.new(shape: ActionNameType)
544
564
 
545
565
  AddClientIDToOpenIDConnectProviderRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
@@ -576,6 +596,8 @@ module Aws::IAM
576
596
  AttachedPolicy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "PolicyArn"))
577
597
  AttachedPolicy.struct_class = Types::AttachedPolicy
578
598
 
599
+ CallerIsNotManagementAccountException.struct_class = Types::CallerIsNotManagementAccountException
600
+
579
601
  CertificationMapType.key = Shapes::ShapeRef.new(shape: CertificationKeyType)
580
602
  CertificationMapType.value = Shapes::ShapeRef.new(shape: CertificationValueType)
581
603
 
@@ -621,8 +643,8 @@ module Aws::IAM
621
643
  CreateInstanceProfileResponse.add_member(:instance_profile, Shapes::ShapeRef.new(shape: InstanceProfile, required: true, location_name: "InstanceProfile"))
622
644
  CreateInstanceProfileResponse.struct_class = Types::CreateInstanceProfileResponse
623
645
 
624
- CreateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
625
- CreateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, required: true, location_name: "Password"))
646
+ CreateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, location_name: "UserName"))
647
+ CreateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, location_name: "Password"))
626
648
  CreateLoginProfileRequest.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanType, location_name: "PasswordResetRequired"))
627
649
  CreateLoginProfileRequest.struct_class = Types::CreateLoginProfileRequest
628
650
 
@@ -719,7 +741,7 @@ module Aws::IAM
719
741
  CredentialReportNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: credentialReportNotReadyExceptionMessage, location_name: "message"))
720
742
  CredentialReportNotReadyException.struct_class = Types::CredentialReportNotReadyException
721
743
 
722
- DeactivateMFADeviceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, required: true, location_name: "UserName"))
744
+ DeactivateMFADeviceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
723
745
  DeactivateMFADeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, required: true, location_name: "SerialNumber"))
724
746
  DeactivateMFADeviceRequest.struct_class = Types::DeactivateMFADeviceRequest
725
747
 
@@ -743,7 +765,7 @@ module Aws::IAM
743
765
  DeleteInstanceProfileRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: instanceProfileNameType, required: true, location_name: "InstanceProfileName"))
744
766
  DeleteInstanceProfileRequest.struct_class = Types::DeleteInstanceProfileRequest
745
767
 
746
- DeleteLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
768
+ DeleteLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, location_name: "UserName"))
747
769
  DeleteLoginProfileRequest.struct_class = Types::DeleteLoginProfileRequest
748
770
 
749
771
  DeleteOpenIDConnectProviderRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
@@ -819,6 +841,18 @@ module Aws::IAM
819
841
  DetachUserPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
820
842
  DetachUserPolicyRequest.struct_class = Types::DetachUserPolicyRequest
821
843
 
844
+ DisableOrganizationsRootCredentialsManagementRequest.struct_class = Types::DisableOrganizationsRootCredentialsManagementRequest
845
+
846
+ DisableOrganizationsRootCredentialsManagementResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationIdType, location_name: "OrganizationId"))
847
+ DisableOrganizationsRootCredentialsManagementResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
848
+ DisableOrganizationsRootCredentialsManagementResponse.struct_class = Types::DisableOrganizationsRootCredentialsManagementResponse
849
+
850
+ DisableOrganizationsRootSessionsRequest.struct_class = Types::DisableOrganizationsRootSessionsRequest
851
+
852
+ DisableOrganizationsRootSessionsResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationIdType, location_name: "OrganizationId"))
853
+ DisableOrganizationsRootSessionsResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
854
+ DisableOrganizationsRootSessionsResponse.struct_class = Types::DisableOrganizationsRootSessionsResponse
855
+
822
856
  DuplicateCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: duplicateCertificateMessage, location_name: "message"))
823
857
  DuplicateCertificateException.struct_class = Types::DuplicateCertificateException
824
858
 
@@ -831,6 +865,18 @@ module Aws::IAM
831
865
  EnableMFADeviceRequest.add_member(:authentication_code_2, Shapes::ShapeRef.new(shape: authenticationCodeType, required: true, location_name: "AuthenticationCode2"))
832
866
  EnableMFADeviceRequest.struct_class = Types::EnableMFADeviceRequest
833
867
 
868
+ EnableOrganizationsRootCredentialsManagementRequest.struct_class = Types::EnableOrganizationsRootCredentialsManagementRequest
869
+
870
+ EnableOrganizationsRootCredentialsManagementResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationIdType, location_name: "OrganizationId"))
871
+ EnableOrganizationsRootCredentialsManagementResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
872
+ EnableOrganizationsRootCredentialsManagementResponse.struct_class = Types::EnableOrganizationsRootCredentialsManagementResponse
873
+
874
+ EnableOrganizationsRootSessionsRequest.struct_class = Types::EnableOrganizationsRootSessionsRequest
875
+
876
+ EnableOrganizationsRootSessionsResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationIdType, location_name: "OrganizationId"))
877
+ EnableOrganizationsRootSessionsResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
878
+ EnableOrganizationsRootSessionsResponse.struct_class = Types::EnableOrganizationsRootSessionsResponse
879
+
834
880
  EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: entityAlreadyExistsMessage, location_name: "message"))
835
881
  EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
836
882
 
@@ -868,6 +914,8 @@ module Aws::IAM
868
914
 
869
915
  EvaluationResultsListType.member = Shapes::ShapeRef.new(shape: EvaluationResult)
870
916
 
917
+ FeaturesListType.member = Shapes::ShapeRef.new(shape: FeatureType)
918
+
871
919
  GenerateCredentialReportResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReportStateType, location_name: "State"))
872
920
  GenerateCredentialReportResponse.add_member(:description, Shapes::ShapeRef.new(shape: ReportStateDescriptionType, location_name: "Description"))
873
921
  GenerateCredentialReportResponse.struct_class = Types::GenerateCredentialReportResponse
@@ -953,7 +1001,7 @@ module Aws::IAM
953
1001
  GetInstanceProfileResponse.add_member(:instance_profile, Shapes::ShapeRef.new(shape: InstanceProfile, required: true, location_name: "InstanceProfile"))
954
1002
  GetInstanceProfileResponse.struct_class = Types::GetInstanceProfileResponse
955
1003
 
956
- GetLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
1004
+ GetLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, location_name: "UserName"))
957
1005
  GetLoginProfileRequest.struct_class = Types::GetLoginProfileRequest
958
1006
 
959
1007
  GetLoginProfileResponse.add_member(:login_profile, Shapes::ShapeRef.new(shape: LoginProfile, required: true, location_name: "LoginProfile"))
@@ -1307,6 +1355,12 @@ module Aws::IAM
1307
1355
  ListOpenIDConnectProvidersResponse.add_member(:open_id_connect_provider_list, Shapes::ShapeRef.new(shape: OpenIDConnectProviderListType, location_name: "OpenIDConnectProviderList"))
1308
1356
  ListOpenIDConnectProvidersResponse.struct_class = Types::ListOpenIDConnectProvidersResponse
1309
1357
 
1358
+ ListOrganizationsFeaturesRequest.struct_class = Types::ListOrganizationsFeaturesRequest
1359
+
1360
+ ListOrganizationsFeaturesResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationIdType, location_name: "OrganizationId"))
1361
+ ListOrganizationsFeaturesResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
1362
+ ListOrganizationsFeaturesResponse.struct_class = Types::ListOrganizationsFeaturesResponse
1363
+
1310
1364
  ListPoliciesGrantingServiceAccessEntry.add_member(:service_namespace, Shapes::ShapeRef.new(shape: serviceNamespaceType, location_name: "ServiceNamespace"))
1311
1365
  ListPoliciesGrantingServiceAccessEntry.add_member(:policies, Shapes::ShapeRef.new(shape: policyGrantingServiceAccessListType, location_name: "Policies"))
1312
1366
  ListPoliciesGrantingServiceAccessEntry.struct_class = Types::ListPoliciesGrantingServiceAccessEntry
@@ -1529,6 +1583,10 @@ module Aws::IAM
1529
1583
  OpenIdIdpCommunicationErrorException.add_member(:message, Shapes::ShapeRef.new(shape: openIdIdpCommunicationErrorExceptionMessage, location_name: "message"))
1530
1584
  OpenIdIdpCommunicationErrorException.struct_class = Types::OpenIdIdpCommunicationErrorException
1531
1585
 
1586
+ OrganizationNotFoundException.struct_class = Types::OrganizationNotFoundException
1587
+
1588
+ OrganizationNotInAllFeaturesModeException.struct_class = Types::OrganizationNotInAllFeaturesModeException
1589
+
1532
1590
  OrganizationsDecisionDetail.add_member(:allowed_by_organizations, Shapes::ShapeRef.new(shape: booleanType, location_name: "AllowedByOrganizations"))
1533
1591
  OrganizationsDecisionDetail.struct_class = Types::OrganizationsDecisionDetail
1534
1592
 
@@ -1746,6 +1804,8 @@ module Aws::IAM
1746
1804
  ServerCertificateMetadata.add_member(:expiration, Shapes::ShapeRef.new(shape: dateType, location_name: "Expiration"))
1747
1805
  ServerCertificateMetadata.struct_class = Types::ServerCertificateMetadata
1748
1806
 
1807
+ ServiceAccessNotEnabledException.struct_class = Types::ServiceAccessNotEnabledException
1808
+
1749
1809
  ServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: serviceFailureExceptionMessage, location_name: "message"))
1750
1810
  ServiceFailureException.struct_class = Types::ServiceFailureException
1751
1811
 
@@ -2722,6 +2782,30 @@ module Aws::IAM
2722
2782
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2723
2783
  end)
2724
2784
 
2785
+ api.add_operation(:disable_organizations_root_credentials_management, Seahorse::Model::Operation.new.tap do |o|
2786
+ o.name = "DisableOrganizationsRootCredentialsManagement"
2787
+ o.http_method = "POST"
2788
+ o.http_request_uri = "/"
2789
+ o.input = Shapes::ShapeRef.new(shape: DisableOrganizationsRootCredentialsManagementRequest)
2790
+ o.output = Shapes::ShapeRef.new(shape: DisableOrganizationsRootCredentialsManagementResponse)
2791
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccessNotEnabledException)
2792
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotManagementOrDelegatedAdministratorException)
2793
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2794
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2795
+ end)
2796
+
2797
+ api.add_operation(:disable_organizations_root_sessions, Seahorse::Model::Operation.new.tap do |o|
2798
+ o.name = "DisableOrganizationsRootSessions"
2799
+ o.http_method = "POST"
2800
+ o.http_request_uri = "/"
2801
+ o.input = Shapes::ShapeRef.new(shape: DisableOrganizationsRootSessionsRequest)
2802
+ o.output = Shapes::ShapeRef.new(shape: DisableOrganizationsRootSessionsResponse)
2803
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccessNotEnabledException)
2804
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotManagementOrDelegatedAdministratorException)
2805
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2806
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2807
+ end)
2808
+
2725
2809
  api.add_operation(:enable_mfa_device, Seahorse::Model::Operation.new.tap do |o|
2726
2810
  o.name = "EnableMFADevice"
2727
2811
  o.http_method = "POST"
@@ -2737,6 +2821,32 @@ module Aws::IAM
2737
2821
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2738
2822
  end)
2739
2823
 
2824
+ api.add_operation(:enable_organizations_root_credentials_management, Seahorse::Model::Operation.new.tap do |o|
2825
+ o.name = "EnableOrganizationsRootCredentialsManagement"
2826
+ o.http_method = "POST"
2827
+ o.http_request_uri = "/"
2828
+ o.input = Shapes::ShapeRef.new(shape: EnableOrganizationsRootCredentialsManagementRequest)
2829
+ o.output = Shapes::ShapeRef.new(shape: EnableOrganizationsRootCredentialsManagementResponse)
2830
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccessNotEnabledException)
2831
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotManagementOrDelegatedAdministratorException)
2832
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2833
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2834
+ o.errors << Shapes::ShapeRef.new(shape: CallerIsNotManagementAccountException)
2835
+ end)
2836
+
2837
+ api.add_operation(:enable_organizations_root_sessions, Seahorse::Model::Operation.new.tap do |o|
2838
+ o.name = "EnableOrganizationsRootSessions"
2839
+ o.http_method = "POST"
2840
+ o.http_request_uri = "/"
2841
+ o.input = Shapes::ShapeRef.new(shape: EnableOrganizationsRootSessionsRequest)
2842
+ o.output = Shapes::ShapeRef.new(shape: EnableOrganizationsRootSessionsResponse)
2843
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccessNotEnabledException)
2844
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotManagementOrDelegatedAdministratorException)
2845
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2846
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2847
+ o.errors << Shapes::ShapeRef.new(shape: CallerIsNotManagementAccountException)
2848
+ end)
2849
+
2740
2850
  api.add_operation(:generate_credential_report, Seahorse::Model::Operation.new.tap do |o|
2741
2851
  o.name = "GenerateCredentialReport"
2742
2852
  o.http_method = "POST"
@@ -3308,6 +3418,18 @@ module Aws::IAM
3308
3418
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
3309
3419
  end)
3310
3420
 
3421
+ api.add_operation(:list_organizations_features, Seahorse::Model::Operation.new.tap do |o|
3422
+ o.name = "ListOrganizationsFeatures"
3423
+ o.http_method = "POST"
3424
+ o.http_request_uri = "/"
3425
+ o.input = Shapes::ShapeRef.new(shape: ListOrganizationsFeaturesRequest)
3426
+ o.output = Shapes::ShapeRef.new(shape: ListOrganizationsFeaturesResponse)
3427
+ o.errors << Shapes::ShapeRef.new(shape: ServiceAccessNotEnabledException)
3428
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotManagementOrDelegatedAdministratorException)
3429
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
3430
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
3431
+ end)
3432
+
3311
3433
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
3312
3434
  o.name = "ListPolicies"
3313
3435
  o.http_method = "POST"
@@ -27,6 +27,8 @@ module Aws::IAM
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccountNotManagementOrDelegatedAdministratorException}
31
+ # * {CallerIsNotManagementAccountException}
30
32
  # * {ConcurrentModificationException}
31
33
  # * {CredentialReportExpiredException}
32
34
  # * {CredentialReportNotPresentException}
@@ -47,10 +49,13 @@ module Aws::IAM
47
49
  # * {MalformedPolicyDocumentException}
48
50
  # * {NoSuchEntityException}
49
51
  # * {OpenIdIdpCommunicationErrorException}
52
+ # * {OrganizationNotFoundException}
53
+ # * {OrganizationNotInAllFeaturesModeException}
50
54
  # * {PasswordPolicyViolationException}
51
55
  # * {PolicyEvaluationException}
52
56
  # * {PolicyNotAttachableException}
53
57
  # * {ReportGenerationLimitExceededException}
58
+ # * {ServiceAccessNotEnabledException}
54
59
  # * {ServiceFailureException}
55
60
  # * {ServiceNotSupportedException}
56
61
  # * {UnmodifiableEntityException}
@@ -62,6 +67,26 @@ module Aws::IAM
62
67
 
63
68
  extend Aws::Errors::DynamicErrors
64
69
 
70
+ class AccountNotManagementOrDelegatedAdministratorException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::IAM::Types::AccountNotManagementOrDelegatedAdministratorException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+ end
79
+
80
+ class CallerIsNotManagementAccountException < ServiceError
81
+
82
+ # @param [Seahorse::Client::RequestContext] context
83
+ # @param [String] message
84
+ # @param [Aws::IAM::Types::CallerIsNotManagementAccountException] data
85
+ def initialize(context, message, data = Aws::EmptyStructure.new)
86
+ super(context, message, data)
87
+ end
88
+ end
89
+
65
90
  class ConcurrentModificationException < ServiceError
66
91
 
67
92
  # @param [Seahorse::Client::RequestContext] context
@@ -362,6 +387,26 @@ module Aws::IAM
362
387
  end
363
388
  end
364
389
 
390
+ class OrganizationNotFoundException < ServiceError
391
+
392
+ # @param [Seahorse::Client::RequestContext] context
393
+ # @param [String] message
394
+ # @param [Aws::IAM::Types::OrganizationNotFoundException] data
395
+ def initialize(context, message, data = Aws::EmptyStructure.new)
396
+ super(context, message, data)
397
+ end
398
+ end
399
+
400
+ class OrganizationNotInAllFeaturesModeException < ServiceError
401
+
402
+ # @param [Seahorse::Client::RequestContext] context
403
+ # @param [String] message
404
+ # @param [Aws::IAM::Types::OrganizationNotInAllFeaturesModeException] data
405
+ def initialize(context, message, data = Aws::EmptyStructure.new)
406
+ super(context, message, data)
407
+ end
408
+ end
409
+
365
410
  class PasswordPolicyViolationException < ServiceError
366
411
 
367
412
  # @param [Seahorse::Client::RequestContext] context
@@ -422,6 +467,16 @@ module Aws::IAM
422
467
  end
423
468
  end
424
469
 
470
+ class ServiceAccessNotEnabledException < ServiceError
471
+
472
+ # @param [Seahorse::Client::RequestContext] context
473
+ # @param [String] message
474
+ # @param [Aws::IAM::Types::ServiceAccessNotEnabledException] data
475
+ def initialize(context, message, data = Aws::EmptyStructure.new)
476
+ super(context, message, data)
477
+ end
478
+ end
479
+
425
480
  class ServiceFailureException < ServiceError
426
481
 
427
482
  # @param [Seahorse::Client::RequestContext] context
@@ -188,14 +188,17 @@ module Aws::IAM
188
188
  # @example Request syntax with placeholder values
189
189
  #
190
190
  # loginprofile = login_profile.create({
191
- # password: "passwordType", # required
191
+ # password: "passwordType",
192
192
  # password_reset_required: false,
193
193
  # })
194
194
  # @param [Hash] options ({})
195
- # @option options [required, String] :password
195
+ # @option options [String] :password
196
196
  # The new password for the user.
197
197
  #
198
- # The [regex pattern][1] that is used to validate this parameter is a
198
+ # This parameter must be omitted when you make the request with an
199
+ # [AssumeRoot][1] session. It is required in all other cases.
200
+ #
201
+ # The [regex pattern][2] that is used to validate this parameter is a
199
202
  # string of characters. That string can include almost any printable
200
203
  # ASCII character from the space (`\u0020`) through the end of the ASCII
201
204
  # character range (`\u00FF`). You can also include the tab (`\u0009`),
@@ -207,7 +210,8 @@ module Aws::IAM
207
210
  #
208
211
  #
209
212
  #
210
- # [1]: http://wikipedia.org/wiki/regex
213
+ # [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
214
+ # [2]: http://wikipedia.org/wiki/regex
211
215
  # @option options [Boolean] :password_reset_required
212
216
  # Specifies whether the user is required to set a new password on next
213
217
  # sign-in.
@@ -117,7 +117,7 @@ module Aws::IAM
117
117
  # Specifies whether IAM user passwords must contain at least one of the
118
118
  # following non-alphanumeric characters:
119
119
  #
120
- # ! @ # $ % ^ &amp; * ( ) \_ + - = \[ \] \\\{ \\} \| '
120
+ # ! @ # $ % ^ &amp; * ( ) \_ + - = \[ \] \{ } \| '
121
121
  #
122
122
  # If you do not specify a value for this parameter, then the operation
123
123
  # uses the default value of `false`. The result is that passwords do not