aws-sdk-credentialbroker 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-credentialbroker/client.rb +767 -0
- data/lib/aws-sdk-credentialbroker/client_api.rb +227 -0
- data/lib/aws-sdk-credentialbroker/customizations.rb +0 -0
- data/lib/aws-sdk-credentialbroker/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-credentialbroker/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-credentialbroker/endpoints.rb +20 -0
- data/lib/aws-sdk-credentialbroker/errors.rb +252 -0
- data/lib/aws-sdk-credentialbroker/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-credentialbroker/resource.rb +26 -0
- data/lib/aws-sdk-credentialbroker/types.rb +448 -0
- data/lib/aws-sdk-credentialbroker/waiters.rb +15 -0
- data/lib/aws-sdk-credentialbroker.rb +62 -0
- data/sig/client.rbs +143 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +124 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CredentialBroker
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
def reason: () -> ::String
|
|
17
|
+
end
|
|
18
|
+
class ConflictException < ServiceError
|
|
19
|
+
def message: () -> ::String
|
|
20
|
+
def resource_id: () -> ::String
|
|
21
|
+
def resource_type: () -> ::String
|
|
22
|
+
def reason: () -> ::String
|
|
23
|
+
end
|
|
24
|
+
class InternalServerException < ServiceError
|
|
25
|
+
def message: () -> ::String
|
|
26
|
+
def retry_after_seconds: () -> ::String
|
|
27
|
+
end
|
|
28
|
+
class ResourceNotFoundException < ServiceError
|
|
29
|
+
def message: () -> ::String
|
|
30
|
+
def resource_id: () -> ::String
|
|
31
|
+
def resource_type: () -> ::String
|
|
32
|
+
end
|
|
33
|
+
class ServiceQuotaExceededException < ServiceError
|
|
34
|
+
def message: () -> ::String
|
|
35
|
+
def resource_id: () -> ::String
|
|
36
|
+
def resource_type: () -> ::String
|
|
37
|
+
def service_code: () -> ::String
|
|
38
|
+
def quota_code: () -> ::String
|
|
39
|
+
end
|
|
40
|
+
class ServiceUnavailableException < ServiceError
|
|
41
|
+
def message: () -> ::String
|
|
42
|
+
def retry_after_seconds: () -> ::String
|
|
43
|
+
end
|
|
44
|
+
class ThrottlingException < ServiceError
|
|
45
|
+
def message: () -> ::String
|
|
46
|
+
def retry_after_seconds: () -> ::String
|
|
47
|
+
end
|
|
48
|
+
class ValidationException < ServiceError
|
|
49
|
+
def message: () -> ::String
|
|
50
|
+
def reason: () -> ::String
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CredentialBroker
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBroker/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBroker/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?ignore_configured_endpoint_urls: bool,
|
|
39
|
+
?log_formatter: untyped,
|
|
40
|
+
?log_level: Symbol,
|
|
41
|
+
?logger: untyped,
|
|
42
|
+
?max_attempts: Integer,
|
|
43
|
+
?profile: String,
|
|
44
|
+
?request_checksum_calculation: String,
|
|
45
|
+
?request_min_compression_size_bytes: Integer,
|
|
46
|
+
?response_checksum_validation: String,
|
|
47
|
+
?retry_backoff: Proc,
|
|
48
|
+
?retry_base_delay: Float,
|
|
49
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
50
|
+
?retry_limit: Integer,
|
|
51
|
+
?retry_max_delay: Integer,
|
|
52
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
53
|
+
?sdk_ua_app_id: String,
|
|
54
|
+
?secret_access_key: String,
|
|
55
|
+
?session_token: String,
|
|
56
|
+
?sigv4a_signing_region_set: Array[String],
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> void
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
80
|
+
|
|
81
|
+
def client: () -> Client
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::CredentialBroker
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
attr_accessor reason: ("SECRET_ACCESS_DENIED" | "IDENTITY_CENTER_ACCESS_DENIED" | "KMS_KEY_ACCESS_DENIED" | "IDENTITY_CENTER_GRANT_MISSING" | "IDENTITY_CENTER_SESSION_EXPIRED" | "EXTERNAL_IDP_INVALID_REQUEST" | "EXTERNAL_IDP_INVALID_CLIENT" | "EXTERNAL_IDP_UNAUTHORIZED_CLIENT" | "EXTERNAL_IDP_INVALID_GRANT" | "EXTERNAL_IDP_UNSUPPORTED_GRANT_TYPE" | "EXTERNAL_IDP_INVALID_SCOPE" | "EXTERNAL_IDP_INVALID_TARGET" | "EXTERNAL_IDP_REQUEST_DENIED" | "IDENTITY_CENTER_SESSION_ACCESS_DENIED" | "SESSION_BINDING_IDENTITY_MISMATCH" | "SUBJECT_TOKEN_MISSING")
|
|
14
|
+
SENSITIVE: []
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
class CompleteOAuthSessionBindingRequest
|
|
18
|
+
attr_accessor session_uri: ::String
|
|
19
|
+
SENSITIVE: []
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
class CompleteOAuthSessionBindingResponse
|
|
23
|
+
attr_accessor session_uri: ::String
|
|
24
|
+
SENSITIVE: []
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
class ConflictException
|
|
28
|
+
attr_accessor message: ::String
|
|
29
|
+
attr_accessor resource_id: ::String
|
|
30
|
+
attr_accessor resource_type: ::String
|
|
31
|
+
attr_accessor reason: ("RESOURCE_ALREADY_EXISTS" | "CONCURRENT_MODIFICATION" | "RESOURCE_STATE_CONFLICT" | "KEY_TRANSITION_IN_PROGRESS" | "SESSION_STATE_CONFLICT")
|
|
32
|
+
SENSITIVE: []
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
class GetApiKeyRequest
|
|
36
|
+
attr_accessor credential_provider_arn: ::String
|
|
37
|
+
SENSITIVE: []
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
class GetApiKeyResponse
|
|
41
|
+
attr_accessor api_key: ::String
|
|
42
|
+
SENSITIVE: [:api_key]
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
class GetOAuthTokenRequest
|
|
46
|
+
attr_accessor credential_provider_arn: ::String
|
|
47
|
+
attr_accessor grant_type: ("CLIENT_CREDENTIALS" | "TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT" | "AUTHORIZATION_CODE")
|
|
48
|
+
attr_accessor scopes: ::Array[::String]
|
|
49
|
+
attr_accessor resources: ::Array[::String]
|
|
50
|
+
attr_accessor audiences: ::Array[::String]
|
|
51
|
+
attr_accessor custom_parameters: ::Hash[::String, ::String]
|
|
52
|
+
attr_accessor force_authentication: bool
|
|
53
|
+
attr_accessor session_uri: ::String
|
|
54
|
+
SENSITIVE: [:custom_parameters]
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class GetOAuthTokenResponse
|
|
58
|
+
attr_accessor access_token: ::String
|
|
59
|
+
attr_accessor expires_at: ::Time
|
|
60
|
+
attr_accessor session_status: ("IN_PROGRESS" | "COMPLETED" | "FAILED")
|
|
61
|
+
SENSITIVE: [:access_token]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
class InternalServerException
|
|
65
|
+
attr_accessor message: ::String
|
|
66
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
67
|
+
SENSITIVE: []
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class ResourceNotFoundException
|
|
71
|
+
attr_accessor message: ::String
|
|
72
|
+
attr_accessor resource_id: ::String
|
|
73
|
+
attr_accessor resource_type: ::String
|
|
74
|
+
SENSITIVE: []
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
class ServiceQuotaExceededException
|
|
78
|
+
attr_accessor message: ::String
|
|
79
|
+
attr_accessor resource_id: ::String
|
|
80
|
+
attr_accessor resource_type: ::String
|
|
81
|
+
attr_accessor service_code: ::String
|
|
82
|
+
attr_accessor quota_code: ::String
|
|
83
|
+
SENSITIVE: []
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
class ServiceUnavailableException
|
|
87
|
+
attr_accessor message: ::String
|
|
88
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
89
|
+
SENSITIVE: []
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
class StartOAuthSessionRequest
|
|
93
|
+
attr_accessor credential_provider_arn: ::String
|
|
94
|
+
attr_accessor scopes: ::Array[::String]
|
|
95
|
+
attr_accessor session_binding_url: ::String
|
|
96
|
+
attr_accessor resources: ::Array[::String]
|
|
97
|
+
attr_accessor audiences: ::Array[::String]
|
|
98
|
+
attr_accessor custom_parameters: ::Hash[::String, ::String]
|
|
99
|
+
attr_accessor custom_state: ::String
|
|
100
|
+
SENSITIVE: [:custom_parameters, :custom_state]
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class StartOAuthSessionResponse
|
|
104
|
+
attr_accessor authorization_url: ::String
|
|
105
|
+
attr_accessor session_uri: ::String
|
|
106
|
+
attr_accessor session_status: ("IN_PROGRESS" | "COMPLETED" | "FAILED")
|
|
107
|
+
attr_accessor access_token: ::String
|
|
108
|
+
attr_accessor expires_at: ::Time
|
|
109
|
+
SENSITIVE: [:access_token]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
class ThrottlingException
|
|
113
|
+
attr_accessor message: ::String
|
|
114
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
115
|
+
SENSITIVE: []
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
class ValidationException
|
|
119
|
+
attr_accessor message: ::String
|
|
120
|
+
attr_accessor reason: ("MISSING_REQUIRED_FIELD" | "INVALID_FIELD_VALUE" | "INVALID_SECRET_REFERENCE" | "FIELD_COMBINATION_INVALID" | "UNSUPPORTED_CONFIGURATION" | "IMMUTABLE_FIELD_CHANGE" | "IDEMPOTENT_PARAMETER_MISMATCH" | "INVALID_IDENTITY_CENTER_INSTANCE_REFERENCE" | "KMS_KEY_NOT_FOUND" | "KMS_KEY_DISABLED" | "KMS_KEY_INVALID_STATE" | "KMS_KEY_INVALID_USAGE" | "INVALID_DISCOVERY_METADATA" | "INVALID_IDP_RESPONSE" | "SESSION_BINDING_URL_NOT_ALLOWED" | "GRANT_TYPE_NOT_ALLOWED" | "EXTERNAL_IDP_UNAVAILABLE")
|
|
121
|
+
SENSITIVE: []
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CredentialBroker
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aws-sdk-credentialbroker
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Amazon Web Services
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: aws-sdk-core
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '3'
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.270.0
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - "~>"
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: '3'
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 3.270.0
|
|
32
|
+
- !ruby/object:Gem::Dependency
|
|
33
|
+
name: aws-sigv4
|
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - "~>"
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '1.5'
|
|
39
|
+
type: :runtime
|
|
40
|
+
prerelease: false
|
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - "~>"
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '1.5'
|
|
46
|
+
description: Official AWS Ruby gem for AWS IAM CredentialBroker. This gem is part
|
|
47
|
+
of the AWS SDK for Ruby.
|
|
48
|
+
email:
|
|
49
|
+
- aws-dr-rubygems@amazon.com
|
|
50
|
+
executables: []
|
|
51
|
+
extensions: []
|
|
52
|
+
extra_rdoc_files: []
|
|
53
|
+
files:
|
|
54
|
+
- CHANGELOG.md
|
|
55
|
+
- LICENSE.txt
|
|
56
|
+
- VERSION
|
|
57
|
+
- lib/aws-sdk-credentialbroker.rb
|
|
58
|
+
- lib/aws-sdk-credentialbroker/client.rb
|
|
59
|
+
- lib/aws-sdk-credentialbroker/client_api.rb
|
|
60
|
+
- lib/aws-sdk-credentialbroker/customizations.rb
|
|
61
|
+
- lib/aws-sdk-credentialbroker/endpoint_parameters.rb
|
|
62
|
+
- lib/aws-sdk-credentialbroker/endpoint_provider.rb
|
|
63
|
+
- lib/aws-sdk-credentialbroker/endpoints.rb
|
|
64
|
+
- lib/aws-sdk-credentialbroker/errors.rb
|
|
65
|
+
- lib/aws-sdk-credentialbroker/plugins/endpoints.rb
|
|
66
|
+
- lib/aws-sdk-credentialbroker/resource.rb
|
|
67
|
+
- lib/aws-sdk-credentialbroker/types.rb
|
|
68
|
+
- lib/aws-sdk-credentialbroker/waiters.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
- sig/waiters.rbs
|
|
74
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
|
75
|
+
licenses:
|
|
76
|
+
- Apache-2.0
|
|
77
|
+
metadata:
|
|
78
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-credentialbroker
|
|
79
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-credentialbroker/CHANGELOG.md
|
|
80
|
+
rdoc_options: []
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '2.7'
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
|
+
requirements:
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: '0'
|
|
93
|
+
requirements: []
|
|
94
|
+
rubygems_version: 3.6.7
|
|
95
|
+
specification_version: 4
|
|
96
|
+
summary: AWS SDK for Ruby - AWS IAM CredentialBroker
|
|
97
|
+
test_files: []
|