aws-sdk-core 3.251.0 → 3.252.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-signin/client.rb +262 -1
- data/lib/aws-sdk-signin/client_api.rb +238 -0
- data/lib/aws-sdk-signin/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-signin/endpoint_provider.rb +42 -0
- data/lib/aws-sdk-signin/endpoints.rb +81 -1
- data/lib/aws-sdk-signin/errors.rb +63 -0
- data/lib/aws-sdk-signin/types.rb +416 -0
- data/lib/aws-sdk-signin.rb +1 -1
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96694b8f2f5836a441a97a28c54192ac0c7ecd4bc17ce0e7f38aa1979f4b44ce
|
|
4
|
+
data.tar.gz: 22beaae2d0474238fb04148a1b388ce0de31efa1f8f2ac5c7daff1315cfbb44f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40fa25ff493916dd88b63b5bc77f18675e066fbf74a38773adee76b1ec6b4376430d03fb53697ddb0759e11c41815e54c7e30bba71cd0622571f1ae18a47a2d8
|
|
7
|
+
data.tar.gz: c81b88488d9029025ecec32d86b9fd83ae71b8e144025eaf859227e75996d8f9b1bce06ee375de7f9ac00eea06d36a48744f79b49db4ab3b636596fbcf2a8d19
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.252.0 (2026-06-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated Aws::Signin::Client with the latest API changes.
|
|
8
|
+
|
|
9
|
+
* Feature - AWS Sign-In now allows customers to control access to the AWS Management Console using resource-based policies. With this release customers can restrict console access based on network perimeters such as VPC IDs, VPC endpoints, and IP addresses.
|
|
10
|
+
|
|
4
11
|
3.251.0 (2026-06-02)
|
|
5
12
|
------------------
|
|
6
13
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.252.0
|
|
@@ -559,6 +559,267 @@ module Aws::Signin
|
|
|
559
559
|
req.send_request(options)
|
|
560
560
|
end
|
|
561
561
|
|
|
562
|
+
# Delete console authorization configuration with automatic scope
|
|
563
|
+
# detection
|
|
564
|
+
#
|
|
565
|
+
# @option params [String] :target_id
|
|
566
|
+
# Target account identifier
|
|
567
|
+
#
|
|
568
|
+
# @return [Types::DeleteConsoleAuthorizationConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
569
|
+
#
|
|
570
|
+
# * {Types::DeleteConsoleAuthorizationConfigurationOutput#target_id #target_id} => String
|
|
571
|
+
# * {Types::DeleteConsoleAuthorizationConfigurationOutput#scope #scope} => String
|
|
572
|
+
# * {Types::DeleteConsoleAuthorizationConfigurationOutput#console_authorization_enabled #console_authorization_enabled} => Boolean
|
|
573
|
+
#
|
|
574
|
+
# @example Request syntax with placeholder values
|
|
575
|
+
#
|
|
576
|
+
# resp = client.delete_console_authorization_configuration({
|
|
577
|
+
# target_id: "TargetId",
|
|
578
|
+
# })
|
|
579
|
+
#
|
|
580
|
+
# @example Response structure
|
|
581
|
+
#
|
|
582
|
+
# resp.target_id #=> String
|
|
583
|
+
# resp.scope #=> String
|
|
584
|
+
# resp.console_authorization_enabled #=> Boolean
|
|
585
|
+
#
|
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteConsoleAuthorizationConfiguration AWS API Documentation
|
|
587
|
+
#
|
|
588
|
+
# @overload delete_console_authorization_configuration(params = {})
|
|
589
|
+
# @param [Hash] params ({})
|
|
590
|
+
def delete_console_authorization_configuration(params = {}, options = {})
|
|
591
|
+
req = build_request(:delete_console_authorization_configuration, params)
|
|
592
|
+
req.send_request(options)
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# Remove a permission statement from the account's SignIn
|
|
596
|
+
# resource-based policy
|
|
597
|
+
#
|
|
598
|
+
# @option params [required, String] :statement_id
|
|
599
|
+
# Unique identifier of the permission statement to delete
|
|
600
|
+
#
|
|
601
|
+
# @option params [String] :client_token
|
|
602
|
+
# Idempotency token for the request
|
|
603
|
+
#
|
|
604
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
605
|
+
# not need to pass this option.**
|
|
606
|
+
#
|
|
607
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
608
|
+
#
|
|
609
|
+
# @example Request syntax with placeholder values
|
|
610
|
+
#
|
|
611
|
+
# resp = client.delete_resource_permission_statement({
|
|
612
|
+
# statement_id: "StatementId", # required
|
|
613
|
+
# client_token: "ClientToken",
|
|
614
|
+
# })
|
|
615
|
+
#
|
|
616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteResourcePermissionStatement AWS API Documentation
|
|
617
|
+
#
|
|
618
|
+
# @overload delete_resource_permission_statement(params = {})
|
|
619
|
+
# @param [Hash] params ({})
|
|
620
|
+
def delete_resource_permission_statement(params = {}, options = {})
|
|
621
|
+
req = build_request(:delete_resource_permission_statement, params)
|
|
622
|
+
req.send_request(options)
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
# Get console authorization configuration with automatic scope detection
|
|
626
|
+
#
|
|
627
|
+
# @option params [String] :target_id
|
|
628
|
+
# Target account identifier
|
|
629
|
+
#
|
|
630
|
+
# @return [Types::GetConsoleAuthorizationConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
631
|
+
#
|
|
632
|
+
# * {Types::GetConsoleAuthorizationConfigurationOutput#target_id #target_id} => String
|
|
633
|
+
# * {Types::GetConsoleAuthorizationConfigurationOutput#scope #scope} => String
|
|
634
|
+
# * {Types::GetConsoleAuthorizationConfigurationOutput#console_authorization_enabled #console_authorization_enabled} => Boolean
|
|
635
|
+
#
|
|
636
|
+
# @example Request syntax with placeholder values
|
|
637
|
+
#
|
|
638
|
+
# resp = client.get_console_authorization_configuration({
|
|
639
|
+
# target_id: "TargetId",
|
|
640
|
+
# })
|
|
641
|
+
#
|
|
642
|
+
# @example Response structure
|
|
643
|
+
#
|
|
644
|
+
# resp.target_id #=> String
|
|
645
|
+
# resp.scope #=> String
|
|
646
|
+
# resp.console_authorization_enabled #=> Boolean
|
|
647
|
+
#
|
|
648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetConsoleAuthorizationConfiguration AWS API Documentation
|
|
649
|
+
#
|
|
650
|
+
# @overload get_console_authorization_configuration(params = {})
|
|
651
|
+
# @param [Hash] params ({})
|
|
652
|
+
def get_console_authorization_configuration(params = {}, options = {})
|
|
653
|
+
req = build_request(:get_console_authorization_configuration, params)
|
|
654
|
+
req.send_request(options)
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
# Retrieve the account's consolidated SignIn resource-based policy
|
|
658
|
+
#
|
|
659
|
+
# @return [Types::GetResourcePolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
660
|
+
#
|
|
661
|
+
# * {Types::GetResourcePolicyOutput#signin_resource_based_policy #signin_resource_based_policy} => Types::SigninResourceBasedPolicy
|
|
662
|
+
#
|
|
663
|
+
# @example Response structure
|
|
664
|
+
#
|
|
665
|
+
# resp.signin_resource_based_policy.version #=> String
|
|
666
|
+
# resp.signin_resource_based_policy.statement #=> Array
|
|
667
|
+
# resp.signin_resource_based_policy.statement[0].effect #=> String
|
|
668
|
+
# resp.signin_resource_based_policy.statement[0].principal #=> Hash
|
|
669
|
+
# resp.signin_resource_based_policy.statement[0].principal["String"] #=> String
|
|
670
|
+
# resp.signin_resource_based_policy.statement[0].action #=> Array
|
|
671
|
+
# resp.signin_resource_based_policy.statement[0].action[0] #=> String
|
|
672
|
+
# resp.signin_resource_based_policy.statement[0].resource #=> String
|
|
673
|
+
# resp.signin_resource_based_policy.statement[0].condition #=> Hash
|
|
674
|
+
# resp.signin_resource_based_policy.statement[0].condition["ConditionType"] #=> Hash
|
|
675
|
+
# resp.signin_resource_based_policy.statement[0].condition["ConditionType"]["String"] #=> Array
|
|
676
|
+
# resp.signin_resource_based_policy.statement[0].condition["ConditionType"]["String"][0] #=> String
|
|
677
|
+
#
|
|
678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetResourcePolicy AWS API Documentation
|
|
679
|
+
#
|
|
680
|
+
# @overload get_resource_policy(params = {})
|
|
681
|
+
# @param [Hash] params ({})
|
|
682
|
+
def get_resource_policy(params = {}, options = {})
|
|
683
|
+
req = build_request(:get_resource_policy, params)
|
|
684
|
+
req.send_request(options)
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
# Retrieve all permission statements in the account's SignIn
|
|
688
|
+
# resource-based policy
|
|
689
|
+
#
|
|
690
|
+
# @option params [Integer] :max_results
|
|
691
|
+
# Maximum number of results to return
|
|
692
|
+
#
|
|
693
|
+
# @option params [String] :next_token
|
|
694
|
+
# Token for pagination
|
|
695
|
+
#
|
|
696
|
+
# @return [Types::ListResourcePermissionStatementsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
697
|
+
#
|
|
698
|
+
# * {Types::ListResourcePermissionStatementsOutput#permission_statements #permission_statements} => Array<Types::PermissionStatementSummary>
|
|
699
|
+
# * {Types::ListResourcePermissionStatementsOutput#next_token #next_token} => String
|
|
700
|
+
#
|
|
701
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
702
|
+
#
|
|
703
|
+
# @example Request syntax with placeholder values
|
|
704
|
+
#
|
|
705
|
+
# resp = client.list_resource_permission_statements({
|
|
706
|
+
# max_results: 1,
|
|
707
|
+
# next_token: "NextToken",
|
|
708
|
+
# })
|
|
709
|
+
#
|
|
710
|
+
# @example Response structure
|
|
711
|
+
#
|
|
712
|
+
# resp.permission_statements #=> Array
|
|
713
|
+
# resp.permission_statements[0].sid #=> String
|
|
714
|
+
# resp.permission_statements[0].condition #=> Hash
|
|
715
|
+
# resp.permission_statements[0].condition["ConditionType"] #=> Hash
|
|
716
|
+
# resp.permission_statements[0].condition["ConditionType"]["String"] #=> Array
|
|
717
|
+
# resp.permission_statements[0].condition["ConditionType"]["String"][0] #=> String
|
|
718
|
+
# resp.next_token #=> String
|
|
719
|
+
#
|
|
720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ListResourcePermissionStatements AWS API Documentation
|
|
721
|
+
#
|
|
722
|
+
# @overload list_resource_permission_statements(params = {})
|
|
723
|
+
# @param [Hash] params ({})
|
|
724
|
+
def list_resource_permission_statements(params = {}, options = {})
|
|
725
|
+
req = build_request(:list_resource_permission_statements, params)
|
|
726
|
+
req.send_request(options)
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# Enable console authorization configuration with automatic scope
|
|
730
|
+
# detection
|
|
731
|
+
#
|
|
732
|
+
# @option params [String] :target_id
|
|
733
|
+
# Target account identifier
|
|
734
|
+
#
|
|
735
|
+
# @return [Types::PutConsoleAuthorizationConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
736
|
+
#
|
|
737
|
+
# * {Types::PutConsoleAuthorizationConfigurationOutput#target_id #target_id} => String
|
|
738
|
+
# * {Types::PutConsoleAuthorizationConfigurationOutput#scope #scope} => String
|
|
739
|
+
# * {Types::PutConsoleAuthorizationConfigurationOutput#console_authorization_enabled #console_authorization_enabled} => Boolean
|
|
740
|
+
#
|
|
741
|
+
# @example Request syntax with placeholder values
|
|
742
|
+
#
|
|
743
|
+
# resp = client.put_console_authorization_configuration({
|
|
744
|
+
# target_id: "TargetId",
|
|
745
|
+
# })
|
|
746
|
+
#
|
|
747
|
+
# @example Response structure
|
|
748
|
+
#
|
|
749
|
+
# resp.target_id #=> String
|
|
750
|
+
# resp.scope #=> String
|
|
751
|
+
# resp.console_authorization_enabled #=> Boolean
|
|
752
|
+
#
|
|
753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutConsoleAuthorizationConfiguration AWS API Documentation
|
|
754
|
+
#
|
|
755
|
+
# @overload put_console_authorization_configuration(params = {})
|
|
756
|
+
# @param [Hash] params ({})
|
|
757
|
+
def put_console_authorization_configuration(params = {}, options = {})
|
|
758
|
+
req = build_request(:put_console_authorization_configuration, params)
|
|
759
|
+
req.send_request(options)
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
# Create a permission statement in the account's SignIn resource-based
|
|
763
|
+
# policy
|
|
764
|
+
#
|
|
765
|
+
# @option params [String] :source_vpc
|
|
766
|
+
# VPC identifier to restrict console access
|
|
767
|
+
#
|
|
768
|
+
# @option params [String] :signin_source_vpce
|
|
769
|
+
# SignIn VPC endpoint identifier
|
|
770
|
+
#
|
|
771
|
+
# @option params [String] :console_source_vpce
|
|
772
|
+
# Console VPC endpoint identifier
|
|
773
|
+
#
|
|
774
|
+
# @option params [String] :vpc_source_ip
|
|
775
|
+
# Source IP address within VPC
|
|
776
|
+
#
|
|
777
|
+
# @option params [String] :source_ip
|
|
778
|
+
# Source IP address
|
|
779
|
+
#
|
|
780
|
+
# @option params [String] :requested_region
|
|
781
|
+
# AWS region where the VPC and VPC endpoint reside Required when
|
|
782
|
+
# sourceVpc or signinSourceVpce/consoleSourceVpce is provided
|
|
783
|
+
#
|
|
784
|
+
# @option params [String] :excluded_principal
|
|
785
|
+
# Principal to exclude from the permission statement
|
|
786
|
+
#
|
|
787
|
+
# @option params [String] :client_token
|
|
788
|
+
# Idempotency token for the request
|
|
789
|
+
#
|
|
790
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
791
|
+
# not need to pass this option.**
|
|
792
|
+
#
|
|
793
|
+
# @return [Types::PutResourcePermissionStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
794
|
+
#
|
|
795
|
+
# * {Types::PutResourcePermissionStatementOutput#statement_id #statement_id} => String
|
|
796
|
+
#
|
|
797
|
+
# @example Request syntax with placeholder values
|
|
798
|
+
#
|
|
799
|
+
# resp = client.put_resource_permission_statement({
|
|
800
|
+
# source_vpc: "SourceVpc",
|
|
801
|
+
# signin_source_vpce: "SourceVpce",
|
|
802
|
+
# console_source_vpce: "SourceVpce",
|
|
803
|
+
# vpc_source_ip: "VpcSourceIp",
|
|
804
|
+
# source_ip: "SourceIp",
|
|
805
|
+
# requested_region: "RequestedRegion",
|
|
806
|
+
# excluded_principal: "ExcludedPrincipal",
|
|
807
|
+
# client_token: "ClientToken",
|
|
808
|
+
# })
|
|
809
|
+
#
|
|
810
|
+
# @example Response structure
|
|
811
|
+
#
|
|
812
|
+
# resp.statement_id #=> String
|
|
813
|
+
#
|
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutResourcePermissionStatement AWS API Documentation
|
|
815
|
+
#
|
|
816
|
+
# @overload put_resource_permission_statement(params = {})
|
|
817
|
+
# @param [Hash] params ({})
|
|
818
|
+
def put_resource_permission_statement(params = {}, options = {})
|
|
819
|
+
req = build_request(:put_resource_permission_statement, params)
|
|
820
|
+
req.send_request(options)
|
|
821
|
+
end
|
|
822
|
+
|
|
562
823
|
# @!endgroup
|
|
563
824
|
|
|
564
825
|
# @param params ({})
|
|
@@ -577,7 +838,7 @@ module Aws::Signin
|
|
|
577
838
|
tracer: tracer
|
|
578
839
|
)
|
|
579
840
|
context[:gem_name] = 'aws-sdk-core'
|
|
580
|
-
context[:gem_version] = '3.
|
|
841
|
+
context[:gem_version] = '3.252.0'
|
|
581
842
|
Seahorse::Client::Request.new(handlers, context)
|
|
582
843
|
end
|
|
583
844
|
|
|
@@ -17,23 +17,63 @@ module Aws::Signin
|
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
18
|
AccessToken = Shapes::StructureShape.new(name: 'AccessToken')
|
|
19
19
|
AuthorizationCode = Shapes::StringShape.new(name: 'AuthorizationCode')
|
|
20
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
20
21
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
22
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
21
23
|
CodeVerifier = Shapes::StringShape.new(name: 'CodeVerifier')
|
|
24
|
+
Condition = Shapes::MapShape.new(name: 'Condition')
|
|
25
|
+
ConditionBlock = Shapes::MapShape.new(name: 'ConditionBlock')
|
|
26
|
+
ConditionType = Shapes::StringShape.new(name: 'ConditionType')
|
|
27
|
+
ConditionValues = Shapes::ListShape.new(name: 'ConditionValues')
|
|
28
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
29
|
+
ConsolePermissionMaxResults = Shapes::IntegerShape.new(name: 'ConsolePermissionMaxResults')
|
|
22
30
|
CreateOAuth2TokenRequest = Shapes::StructureShape.new(name: 'CreateOAuth2TokenRequest')
|
|
23
31
|
CreateOAuth2TokenRequestBody = Shapes::StructureShape.new(name: 'CreateOAuth2TokenRequestBody')
|
|
24
32
|
CreateOAuth2TokenResponse = Shapes::StructureShape.new(name: 'CreateOAuth2TokenResponse')
|
|
25
33
|
CreateOAuth2TokenResponseBody = Shapes::StructureShape.new(name: 'CreateOAuth2TokenResponseBody')
|
|
34
|
+
DeleteConsoleAuthorizationConfigurationInput = Shapes::StructureShape.new(name: 'DeleteConsoleAuthorizationConfigurationInput')
|
|
35
|
+
DeleteConsoleAuthorizationConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteConsoleAuthorizationConfigurationOutput')
|
|
36
|
+
DeleteResourcePermissionStatementInput = Shapes::StructureShape.new(name: 'DeleteResourcePermissionStatementInput')
|
|
37
|
+
DeleteResourcePermissionStatementOutput = Shapes::StructureShape.new(name: 'DeleteResourcePermissionStatementOutput')
|
|
38
|
+
ExcludedPrincipal = Shapes::StringShape.new(name: 'ExcludedPrincipal')
|
|
26
39
|
ExpiresIn = Shapes::IntegerShape.new(name: 'ExpiresIn')
|
|
40
|
+
GetConsoleAuthorizationConfigurationInput = Shapes::StructureShape.new(name: 'GetConsoleAuthorizationConfigurationInput')
|
|
41
|
+
GetConsoleAuthorizationConfigurationOutput = Shapes::StructureShape.new(name: 'GetConsoleAuthorizationConfigurationOutput')
|
|
42
|
+
GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
|
|
43
|
+
GetResourcePolicyOutput = Shapes::StructureShape.new(name: 'GetResourcePolicyOutput')
|
|
27
44
|
GrantType = Shapes::StringShape.new(name: 'GrantType')
|
|
28
45
|
IdToken = Shapes::StringShape.new(name: 'IdToken')
|
|
29
46
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
47
|
+
ListResourcePermissionStatementsInput = Shapes::StructureShape.new(name: 'ListResourcePermissionStatementsInput')
|
|
48
|
+
ListResourcePermissionStatementsOutput = Shapes::StructureShape.new(name: 'ListResourcePermissionStatementsOutput')
|
|
49
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
30
50
|
OAuth2ErrorCode = Shapes::StringShape.new(name: 'OAuth2ErrorCode')
|
|
51
|
+
PermissionStatementSummaries = Shapes::ListShape.new(name: 'PermissionStatementSummaries')
|
|
52
|
+
PermissionStatementSummary = Shapes::StructureShape.new(name: 'PermissionStatementSummary')
|
|
53
|
+
PolicyActions = Shapes::ListShape.new(name: 'PolicyActions')
|
|
54
|
+
PolicyStatement = Shapes::StructureShape.new(name: 'PolicyStatement')
|
|
55
|
+
PolicyStatements = Shapes::ListShape.new(name: 'PolicyStatements')
|
|
56
|
+
Principal = Shapes::MapShape.new(name: 'Principal')
|
|
57
|
+
PutConsoleAuthorizationConfigurationInput = Shapes::StructureShape.new(name: 'PutConsoleAuthorizationConfigurationInput')
|
|
58
|
+
PutConsoleAuthorizationConfigurationOutput = Shapes::StructureShape.new(name: 'PutConsoleAuthorizationConfigurationOutput')
|
|
59
|
+
PutResourcePermissionStatementInput = Shapes::StructureShape.new(name: 'PutResourcePermissionStatementInput')
|
|
60
|
+
PutResourcePermissionStatementOutput = Shapes::StructureShape.new(name: 'PutResourcePermissionStatementOutput')
|
|
31
61
|
RedirectUri = Shapes::StringShape.new(name: 'RedirectUri')
|
|
32
62
|
RefreshToken = Shapes::StringShape.new(name: 'RefreshToken')
|
|
63
|
+
RequestedRegion = Shapes::StringShape.new(name: 'RequestedRegion')
|
|
64
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
65
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
66
|
+
SigninResourceBasedPolicy = Shapes::StructureShape.new(name: 'SigninResourceBasedPolicy')
|
|
67
|
+
SourceIp = Shapes::StringShape.new(name: 'SourceIp')
|
|
68
|
+
SourceVpc = Shapes::StringShape.new(name: 'SourceVpc')
|
|
69
|
+
SourceVpce = Shapes::StringShape.new(name: 'SourceVpce')
|
|
70
|
+
StatementId = Shapes::StringShape.new(name: 'StatementId')
|
|
33
71
|
String = Shapes::StringShape.new(name: 'String')
|
|
72
|
+
TargetId = Shapes::StringShape.new(name: 'TargetId')
|
|
34
73
|
TokenType = Shapes::StringShape.new(name: 'TokenType')
|
|
35
74
|
TooManyRequestsError = Shapes::StructureShape.new(name: 'TooManyRequestsError')
|
|
36
75
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
76
|
+
VpcSourceIp = Shapes::StringShape.new(name: 'VpcSourceIp')
|
|
37
77
|
|
|
38
78
|
AccessDeniedException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
39
79
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -44,6 +84,18 @@ module Aws::Signin
|
|
|
44
84
|
AccessToken.add_member(:session_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionToken"))
|
|
45
85
|
AccessToken.struct_class = Types::AccessToken
|
|
46
86
|
|
|
87
|
+
Condition.key = Shapes::ShapeRef.new(shape: String)
|
|
88
|
+
Condition.value = Shapes::ShapeRef.new(shape: ConditionValues)
|
|
89
|
+
|
|
90
|
+
ConditionBlock.key = Shapes::ShapeRef.new(shape: ConditionType)
|
|
91
|
+
ConditionBlock.value = Shapes::ShapeRef.new(shape: Condition)
|
|
92
|
+
|
|
93
|
+
ConditionValues.member = Shapes::ShapeRef.new(shape: String)
|
|
94
|
+
|
|
95
|
+
ConflictException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
96
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
97
|
+
ConflictException.struct_class = Types::ConflictException
|
|
98
|
+
|
|
47
99
|
CreateOAuth2TokenRequest.add_member(:token_input, Shapes::ShapeRef.new(shape: CreateOAuth2TokenRequestBody, required: true, location_name: "tokenInput"))
|
|
48
100
|
CreateOAuth2TokenRequest.struct_class = Types::CreateOAuth2TokenRequest
|
|
49
101
|
CreateOAuth2TokenRequest[:payload] = :token_input
|
|
@@ -69,10 +121,98 @@ module Aws::Signin
|
|
|
69
121
|
CreateOAuth2TokenResponseBody.add_member(:id_token, Shapes::ShapeRef.new(shape: IdToken, location_name: "idToken"))
|
|
70
122
|
CreateOAuth2TokenResponseBody.struct_class = Types::CreateOAuth2TokenResponseBody
|
|
71
123
|
|
|
124
|
+
DeleteConsoleAuthorizationConfigurationInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "targetId"))
|
|
125
|
+
DeleteConsoleAuthorizationConfigurationInput.struct_class = Types::DeleteConsoleAuthorizationConfigurationInput
|
|
126
|
+
|
|
127
|
+
DeleteConsoleAuthorizationConfigurationOutput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "targetId"))
|
|
128
|
+
DeleteConsoleAuthorizationConfigurationOutput.add_member(:scope, Shapes::ShapeRef.new(shape: String, required: true, location_name: "scope"))
|
|
129
|
+
DeleteConsoleAuthorizationConfigurationOutput.add_member(:console_authorization_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "consoleAuthorizationEnabled"))
|
|
130
|
+
DeleteConsoleAuthorizationConfigurationOutput.struct_class = Types::DeleteConsoleAuthorizationConfigurationOutput
|
|
131
|
+
|
|
132
|
+
DeleteResourcePermissionStatementInput.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "statementId"))
|
|
133
|
+
DeleteResourcePermissionStatementInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
134
|
+
DeleteResourcePermissionStatementInput.struct_class = Types::DeleteResourcePermissionStatementInput
|
|
135
|
+
|
|
136
|
+
DeleteResourcePermissionStatementOutput.struct_class = Types::DeleteResourcePermissionStatementOutput
|
|
137
|
+
|
|
138
|
+
GetConsoleAuthorizationConfigurationInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "targetId"))
|
|
139
|
+
GetConsoleAuthorizationConfigurationInput.struct_class = Types::GetConsoleAuthorizationConfigurationInput
|
|
140
|
+
|
|
141
|
+
GetConsoleAuthorizationConfigurationOutput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "targetId"))
|
|
142
|
+
GetConsoleAuthorizationConfigurationOutput.add_member(:scope, Shapes::ShapeRef.new(shape: String, required: true, location_name: "scope"))
|
|
143
|
+
GetConsoleAuthorizationConfigurationOutput.add_member(:console_authorization_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "consoleAuthorizationEnabled"))
|
|
144
|
+
GetConsoleAuthorizationConfigurationOutput.struct_class = Types::GetConsoleAuthorizationConfigurationOutput
|
|
145
|
+
|
|
146
|
+
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
|
147
|
+
|
|
148
|
+
GetResourcePolicyOutput.add_member(:signin_resource_based_policy, Shapes::ShapeRef.new(shape: SigninResourceBasedPolicy, required: true, location_name: "signinResourceBasedPolicy"))
|
|
149
|
+
GetResourcePolicyOutput.struct_class = Types::GetResourcePolicyOutput
|
|
150
|
+
|
|
72
151
|
InternalServerException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
73
152
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
74
153
|
InternalServerException.struct_class = Types::InternalServerException
|
|
75
154
|
|
|
155
|
+
ListResourcePermissionStatementsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ConsolePermissionMaxResults, location_name: "maxResults"))
|
|
156
|
+
ListResourcePermissionStatementsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
157
|
+
ListResourcePermissionStatementsInput.struct_class = Types::ListResourcePermissionStatementsInput
|
|
158
|
+
|
|
159
|
+
ListResourcePermissionStatementsOutput.add_member(:permission_statements, Shapes::ShapeRef.new(shape: PermissionStatementSummaries, required: true, location_name: "permissionStatements"))
|
|
160
|
+
ListResourcePermissionStatementsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
161
|
+
ListResourcePermissionStatementsOutput.struct_class = Types::ListResourcePermissionStatementsOutput
|
|
162
|
+
|
|
163
|
+
PermissionStatementSummaries.member = Shapes::ShapeRef.new(shape: PermissionStatementSummary)
|
|
164
|
+
|
|
165
|
+
PermissionStatementSummary.add_member(:sid, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "sid"))
|
|
166
|
+
PermissionStatementSummary.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionBlock, location_name: "condition"))
|
|
167
|
+
PermissionStatementSummary.struct_class = Types::PermissionStatementSummary
|
|
168
|
+
|
|
169
|
+
PolicyActions.member = Shapes::ShapeRef.new(shape: String)
|
|
170
|
+
|
|
171
|
+
PolicyStatement.add_member(:effect, Shapes::ShapeRef.new(shape: String, location_name: "Effect"))
|
|
172
|
+
PolicyStatement.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "Principal"))
|
|
173
|
+
PolicyStatement.add_member(:action, Shapes::ShapeRef.new(shape: PolicyActions, location_name: "Action"))
|
|
174
|
+
PolicyStatement.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "Resource"))
|
|
175
|
+
PolicyStatement.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionBlock, location_name: "Condition"))
|
|
176
|
+
PolicyStatement.struct_class = Types::PolicyStatement
|
|
177
|
+
|
|
178
|
+
PolicyStatements.member = Shapes::ShapeRef.new(shape: PolicyStatement)
|
|
179
|
+
|
|
180
|
+
Principal.key = Shapes::ShapeRef.new(shape: String)
|
|
181
|
+
Principal.value = Shapes::ShapeRef.new(shape: String)
|
|
182
|
+
|
|
183
|
+
PutConsoleAuthorizationConfigurationInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "targetId"))
|
|
184
|
+
PutConsoleAuthorizationConfigurationInput.struct_class = Types::PutConsoleAuthorizationConfigurationInput
|
|
185
|
+
|
|
186
|
+
PutConsoleAuthorizationConfigurationOutput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "targetId"))
|
|
187
|
+
PutConsoleAuthorizationConfigurationOutput.add_member(:scope, Shapes::ShapeRef.new(shape: String, required: true, location_name: "scope"))
|
|
188
|
+
PutConsoleAuthorizationConfigurationOutput.add_member(:console_authorization_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "consoleAuthorizationEnabled"))
|
|
189
|
+
PutConsoleAuthorizationConfigurationOutput.struct_class = Types::PutConsoleAuthorizationConfigurationOutput
|
|
190
|
+
|
|
191
|
+
PutResourcePermissionStatementInput.add_member(:source_vpc, Shapes::ShapeRef.new(shape: SourceVpc, location_name: "sourceVpc"))
|
|
192
|
+
PutResourcePermissionStatementInput.add_member(:signin_source_vpce, Shapes::ShapeRef.new(shape: SourceVpce, location_name: "signinSourceVpce"))
|
|
193
|
+
PutResourcePermissionStatementInput.add_member(:console_source_vpce, Shapes::ShapeRef.new(shape: SourceVpce, location_name: "consoleSourceVpce"))
|
|
194
|
+
PutResourcePermissionStatementInput.add_member(:vpc_source_ip, Shapes::ShapeRef.new(shape: VpcSourceIp, location_name: "vpcSourceIp"))
|
|
195
|
+
PutResourcePermissionStatementInput.add_member(:source_ip, Shapes::ShapeRef.new(shape: SourceIp, location_name: "sourceIp"))
|
|
196
|
+
PutResourcePermissionStatementInput.add_member(:requested_region, Shapes::ShapeRef.new(shape: RequestedRegion, location_name: "requestedRegion"))
|
|
197
|
+
PutResourcePermissionStatementInput.add_member(:excluded_principal, Shapes::ShapeRef.new(shape: ExcludedPrincipal, location_name: "excludedPrincipal"))
|
|
198
|
+
PutResourcePermissionStatementInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
199
|
+
PutResourcePermissionStatementInput.struct_class = Types::PutResourcePermissionStatementInput
|
|
200
|
+
|
|
201
|
+
PutResourcePermissionStatementOutput.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "statementId"))
|
|
202
|
+
PutResourcePermissionStatementOutput.struct_class = Types::PutResourcePermissionStatementOutput
|
|
203
|
+
|
|
204
|
+
ResourceNotFoundException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
205
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
206
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
207
|
+
|
|
208
|
+
ServiceQuotaExceededException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
209
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
210
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
211
|
+
|
|
212
|
+
SigninResourceBasedPolicy.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
|
213
|
+
SigninResourceBasedPolicy.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatements, location_name: "Statement"))
|
|
214
|
+
SigninResourceBasedPolicy.struct_class = Types::SigninResourceBasedPolicy
|
|
215
|
+
|
|
76
216
|
TooManyRequestsError.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
|
|
77
217
|
TooManyRequestsError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
78
218
|
TooManyRequestsError.struct_class = Types::TooManyRequestsError
|
|
@@ -113,6 +253,104 @@ module Aws::Signin
|
|
|
113
253
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
114
254
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
115
255
|
end)
|
|
256
|
+
|
|
257
|
+
api.add_operation(:delete_console_authorization_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
258
|
+
o.name = "DeleteConsoleAuthorizationConfiguration"
|
|
259
|
+
o.http_method = "POST"
|
|
260
|
+
o.http_request_uri = "/delete-console-authorization-configuration"
|
|
261
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConsoleAuthorizationConfigurationInput)
|
|
262
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConsoleAuthorizationConfigurationOutput)
|
|
263
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
264
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
265
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
268
|
+
end)
|
|
269
|
+
|
|
270
|
+
api.add_operation(:delete_resource_permission_statement, Seahorse::Model::Operation.new.tap do |o|
|
|
271
|
+
o.name = "DeleteResourcePermissionStatement"
|
|
272
|
+
o.http_method = "POST"
|
|
273
|
+
o.http_request_uri = "/delete-resource-permission-statement"
|
|
274
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePermissionStatementInput)
|
|
275
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourcePermissionStatementOutput)
|
|
276
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
277
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
278
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
280
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
281
|
+
end)
|
|
282
|
+
|
|
283
|
+
api.add_operation(:get_console_authorization_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
284
|
+
o.name = "GetConsoleAuthorizationConfiguration"
|
|
285
|
+
o.http_method = "POST"
|
|
286
|
+
o.http_request_uri = "/get-console-authorization-configuration"
|
|
287
|
+
o.input = Shapes::ShapeRef.new(shape: GetConsoleAuthorizationConfigurationInput)
|
|
288
|
+
o.output = Shapes::ShapeRef.new(shape: GetConsoleAuthorizationConfigurationOutput)
|
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
291
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
292
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
294
|
+
end)
|
|
295
|
+
|
|
296
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
297
|
+
o.name = "GetResourcePolicy"
|
|
298
|
+
o.http_method = "POST"
|
|
299
|
+
o.http_request_uri = "/get-resource-policy"
|
|
300
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyInput)
|
|
301
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyOutput)
|
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
305
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
306
|
+
end)
|
|
307
|
+
|
|
308
|
+
api.add_operation(:list_resource_permission_statements, Seahorse::Model::Operation.new.tap do |o|
|
|
309
|
+
o.name = "ListResourcePermissionStatements"
|
|
310
|
+
o.http_method = "POST"
|
|
311
|
+
o.http_request_uri = "/list-resource-permission-statements"
|
|
312
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcePermissionStatementsInput)
|
|
313
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcePermissionStatementsOutput)
|
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
316
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
319
|
+
o[:pager] = Aws::Pager.new(
|
|
320
|
+
limit_key: "max_results",
|
|
321
|
+
tokens: {
|
|
322
|
+
"next_token" => "next_token"
|
|
323
|
+
}
|
|
324
|
+
)
|
|
325
|
+
end)
|
|
326
|
+
|
|
327
|
+
api.add_operation(:put_console_authorization_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
328
|
+
o.name = "PutConsoleAuthorizationConfiguration"
|
|
329
|
+
o.http_method = "POST"
|
|
330
|
+
o.http_request_uri = "/put-console-authorization-configuration"
|
|
331
|
+
o.input = Shapes::ShapeRef.new(shape: PutConsoleAuthorizationConfigurationInput)
|
|
332
|
+
o.output = Shapes::ShapeRef.new(shape: PutConsoleAuthorizationConfigurationOutput)
|
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
339
|
+
end)
|
|
340
|
+
|
|
341
|
+
api.add_operation(:put_resource_permission_statement, Seahorse::Model::Operation.new.tap do |o|
|
|
342
|
+
o.name = "PutResourcePermissionStatement"
|
|
343
|
+
o.http_method = "POST"
|
|
344
|
+
o.http_request_uri = "/put-resource-permission-statement"
|
|
345
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePermissionStatementInput)
|
|
346
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePermissionStatementOutput)
|
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
|
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
350
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
352
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
353
|
+
end)
|
|
116
354
|
end
|
|
117
355
|
|
|
118
356
|
end
|
|
@@ -30,11 +30,17 @@ module Aws::Signin
|
|
|
30
30
|
#
|
|
31
31
|
# @return [string]
|
|
32
32
|
#
|
|
33
|
+
# @!attribute is_control_plane
|
|
34
|
+
# Indicates if the operation targets the control plane endpoint
|
|
35
|
+
#
|
|
36
|
+
# @return [boolean]
|
|
37
|
+
#
|
|
33
38
|
EndpointParameters = Struct.new(
|
|
34
39
|
:use_dual_stack,
|
|
35
40
|
:use_fips,
|
|
36
41
|
:endpoint,
|
|
37
42
|
:region,
|
|
43
|
+
:is_control_plane,
|
|
38
44
|
) do
|
|
39
45
|
include Aws::Structure
|
|
40
46
|
|
|
@@ -45,6 +51,7 @@ module Aws::Signin
|
|
|
45
51
|
'UseFIPS' => :use_fips,
|
|
46
52
|
'Endpoint' => :endpoint,
|
|
47
53
|
'Region' => :region,
|
|
54
|
+
'IsControlPlane' => :is_control_plane,
|
|
48
55
|
}.freeze
|
|
49
56
|
end
|
|
50
57
|
|
|
@@ -55,6 +62,7 @@ module Aws::Signin
|
|
|
55
62
|
self[:use_fips] = false if self[:use_fips].nil?
|
|
56
63
|
self[:endpoint] = options[:endpoint]
|
|
57
64
|
self[:region] = options[:region]
|
|
65
|
+
self[:is_control_plane] = options[:is_control_plane]
|
|
58
66
|
end
|
|
59
67
|
|
|
60
68
|
def self.create(config, options={})
|