aws-sdk-apiportal 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,34 @@
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 APIPortal
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BadRequestException < ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConflictException < ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InternalServerException < ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class LimitExceededException < ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,68 @@
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 APIPortal
10
+ module Params
11
+ type custom_colors = {
12
+ background_color: ::String,
13
+ navigation_color: ::String,
14
+ header_color: ::String,
15
+ text_color: ::String,
16
+ accent_color: ::String,
17
+ error_validation_color: ::String
18
+ }
19
+
20
+ type portal_theme = {
21
+ custom_colors: Params::custom_colors,
22
+ logo_uploaded_at: ::Time?
23
+ }
24
+
25
+ type portal_content = {
26
+ display_name: ::String,
27
+ description: ::String?,
28
+ theme: Params::portal_theme
29
+ }
30
+
31
+ type endpoint_configuration_request = {
32
+ none: {
33
+ }?,
34
+ acm_managed: {
35
+ domain_name: ::String,
36
+ certificate_arn: ::String
37
+ }?
38
+ }
39
+
40
+ type authorization_config = {
41
+ none: {
42
+ }?,
43
+ cognito_config: {
44
+ user_pool_arn: ::String,
45
+ app_client_id: ::String,
46
+ user_pool_domain: ::String,
47
+ identity_pool_id: ::String?
48
+ }?
49
+ }
50
+
51
+ type authorization = {
52
+ authorization_config: Params::authorization_config,
53
+ fine_grained_access_control: ("ENABLED" | "DISABLED")
54
+ }
55
+
56
+ type api_page_display_content = {
57
+ none: {
58
+ }?,
59
+ overrides: {
60
+ operation_name: ::String?,
61
+ api_url: ::String?,
62
+ body: ::String?
63
+ }?
64
+ }
65
+
66
+ end
67
+ end
68
+ 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 APIPortal
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/APIPortal/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/APIPortal/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