aws-sdk-core 3.207.0 → 3.209.1
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 +29 -0
- data/VERSION +1 -1
- data/lib/aws-defaults.rb +4 -1
- data/lib/aws-sdk-core/assume_role_credentials.rb +8 -3
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +8 -3
- data/lib/aws-sdk-core/client_side_monitoring.rb +9 -0
- data/lib/aws-sdk-core/log.rb +10 -0
- data/lib/aws-sdk-core/plugins.rb +39 -0
- data/lib/aws-sdk-core/resources.rb +8 -0
- data/lib/aws-sdk-core/stubbing.rb +22 -0
- data/lib/aws-sdk-core.rb +82 -102
- data/lib/aws-sdk-sso/client.rb +1 -3
- data/lib/aws-sdk-sso/client_api.rb +1 -0
- data/lib/aws-sdk-sso/types.rb +1 -0
- data/lib/aws-sdk-sso.rb +15 -11
- data/lib/aws-sdk-ssooidc/client.rb +1 -3
- data/lib/aws-sdk-ssooidc/client_api.rb +1 -0
- data/lib/aws-sdk-ssooidc/types.rb +1 -0
- data/lib/aws-sdk-ssooidc.rb +15 -11
- data/lib/aws-sdk-sts/client.rb +1 -3
- data/lib/aws-sdk-sts/client_api.rb +1 -0
- data/lib/aws-sdk-sts/customizations.rb +5 -1
- data/lib/aws-sdk-sts/types.rb +1 -0
- data/lib/aws-sdk-sts.rb +15 -11
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b21a55766ac3b065464e202f9e5e8eaa449fb1b186776cc439f9ef6859c51923
|
4
|
+
data.tar.gz: d0602af7e12f340646722e0ca65ebbe1b9950d8b7ac7da1da2bfaf22a6723fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce3b13eced2c29beecdbc6929836c9917cc0d7524033cb76e0ea7ae6cf6f01c87b9f0f07a88a17197cb2989c4addf3a9c303acbdb6cf5fb331ecb328d16feec
|
7
|
+
data.tar.gz: ace0cb1e6d8e05083601c36607a3c8d6902a72a36cec481081939626ce8399fa43b603b42d6fb026cddce1ec51ab98f405a02e6fa4eb861aabe23aa658519457
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.209.1 (2024-09-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Add all core plugins to autoloads.
|
8
|
+
|
9
|
+
3.209.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
13
|
+
|
14
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
15
|
+
|
16
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
17
|
+
|
18
|
+
* Issue - Add service identifiers to GlobalConfig's list of identifiers outside of autoload (#3113).
|
19
|
+
|
20
|
+
* Issue - Ignore invalid ARNs when trying to parse accountId in assume role credentials.
|
21
|
+
|
22
|
+
3.208.0 (2024-09-23)
|
23
|
+
------------------
|
24
|
+
|
25
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
26
|
+
|
27
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
28
|
+
|
29
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
30
|
+
|
31
|
+
* Feature - Use autoloading at the service level to load service clients and resources.
|
32
|
+
|
4
33
|
3.207.0 (2024-09-20)
|
5
34
|
------------------
|
6
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.209.1
|
data/lib/aws-defaults.rb
CHANGED
@@ -62,17 +62,22 @@ module Aws
|
|
62
62
|
private
|
63
63
|
|
64
64
|
def refresh
|
65
|
-
|
66
|
-
creds =
|
65
|
+
resp = @client.assume_role(@assume_role_params)
|
66
|
+
creds = resp.credentials
|
67
67
|
@credentials = Credentials.new(
|
68
68
|
creds.access_key_id,
|
69
69
|
creds.secret_access_key,
|
70
70
|
creds.session_token,
|
71
|
-
account_id:
|
71
|
+
account_id: parse_account_id(resp)
|
72
72
|
)
|
73
73
|
@expiration = creds.expiration
|
74
74
|
end
|
75
75
|
|
76
|
+
def parse_account_id(resp)
|
77
|
+
arn = resp.assumed_role_user&.arn
|
78
|
+
ARNParser.parse(arn).account_id if ARNParser.arn?(arn)
|
79
|
+
end
|
80
|
+
|
76
81
|
class << self
|
77
82
|
|
78
83
|
# @api private
|
@@ -73,13 +73,13 @@ module Aws
|
|
73
73
|
# read from token file everytime it refreshes
|
74
74
|
@assume_role_web_identity_params[:web_identity_token] = _token_from_file(@token_file)
|
75
75
|
|
76
|
-
|
77
|
-
creds =
|
76
|
+
resp = @client.assume_role_with_web_identity(@assume_role_web_identity_params)
|
77
|
+
creds = resp.credentials
|
78
78
|
@credentials = Credentials.new(
|
79
79
|
creds.access_key_id,
|
80
80
|
creds.secret_access_key,
|
81
81
|
creds.session_token,
|
82
|
-
account_id:
|
82
|
+
account_id: parse_account_id(resp)
|
83
83
|
)
|
84
84
|
@expiration = creds.expiration
|
85
85
|
end
|
@@ -95,6 +95,11 @@ module Aws
|
|
95
95
|
Base64.strict_encode64(SecureRandom.uuid)
|
96
96
|
end
|
97
97
|
|
98
|
+
def parse_account_id(resp)
|
99
|
+
arn = resp.assumed_role_user&.arn
|
100
|
+
ARNParser.parse(arn).account_id if ARNParser.arn?(arn)
|
101
|
+
end
|
102
|
+
|
98
103
|
class << self
|
99
104
|
|
100
105
|
# @api private
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
# setup autoloading for ClientSideMonitoring module
|
5
|
+
module ClientSideMonitoring
|
6
|
+
autoload :RequestMetrics, 'aws-sdk-core/client_side_monitoring/request_metrics'
|
7
|
+
autoload :Publisher, 'aws-sdk-core/client_side_monitoring/publisher'
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
# setup autoloading for Log module
|
5
|
+
module Log
|
6
|
+
autoload :Formatter, 'aws-sdk-core/log/formatter'
|
7
|
+
autoload :ParamFilter, 'aws-sdk-core/log/param_filter'
|
8
|
+
autoload :ParamFormatter, 'aws-sdk-core/log/param_formatter'
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
# setup autoloading for Plugins
|
5
|
+
# Most plugins are required explicitly from service clients
|
6
|
+
# but users may reference them outside of client usage.
|
7
|
+
module Plugins
|
8
|
+
autoload :ApiKey, 'aws-sdk-core/plugins/api_key'
|
9
|
+
autoload :BearerAuthorization, 'aws-sdk-core/plugins/bearer_authorization'
|
10
|
+
autoload :ChecksumAlgorithm, 'aws-sdk-core/plugins/checksum_algorithm'
|
11
|
+
autoload :ClientMetricsPlugin, 'aws-sdk-core/plugins/client_metrics_plugin'
|
12
|
+
autoload :ClientMetricsSendPlugin, 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
13
|
+
autoload :CredentialsConfiguration, 'aws-sdk-core/plugins/credentials_configuration'
|
14
|
+
autoload :DefaultsMode, 'aws-sdk-core/plugins/defaults_mode'
|
15
|
+
autoload :EndpointDiscovery, 'aws-sdk-core/plugins/endpoint_discovery'
|
16
|
+
autoload :EndpointPattern, 'aws-sdk-core/plugins/endpoint_pattern'
|
17
|
+
autoload :EventStreamConfiguration, 'aws-sdk-core/plugins/event_stream_configuration'
|
18
|
+
autoload :GlobalConfiguration, 'aws-sdk-core/plugins/global_configuration'
|
19
|
+
autoload :HelpfulSocketErrors, 'aws-sdk-core/plugins/helpful_socket_errors'
|
20
|
+
autoload :HttpChecksum, 'aws-sdk-core/plugins/http_checksum'
|
21
|
+
autoload :IdempotencyToken, 'aws-sdk-core/plugins/idempotency_token'
|
22
|
+
autoload :InvocationId, 'aws-sdk-core/plugins/invocation_id'
|
23
|
+
autoload :JsonvalueConverter, 'aws-sdk-core/plugins/jsonvalue_converter'
|
24
|
+
autoload :Logging, 'aws-sdk-core/plugins/logging'
|
25
|
+
autoload :ParamConverter, 'aws-sdk-core/plugins/param_converter'
|
26
|
+
autoload :ParamValidator, 'aws-sdk-core/plugins/param_validator'
|
27
|
+
autoload :RecursionDetection, 'aws-sdk-core/plugins/recursion_detection'
|
28
|
+
autoload :RegionalEndpoint, 'aws-sdk-core/plugins/regional_endpoint'
|
29
|
+
autoload :RequestCompression, 'aws-sdk-core/plugins/request_compression'
|
30
|
+
autoload :ResponsePaging, 'aws-sdk-core/plugins/response_paging'
|
31
|
+
autoload :RetryErrors, 'aws-sdk-core/plugins/retry_errors'
|
32
|
+
autoload :Sign, 'aws-sdk-core/plugins/sign'
|
33
|
+
autoload :SignatureV4, 'aws-sdk-core/plugins/signature_v4'
|
34
|
+
autoload :StubResponses, 'aws-sdk-core/plugins/stub_responses'
|
35
|
+
autoload :Telemetry, 'aws-sdk-core/plugins/telemetry'
|
36
|
+
autoload :TransferEncoding, 'aws-sdk-core/plugins/transfer_encoding'
|
37
|
+
autoload :UserAgent, 'aws-sdk-core/plugins/user_agent'
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
# setup autoloading for Stubbing module
|
5
|
+
module Stubbing
|
6
|
+
autoload :EmptyStub, 'aws-sdk-core/stubbing/empty_stub'
|
7
|
+
autoload :DataApplicator, 'aws-sdk-core/stubbing/data_applicator'
|
8
|
+
autoload :StubData, 'aws-sdk-core/stubbing/stub_data'
|
9
|
+
autoload :XmlError, 'aws-sdk-core/stubbing/xml_error'
|
10
|
+
|
11
|
+
module Protocols
|
12
|
+
autoload :Json, 'aws-sdk-core/stubbing/protocols/json'
|
13
|
+
autoload :Rest, 'aws-sdk-core/stubbing/protocols/rest'
|
14
|
+
autoload :RestJson, 'aws-sdk-core/stubbing/protocols/rest_json'
|
15
|
+
autoload :RestXml, 'aws-sdk-core/stubbing/protocols/rest_xml'
|
16
|
+
autoload :Query, 'aws-sdk-core/stubbing/protocols/query'
|
17
|
+
autoload :EC2, 'aws-sdk-core/stubbing/protocols/ec2'
|
18
|
+
autoload :RpcV2, 'aws-sdk-core/stubbing/protocols/rpc_v2'
|
19
|
+
autoload :ApiGateway, 'aws-sdk-core/stubbing/protocols/api_gateway'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/aws-sdk-core.rb
CHANGED
@@ -3,115 +3,80 @@
|
|
3
3
|
require 'aws-partitions'
|
4
4
|
require 'seahorse'
|
5
5
|
require 'jmespath'
|
6
|
+
require 'aws-sigv4'
|
6
7
|
|
7
8
|
require_relative 'aws-sdk-core/deprecations'
|
8
|
-
|
9
|
-
# credential providers
|
10
|
-
require_relative 'aws-sdk-core/credential_provider'
|
11
|
-
require_relative 'aws-sdk-core/refreshing_credentials'
|
12
|
-
require_relative 'aws-sdk-core/assume_role_credentials'
|
13
|
-
require_relative 'aws-sdk-core/assume_role_web_identity_credentials'
|
14
|
-
require_relative 'aws-sdk-core/credentials'
|
15
|
-
require_relative 'aws-sdk-core/credential_provider_chain'
|
16
|
-
require_relative 'aws-sdk-core/ecs_credentials'
|
17
|
-
require_relative 'aws-sdk-core/instance_profile_credentials'
|
18
|
-
require_relative 'aws-sdk-core/shared_credentials'
|
19
|
-
require_relative 'aws-sdk-core/process_credentials'
|
20
|
-
require_relative 'aws-sdk-core/sso_credentials'
|
21
|
-
|
22
|
-
# tokens and token providers
|
23
|
-
require_relative 'aws-sdk-core/token'
|
24
|
-
require_relative 'aws-sdk-core/token_provider'
|
25
|
-
require_relative 'aws-sdk-core/static_token_provider'
|
26
|
-
require_relative 'aws-sdk-core/refreshing_token'
|
27
|
-
require_relative 'aws-sdk-core/sso_token_provider'
|
28
|
-
require_relative 'aws-sdk-core/token_provider_chain'
|
29
|
-
require_relative 'aws-sdk-core/plugins/bearer_authorization'
|
30
|
-
|
31
|
-
# client modules
|
32
|
-
require_relative 'aws-sdk-core/client_stubs'
|
33
|
-
require_relative 'aws-sdk-core/async_client_stubs'
|
34
|
-
require_relative 'aws-sdk-core/eager_loader'
|
35
|
-
require_relative 'aws-sdk-core/errors'
|
36
|
-
require_relative 'aws-sdk-core/pageable_response'
|
37
|
-
require_relative 'aws-sdk-core/pager'
|
38
|
-
require_relative 'aws-sdk-core/param_converter'
|
39
|
-
require_relative 'aws-sdk-core/param_validator'
|
40
|
-
require_relative 'aws-sdk-core/shared_config'
|
41
|
-
require_relative 'aws-sdk-core/structure'
|
42
|
-
require_relative 'aws-sdk-core/type_builder'
|
43
|
-
require_relative 'aws-sdk-core/util'
|
44
|
-
|
45
|
-
# resource classes
|
46
|
-
require_relative 'aws-sdk-core/resources/collection'
|
47
|
-
|
48
|
-
# logging
|
49
|
-
require_relative 'aws-sdk-core/log/formatter'
|
50
|
-
require_relative 'aws-sdk-core/log/param_filter'
|
51
|
-
require_relative 'aws-sdk-core/log/param_formatter'
|
52
|
-
|
53
|
-
# stubbing
|
54
|
-
require_relative 'aws-sdk-core/stubbing/empty_stub'
|
55
|
-
require_relative 'aws-sdk-core/stubbing/data_applicator'
|
56
|
-
require_relative 'aws-sdk-core/stubbing/stub_data'
|
57
|
-
require_relative 'aws-sdk-core/stubbing/xml_error'
|
58
|
-
|
59
|
-
# stubbing protocols
|
60
|
-
require_relative 'aws-sdk-core/stubbing/protocols/json'
|
61
|
-
require_relative 'aws-sdk-core/stubbing/protocols/rest'
|
62
|
-
require_relative 'aws-sdk-core/stubbing/protocols/rest_json'
|
63
|
-
require_relative 'aws-sdk-core/stubbing/protocols/rest_xml'
|
64
|
-
require_relative 'aws-sdk-core/stubbing/protocols/query'
|
65
|
-
require_relative 'aws-sdk-core/stubbing/protocols/ec2'
|
66
|
-
require_relative 'aws-sdk-core/stubbing/protocols/rpc_v2'
|
67
|
-
require_relative 'aws-sdk-core/stubbing/protocols/api_gateway'
|
68
|
-
|
69
|
-
# protocols
|
70
|
-
require_relative 'aws-sdk-core/error_handler'
|
71
|
-
require_relative 'aws-sdk-core/rest'
|
72
|
-
require_relative 'aws-sdk-core/xml'
|
73
|
-
require_relative 'aws-sdk-core/json'
|
74
|
-
require_relative 'aws-sdk-core/query'
|
75
|
-
require_relative 'aws-sdk-core/rpc_v2'
|
76
|
-
|
77
|
-
# event stream
|
78
|
-
require_relative 'aws-sdk-core/binary'
|
79
|
-
require_relative 'aws-sdk-core/event_emitter'
|
80
|
-
|
81
|
-
# endpoint discovery
|
82
|
-
require_relative 'aws-sdk-core/endpoint_cache'
|
83
|
-
|
84
|
-
# client metrics / telemetry
|
85
|
-
require_relative 'aws-sdk-core/client_side_monitoring/request_metrics'
|
86
|
-
require_relative 'aws-sdk-core/client_side_monitoring/publisher'
|
87
|
-
require_relative 'aws-sdk-core/telemetry'
|
88
|
-
|
89
|
-
# utilities
|
90
|
-
require_relative 'aws-sdk-core/arn'
|
91
|
-
require_relative 'aws-sdk-core/arn_parser'
|
92
|
-
require_relative 'aws-sdk-core/ec2_metadata'
|
93
|
-
require_relative 'aws-sdk-core/lru_cache'
|
94
|
-
|
95
|
-
# dynamic endpoints
|
96
|
-
require_relative 'aws-sdk-core/endpoints'
|
97
|
-
require_relative 'aws-sdk-core/plugins/signature_v4'
|
98
|
-
|
99
9
|
# defaults
|
100
10
|
require_relative 'aws-defaults'
|
101
11
|
|
102
|
-
# plugins
|
103
|
-
# loaded through building STS or SSO ..
|
104
|
-
|
105
|
-
# aws-sdk-sts is included to support Aws::AssumeRoleCredentials
|
106
|
-
require_relative 'aws-sdk-sts'
|
107
|
-
|
108
|
-
# aws-sdk-sso is included to support Aws::SSOCredentials
|
109
|
-
require_relative 'aws-sdk-sso'
|
110
|
-
require_relative 'aws-sdk-ssooidc'
|
111
|
-
|
112
12
|
module Aws
|
113
13
|
|
114
|
-
|
14
|
+
autoload :IniParser, 'aws-sdk-core/ini_parser'
|
15
|
+
|
16
|
+
# Credentials and credentials providers
|
17
|
+
autoload :Credentials, 'aws-sdk-core/credentials'
|
18
|
+
autoload :CredentialProvider, 'aws-sdk-core/credential_provider'
|
19
|
+
autoload :RefreshingCredentials, 'aws-sdk-core/refreshing_credentials'
|
20
|
+
autoload :AssumeRoleCredentials, 'aws-sdk-core/assume_role_credentials'
|
21
|
+
autoload :AssumeRoleWebIdentityCredentials, 'aws-sdk-core/assume_role_web_identity_credentials'
|
22
|
+
autoload :CredentialProviderChain, 'aws-sdk-core/credential_provider_chain'
|
23
|
+
autoload :ECSCredentials, 'aws-sdk-core/ecs_credentials'
|
24
|
+
autoload :InstanceProfileCredentials, 'aws-sdk-core/instance_profile_credentials'
|
25
|
+
autoload :SharedCredentials, 'aws-sdk-core/shared_credentials'
|
26
|
+
autoload :ProcessCredentials, 'aws-sdk-core/process_credentials'
|
27
|
+
autoload :SSOCredentials, 'aws-sdk-core/sso_credentials'
|
28
|
+
|
29
|
+
|
30
|
+
# tokens and token providers
|
31
|
+
autoload :Token, 'aws-sdk-core/token'
|
32
|
+
autoload :TokenProvider, 'aws-sdk-core/token_provider'
|
33
|
+
autoload :StaticTokenProvider, 'aws-sdk-core/static_token_provider'
|
34
|
+
autoload :RefreshingToken, 'aws-sdk-core/refreshing_token'
|
35
|
+
autoload :SSOTokenProvider, 'aws-sdk-core/sso_token_provider'
|
36
|
+
autoload :TokenProviderChain, 'aws-sdk-core/token_provider_chain'
|
37
|
+
|
38
|
+
# client modules
|
39
|
+
autoload :ClientStubs, 'aws-sdk-core/client_stubs'
|
40
|
+
autoload :AsyncClientStubs, 'aws-sdk-core/async_client_stubs'
|
41
|
+
autoload :EagerLoader, 'aws-sdk-core/eager_loader'
|
42
|
+
autoload :Errors, 'aws-sdk-core/errors'
|
43
|
+
autoload :PageableResponse, 'aws-sdk-core/pageable_response'
|
44
|
+
autoload :Pager, 'aws-sdk-core/pager'
|
45
|
+
autoload :ParamConverter, 'aws-sdk-core/param_converter'
|
46
|
+
autoload :ParamValidator, 'aws-sdk-core/param_validator'
|
47
|
+
autoload :SharedConfig, 'aws-sdk-core/shared_config'
|
48
|
+
autoload :Structure, 'aws-sdk-core/structure'
|
49
|
+
autoload :EmptyStructure, 'aws-sdk-core/structure'
|
50
|
+
autoload :TypeBuilder, 'aws-sdk-core/type_builder'
|
51
|
+
autoload :Util, 'aws-sdk-core/util'
|
52
|
+
|
53
|
+
# protocols
|
54
|
+
autoload :ErrorHandler, 'aws-sdk-core/error_handler'
|
55
|
+
autoload :Rest, 'aws-sdk-core/rest'
|
56
|
+
autoload :Xml, 'aws-sdk-core/xml'
|
57
|
+
autoload :Json, 'aws-sdk-core/json'
|
58
|
+
autoload :Query, 'aws-sdk-core/query'
|
59
|
+
autoload :RpcV2, 'aws-sdk-core/rpc_v2'
|
60
|
+
|
61
|
+
# event stream
|
62
|
+
autoload :Binary, 'aws-sdk-core/binary'
|
63
|
+
autoload :EventEmitter, 'aws-sdk-core/event_emitter'
|
64
|
+
|
65
|
+
# endpoint discovery
|
66
|
+
autoload :EndpointCache, 'aws-sdk-core/endpoint_cache'
|
67
|
+
|
68
|
+
autoload :Telemetry, 'aws-sdk-core/telemetry'
|
69
|
+
|
70
|
+
# utilities
|
71
|
+
autoload :ARN, 'aws-sdk-core/arn'
|
72
|
+
autoload :ARNParser, 'aws-sdk-core/arn_parser'
|
73
|
+
autoload :EC2Metadata, 'aws-sdk-core/ec2_metadata'
|
74
|
+
autoload :LRUCache, 'aws-sdk-core/lru_cache'
|
75
|
+
|
76
|
+
# dynamic endpoints
|
77
|
+
autoload :Endpoints, 'aws-sdk-core/endpoints'
|
78
|
+
|
79
|
+
CORE_GEM_VERSION = File.read(File.expand_path('../VERSION', __dir__)).strip
|
115
80
|
|
116
81
|
@config = {}
|
117
82
|
|
@@ -195,3 +160,18 @@ module Aws
|
|
195
160
|
|
196
161
|
end
|
197
162
|
end
|
163
|
+
|
164
|
+
# Setup additional autoloads/modules
|
165
|
+
require_relative 'aws-sdk-core/client_side_monitoring'
|
166
|
+
require_relative 'aws-sdk-core/log'
|
167
|
+
require_relative 'aws-sdk-core/plugins'
|
168
|
+
require_relative 'aws-sdk-core/resources'
|
169
|
+
require_relative 'aws-sdk-core/stubbing'
|
170
|
+
require_relative 'aws-sdk-core/waiters'
|
171
|
+
|
172
|
+
# aws-sdk-sts is included to support Aws::AssumeRoleCredentials
|
173
|
+
require_relative 'aws-sdk-sts'
|
174
|
+
|
175
|
+
# aws-sdk-sso is included to support Aws::SSOCredentials
|
176
|
+
require_relative 'aws-sdk-sso'
|
177
|
+
require_relative 'aws-sdk-ssooidc'
|
data/lib/aws-sdk-sso/client.rb
CHANGED
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:sso)
|
40
|
-
|
41
39
|
module Aws::SSO
|
42
40
|
# An API client for SSO. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -671,7 +669,7 @@ module Aws::SSO
|
|
671
669
|
tracer: tracer
|
672
670
|
)
|
673
671
|
context[:gem_name] = 'aws-sdk-core'
|
674
|
-
context[:gem_version] = '3.
|
672
|
+
context[:gem_version] = '3.209.1'
|
675
673
|
Seahorse::Client::Request.new(handlers, context)
|
676
674
|
end
|
677
675
|
|
data/lib/aws-sdk-sso/types.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
@@ -13,16 +13,7 @@ unless Module.const_defined?(:Aws)
|
|
13
13
|
require 'aws-sigv4'
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
require_relative 'aws-sdk-sso/client_api'
|
18
|
-
require_relative 'aws-sdk-sso/plugins/endpoints.rb'
|
19
|
-
require_relative 'aws-sdk-sso/client'
|
20
|
-
require_relative 'aws-sdk-sso/errors'
|
21
|
-
require_relative 'aws-sdk-sso/resource'
|
22
|
-
require_relative 'aws-sdk-sso/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-sso/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-sso/endpoints'
|
25
|
-
require_relative 'aws-sdk-sso/customizations'
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:sso)
|
26
17
|
|
27
18
|
# This module provides support for AWS Single Sign-On. This module is available in the
|
28
19
|
# `aws-sdk-core` gem.
|
@@ -53,7 +44,20 @@ require_relative 'aws-sdk-sso/customizations'
|
|
53
44
|
#
|
54
45
|
# @!group service
|
55
46
|
module Aws::SSO
|
47
|
+
autoload :Types, 'aws-sdk-sso/types'
|
48
|
+
autoload :ClientApi, 'aws-sdk-sso/client_api'
|
49
|
+
module Plugins
|
50
|
+
autoload :Endpoints, 'aws-sdk-sso/plugins/endpoints.rb'
|
51
|
+
end
|
52
|
+
autoload :Client, 'aws-sdk-sso/client'
|
53
|
+
autoload :Errors, 'aws-sdk-sso/errors'
|
54
|
+
autoload :Resource, 'aws-sdk-sso/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-sso/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-sso/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-sso/endpoints'
|
56
58
|
|
57
|
-
GEM_VERSION = '3.
|
59
|
+
GEM_VERSION = '3.209.1'
|
58
60
|
|
59
61
|
end
|
62
|
+
|
63
|
+
require_relative 'aws-sdk-sso/customizations'
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
40
|
-
|
41
39
|
module Aws::SSOOIDC
|
42
40
|
# An API client for SSOOIDC. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -1024,7 +1022,7 @@ module Aws::SSOOIDC
|
|
1024
1022
|
tracer: tracer
|
1025
1023
|
)
|
1026
1024
|
context[:gem_name] = 'aws-sdk-core'
|
1027
|
-
context[:gem_version] = '3.
|
1025
|
+
context[:gem_version] = '3.209.1'
|
1028
1026
|
Seahorse::Client::Request.new(handlers, context)
|
1029
1027
|
end
|
1030
1028
|
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
@@ -13,16 +13,7 @@ unless Module.const_defined?(:Aws)
|
|
13
13
|
require 'aws-sigv4'
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
require_relative 'aws-sdk-ssooidc/client_api'
|
18
|
-
require_relative 'aws-sdk-ssooidc/plugins/endpoints.rb'
|
19
|
-
require_relative 'aws-sdk-ssooidc/client'
|
20
|
-
require_relative 'aws-sdk-ssooidc/errors'
|
21
|
-
require_relative 'aws-sdk-ssooidc/resource'
|
22
|
-
require_relative 'aws-sdk-ssooidc/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-ssooidc/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-ssooidc/endpoints'
|
25
|
-
require_relative 'aws-sdk-ssooidc/customizations'
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
26
17
|
|
27
18
|
# This module provides support for AWS SSO OIDC. This module is available in the
|
28
19
|
# `aws-sdk-core` gem.
|
@@ -53,7 +44,20 @@ require_relative 'aws-sdk-ssooidc/customizations'
|
|
53
44
|
#
|
54
45
|
# @!group service
|
55
46
|
module Aws::SSOOIDC
|
47
|
+
autoload :Types, 'aws-sdk-ssooidc/types'
|
48
|
+
autoload :ClientApi, 'aws-sdk-ssooidc/client_api'
|
49
|
+
module Plugins
|
50
|
+
autoload :Endpoints, 'aws-sdk-ssooidc/plugins/endpoints.rb'
|
51
|
+
end
|
52
|
+
autoload :Client, 'aws-sdk-ssooidc/client'
|
53
|
+
autoload :Errors, 'aws-sdk-ssooidc/errors'
|
54
|
+
autoload :Resource, 'aws-sdk-ssooidc/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-ssooidc/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-ssooidc/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-ssooidc/endpoints'
|
56
58
|
|
57
|
-
GEM_VERSION = '3.
|
59
|
+
GEM_VERSION = '3.209.1'
|
58
60
|
|
59
61
|
end
|
62
|
+
|
63
|
+
require_relative 'aws-sdk-ssooidc/customizations'
|
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -37,8 +37,6 @@ require 'aws-sdk-core/plugins/sign.rb'
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
38
38
|
require 'aws-sdk-sts/plugins/sts_regional_endpoints.rb'
|
39
39
|
|
40
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:sts)
|
41
|
-
|
42
40
|
module Aws::STS
|
43
41
|
# An API client for STS. To construct a client, you need to configure a `:region` and `:credentials`.
|
44
42
|
#
|
@@ -2418,7 +2416,7 @@ module Aws::STS
|
|
2418
2416
|
tracer: tracer
|
2419
2417
|
)
|
2420
2418
|
context[:gem_name] = 'aws-sdk-core'
|
2421
|
-
context[:gem_version] = '3.
|
2419
|
+
context[:gem_version] = '3.209.1'
|
2422
2420
|
Seahorse::Client::Request.new(handlers, context)
|
2423
2421
|
end
|
2424
2422
|
|
data/lib/aws-sdk-sts/types.rb
CHANGED
data/lib/aws-sdk-sts.rb
CHANGED
@@ -13,16 +13,7 @@ unless Module.const_defined?(:Aws)
|
|
13
13
|
require 'aws-sigv4'
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
require_relative 'aws-sdk-sts/client_api'
|
18
|
-
require_relative 'aws-sdk-sts/plugins/endpoints.rb'
|
19
|
-
require_relative 'aws-sdk-sts/client'
|
20
|
-
require_relative 'aws-sdk-sts/errors'
|
21
|
-
require_relative 'aws-sdk-sts/resource'
|
22
|
-
require_relative 'aws-sdk-sts/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-sts/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-sts/endpoints'
|
25
|
-
require_relative 'aws-sdk-sts/customizations'
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:sts)
|
26
17
|
|
27
18
|
# This module provides support for AWS Security Token Service. This module is available in the
|
28
19
|
# `aws-sdk-core` gem.
|
@@ -53,7 +44,20 @@ require_relative 'aws-sdk-sts/customizations'
|
|
53
44
|
#
|
54
45
|
# @!group service
|
55
46
|
module Aws::STS
|
47
|
+
autoload :Types, 'aws-sdk-sts/types'
|
48
|
+
autoload :ClientApi, 'aws-sdk-sts/client_api'
|
49
|
+
module Plugins
|
50
|
+
autoload :Endpoints, 'aws-sdk-sts/plugins/endpoints.rb'
|
51
|
+
end
|
52
|
+
autoload :Client, 'aws-sdk-sts/client'
|
53
|
+
autoload :Errors, 'aws-sdk-sts/errors'
|
54
|
+
autoload :Resource, 'aws-sdk-sts/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-sts/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-sts/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-sts/endpoints'
|
56
58
|
|
57
|
-
GEM_VERSION = '3.
|
59
|
+
GEM_VERSION = '3.209.1'
|
58
60
|
|
59
61
|
end
|
62
|
+
|
63
|
+
require_relative 'aws-sdk-sts/customizations'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.209.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/aws-sdk-core/cbor/cbor_engine.rb
|
116
116
|
- lib/aws-sdk-core/cbor/decoder.rb
|
117
117
|
- lib/aws-sdk-core/cbor/encoder.rb
|
118
|
+
- lib/aws-sdk-core/client_side_monitoring.rb
|
118
119
|
- lib/aws-sdk-core/client_side_monitoring/publisher.rb
|
119
120
|
- lib/aws-sdk-core/client_side_monitoring/request_metrics.rb
|
120
121
|
- lib/aws-sdk-core/client_stubs.rb
|
@@ -152,6 +153,7 @@ files:
|
|
152
153
|
- lib/aws-sdk-core/json/json_engine.rb
|
153
154
|
- lib/aws-sdk-core/json/oj_engine.rb
|
154
155
|
- lib/aws-sdk-core/json/parser.rb
|
156
|
+
- lib/aws-sdk-core/log.rb
|
155
157
|
- lib/aws-sdk-core/log/formatter.rb
|
156
158
|
- lib/aws-sdk-core/log/handler.rb
|
157
159
|
- lib/aws-sdk-core/log/param_filter.rb
|
@@ -161,6 +163,7 @@ files:
|
|
161
163
|
- lib/aws-sdk-core/pager.rb
|
162
164
|
- lib/aws-sdk-core/param_converter.rb
|
163
165
|
- lib/aws-sdk-core/param_validator.rb
|
166
|
+
- lib/aws-sdk-core/plugins.rb
|
164
167
|
- lib/aws-sdk-core/plugins/api_key.rb
|
165
168
|
- lib/aws-sdk-core/plugins/apig_authorizer_token.rb
|
166
169
|
- lib/aws-sdk-core/plugins/apig_credentials_configuration.rb
|
@@ -216,6 +219,7 @@ files:
|
|
216
219
|
- lib/aws-sdk-core/query/param_list.rb
|
217
220
|
- lib/aws-sdk-core/refreshing_credentials.rb
|
218
221
|
- lib/aws-sdk-core/refreshing_token.rb
|
222
|
+
- lib/aws-sdk-core/resources.rb
|
219
223
|
- lib/aws-sdk-core/resources/collection.rb
|
220
224
|
- lib/aws-sdk-core/rest.rb
|
221
225
|
- lib/aws-sdk-core/rest/content_type_handler.rb
|
@@ -242,6 +246,7 @@ files:
|
|
242
246
|
- lib/aws-sdk-core/sso_token_provider.rb
|
243
247
|
- lib/aws-sdk-core/static_token_provider.rb
|
244
248
|
- lib/aws-sdk-core/structure.rb
|
249
|
+
- lib/aws-sdk-core/stubbing.rb
|
245
250
|
- lib/aws-sdk-core/stubbing/data_applicator.rb
|
246
251
|
- lib/aws-sdk-core/stubbing/empty_stub.rb
|
247
252
|
- lib/aws-sdk-core/stubbing/protocols/api_gateway.rb
|