aws-sdk-credentialbrokercontrol 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.
data/sig/errors.rbs ADDED
@@ -0,0 +1,50 @@
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 CredentialBrokerControl
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 ThrottlingException < ServiceError
41
+ def message: () -> ::String
42
+ def retry_after_seconds: () -> ::String
43
+ end
44
+ class ValidationException < ServiceError
45
+ def message: () -> ::String
46
+ def reason: () -> ::String
47
+ end
48
+ end
49
+ end
50
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,147 @@
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 CredentialBrokerControl
10
+ module Params
11
+ type client_authentication_configuration_input = {
12
+ client_authentication_method: ("CLIENT_SECRET_BASIC" | "CLIENT_SECRET_POST" | "NONE")?,
13
+ client_id: ::String,
14
+ client_secret: {
15
+ client_secret: ::String?,
16
+ client_secret_reference: {
17
+ secret_id: ::String,
18
+ json_key: ::String
19
+ }?
20
+ }?
21
+ }
22
+
23
+ type github_o_auth_configuration_input = {
24
+ client_authentication_configuration: Params::client_authentication_configuration_input?
25
+ }
26
+
27
+ type google_o_auth_configuration_input = {
28
+ client_authentication_configuration: Params::client_authentication_configuration_input?
29
+ }
30
+
31
+ type token_exchange_requester_configuration_input = {
32
+ requester_client_authentication_configuration: Params::client_authentication_configuration_input?,
33
+ no_client: {
34
+ }?
35
+ }
36
+
37
+ type on_behalf_of_token_exchange_configuration_input = {
38
+ subject_token_source: {
39
+ iam_identity_center: {
40
+ }?,
41
+ credential_provider: ::String?,
42
+ credential_provider_self: {
43
+ }?
44
+ },
45
+ token_exchange_actor_configuration: {
46
+ actor_token_content: ("NONE" | "M2M"),
47
+ actor_token_scopes: Array[::String]?
48
+ }?,
49
+ token_exchange_requester_configuration: Params::token_exchange_requester_configuration_input?
50
+ }
51
+
52
+ type cognito_o_auth_configuration_input = {
53
+ client_authentication_configuration: Params::client_authentication_configuration_input?,
54
+ user_pool_id: ::String,
55
+ cognito_region: ::String?,
56
+ on_behalf_of_token_exchange_configuration: Params::on_behalf_of_token_exchange_configuration_input?
57
+ }
58
+
59
+ type microsoft_o_auth_configuration_input = {
60
+ client_authentication_configuration: Params::client_authentication_configuration_input?,
61
+ tenant_id: ::String?,
62
+ on_behalf_of_token_exchange_configuration: Params::on_behalf_of_token_exchange_configuration_input?
63
+ }
64
+
65
+ type atlassian_o_auth_configuration_input = {
66
+ client_authentication_configuration: Params::client_authentication_configuration_input?
67
+ }
68
+
69
+ type okta_o_auth_configuration_input = {
70
+ client_authentication_configuration: Params::client_authentication_configuration_input?,
71
+ okta_domain: ::String,
72
+ on_behalf_of_token_exchange_configuration: Params::on_behalf_of_token_exchange_configuration_input?
73
+ }
74
+
75
+ type slack_o_auth_configuration_input = {
76
+ client_authentication_configuration: Params::client_authentication_configuration_input?
77
+ }
78
+
79
+ type salesforce_o_auth_configuration_input = {
80
+ client_authentication_configuration: Params::client_authentication_configuration_input?,
81
+ instance_url: ::String,
82
+ on_behalf_of_token_exchange_configuration: Params::on_behalf_of_token_exchange_configuration_input?
83
+ }
84
+
85
+ type linkedin_o_auth_configuration_input = {
86
+ client_authentication_configuration: Params::client_authentication_configuration_input?
87
+ }
88
+
89
+ type o_auth_discovery = {
90
+ discovery_url: ::String?,
91
+ authorization_server_metadata: {
92
+ issuer: ::String,
93
+ token_endpoint: ::String,
94
+ authorization_endpoint: ::String?
95
+ }?
96
+ }
97
+
98
+ type custom_o_auth_configuration_input = {
99
+ client_authentication_configuration: Params::client_authentication_configuration_input?,
100
+ oauth_discovery: Params::o_auth_discovery,
101
+ on_behalf_of_token_exchange_configuration: Params::on_behalf_of_token_exchange_configuration_input?
102
+ }
103
+
104
+ type o_auth_vendor_configuration_input = {
105
+ github_configuration: Params::github_o_auth_configuration_input?,
106
+ google_configuration: Params::google_o_auth_configuration_input?,
107
+ cognito_configuration: Params::cognito_o_auth_configuration_input?,
108
+ microsoft_configuration: Params::microsoft_o_auth_configuration_input?,
109
+ atlassian_configuration: Params::atlassian_o_auth_configuration_input?,
110
+ okta_configuration: Params::okta_o_auth_configuration_input?,
111
+ slack_configuration: Params::slack_o_auth_configuration_input?,
112
+ salesforce_configuration: Params::salesforce_o_auth_configuration_input?,
113
+ linkedin_configuration: Params::linkedin_o_auth_configuration_input?,
114
+ custom_configuration: Params::custom_o_auth_configuration_input?
115
+ }
116
+
117
+ type o_auth_credential_provider_configuration_input = {
118
+ allowed_grant_types: Array[("CLIENT_CREDENTIALS" | "TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT" | "AUTHORIZATION_CODE")]?,
119
+ vendor_configuration_input: Params::o_auth_vendor_configuration_input?,
120
+ allowed_session_binding_urls: Array[::String]?,
121
+ provider_encryption_configuration: {
122
+ customer_managed: {
123
+ kms_key_identifier: ::String
124
+ }?,
125
+ inherit_from_pool: {
126
+ }?
127
+ }?
128
+ }
129
+
130
+ type api_key_credential_provider_configuration_input = {
131
+ api_key_secret_input: {
132
+ api_key: ::String?,
133
+ api_key_secret_reference: {
134
+ secret_id: ::String,
135
+ json_key: ::String
136
+ }?
137
+ }?
138
+ }
139
+
140
+ type credential_provider_configuration_input = {
141
+ oauth_configuration: Params::o_auth_credential_provider_configuration_input?,
142
+ api_key_configuration: Params::api_key_credential_provider_configuration_input?
143
+ }
144
+
145
+ end
146
+ end
147
+ 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 CredentialBrokerControl
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/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