aws-sdk-connectscheduling 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-connectscheduling/client.rb +1116 -0
- data/lib/aws-sdk-connectscheduling/client_api.rb +295 -0
- data/lib/aws-sdk-connectscheduling/customizations.rb +0 -0
- data/lib/aws-sdk-connectscheduling/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-connectscheduling/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-connectscheduling/endpoints.rb +20 -0
- data/lib/aws-sdk-connectscheduling/errors.rb +232 -0
- data/lib/aws-sdk-connectscheduling/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-connectscheduling/resource.rb +26 -0
- data/lib/aws-sdk-connectscheduling/types.rb +722 -0
- data/lib/aws-sdk-connectscheduling.rb +61 -0
- data/sig/client.rbs +177 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +178 -0
- metadata +95 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
require 'aws-sdk-core'
|
|
12
|
+
require 'aws-sigv4'
|
|
13
|
+
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:connectscheduling)
|
|
15
|
+
|
|
16
|
+
# This module provides support for Amazon Connect Scheduling. This module is available in the
|
|
17
|
+
# `aws-sdk-connectscheduling` gem.
|
|
18
|
+
#
|
|
19
|
+
# # Client
|
|
20
|
+
#
|
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
|
23
|
+
# structure.
|
|
24
|
+
#
|
|
25
|
+
# connect_scheduling = Aws::ConnectScheduling::Client.new
|
|
26
|
+
# resp = connect_scheduling.approve_time_off(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from Amazon Connect Scheduling are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::ConnectScheduling::Errors::ServiceError
|
|
38
|
+
# # rescues all Amazon Connect Scheduling API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::ConnectScheduling
|
|
45
|
+
autoload :Types, 'aws-sdk-connectscheduling/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-connectscheduling/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-connectscheduling/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-connectscheduling/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-connectscheduling/errors'
|
|
52
|
+
autoload :Resource, 'aws-sdk-connectscheduling/resource'
|
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-connectscheduling/endpoint_parameters'
|
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-connectscheduling/endpoint_provider'
|
|
55
|
+
autoload :Endpoints, 'aws-sdk-connectscheduling/endpoints'
|
|
56
|
+
|
|
57
|
+
GEM_VERSION = '1.0.0'
|
|
58
|
+
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
require_relative 'aws-sdk-connectscheduling/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
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 ConnectScheduling
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
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
|
+
) -> instance
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
interface _ApproveTimeOffResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ApproveTimeOffResponse]
|
|
84
|
+
end
|
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#approve_time_off-instance_method
|
|
86
|
+
def approve_time_off: (
|
|
87
|
+
instance_id: ::String,
|
|
88
|
+
user_id: ::String,
|
|
89
|
+
time_off_id: ::String,
|
|
90
|
+
?description: ::String,
|
|
91
|
+
?rule_failure_action: ("REJECT" | "OVERRIDE")
|
|
92
|
+
) -> _ApproveTimeOffResponseSuccess
|
|
93
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ApproveTimeOffResponseSuccess
|
|
94
|
+
|
|
95
|
+
interface _CancelTimeOffResponseSuccess
|
|
96
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelTimeOffResponse]
|
|
97
|
+
end
|
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#cancel_time_off-instance_method
|
|
99
|
+
def cancel_time_off: (
|
|
100
|
+
instance_id: ::String,
|
|
101
|
+
user_id: ::String,
|
|
102
|
+
time_off_id: ::String,
|
|
103
|
+
?description: ::String
|
|
104
|
+
) -> _CancelTimeOffResponseSuccess
|
|
105
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTimeOffResponseSuccess
|
|
106
|
+
|
|
107
|
+
interface _CreateTimeOffResponseSuccess
|
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTimeOffResponse]
|
|
109
|
+
def time_off_id: () -> ::String
|
|
110
|
+
end
|
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#create_time_off-instance_method
|
|
112
|
+
def create_time_off: (
|
|
113
|
+
instance_id: ::String,
|
|
114
|
+
user_id: ::String,
|
|
115
|
+
shift_activity_id: ::String,
|
|
116
|
+
start_at: ::Time,
|
|
117
|
+
end_at: ::Time,
|
|
118
|
+
?description: ::String,
|
|
119
|
+
approval_type: ("AWAIT_APPROVAL" | "AUTOMATIC"),
|
|
120
|
+
?rule_failure_action: ("REJECT" | "OVERRIDE"),
|
|
121
|
+
?client_token: ::String
|
|
122
|
+
) -> _CreateTimeOffResponseSuccess
|
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTimeOffResponseSuccess
|
|
124
|
+
|
|
125
|
+
interface _GetTimeOffResponseSuccess
|
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTimeOffResponse]
|
|
127
|
+
def time_off_id: () -> ::String
|
|
128
|
+
def user_id: () -> ::String
|
|
129
|
+
def shift_activity_id: () -> ::String
|
|
130
|
+
def start_at: () -> ::Time
|
|
131
|
+
def end_at: () -> ::Time
|
|
132
|
+
def status: () -> ("PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "AWAITING_APPROVAL")
|
|
133
|
+
def description: () -> ::String
|
|
134
|
+
def validation_results: () -> ::Array[Types::TimeOffValidationResult]
|
|
135
|
+
def created_by: () -> Types::ActorInfo
|
|
136
|
+
def created_at: () -> ::Time
|
|
137
|
+
def updated_by: () -> Types::ActorInfo
|
|
138
|
+
def updated_at: () -> ::Time
|
|
139
|
+
end
|
|
140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#get_time_off-instance_method
|
|
141
|
+
def get_time_off: (
|
|
142
|
+
instance_id: ::String,
|
|
143
|
+
user_id: ::String,
|
|
144
|
+
time_off_id: ::String
|
|
145
|
+
) -> _GetTimeOffResponseSuccess
|
|
146
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTimeOffResponseSuccess
|
|
147
|
+
|
|
148
|
+
interface _PutTimeOffBalanceResponseSuccess
|
|
149
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutTimeOffBalanceResponse]
|
|
150
|
+
end
|
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#put_time_off_balance-instance_method
|
|
152
|
+
def put_time_off_balance: (
|
|
153
|
+
instance_id: ::String,
|
|
154
|
+
user_id: ::String,
|
|
155
|
+
shift_activity_id: ::String,
|
|
156
|
+
balance: {
|
|
157
|
+
value: ::Integer,
|
|
158
|
+
unit: ("MINUTES" | "HOURS" | "DAYS")
|
|
159
|
+
}
|
|
160
|
+
) -> _PutTimeOffBalanceResponseSuccess
|
|
161
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTimeOffBalanceResponseSuccess
|
|
162
|
+
|
|
163
|
+
interface _RejectTimeOffResponseSuccess
|
|
164
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RejectTimeOffResponse]
|
|
165
|
+
end
|
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Client.html#reject_time_off-instance_method
|
|
167
|
+
def reject_time_off: (
|
|
168
|
+
instance_id: ::String,
|
|
169
|
+
user_id: ::String,
|
|
170
|
+
time_off_id: ::String,
|
|
171
|
+
?description: ::String
|
|
172
|
+
) -> _RejectTimeOffResponseSuccess
|
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectTimeOffResponseSuccess
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
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 ConnectScheduling
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
def resource_id: () -> ::String
|
|
20
|
+
def resource_type: () -> ::String
|
|
21
|
+
end
|
|
22
|
+
class InternalServerException < ServiceError
|
|
23
|
+
def message: () -> ::String
|
|
24
|
+
def retry_after_seconds: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class ResourceNotFoundException < ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
def resource_id: () -> ::String
|
|
29
|
+
def resource_type: () -> ::String
|
|
30
|
+
end
|
|
31
|
+
class ServiceQuotaExceededException < ServiceError
|
|
32
|
+
def message: () -> ::String
|
|
33
|
+
def quota_code: () -> ::String
|
|
34
|
+
def service_code: () -> ::String
|
|
35
|
+
def resource_id: () -> ::String
|
|
36
|
+
def resource_type: () -> ::String
|
|
37
|
+
end
|
|
38
|
+
class ThrottlingException < ServiceError
|
|
39
|
+
def message: () -> ::String
|
|
40
|
+
def quota_code: () -> ::String
|
|
41
|
+
def service_code: () -> ::String
|
|
42
|
+
def retry_after_seconds: () -> ::String
|
|
43
|
+
end
|
|
44
|
+
class ValidationException < ServiceError
|
|
45
|
+
def message: () -> ::String
|
|
46
|
+
def reason: () -> ::String
|
|
47
|
+
def field_list: () -> ::String
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
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 ConnectScheduling
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectScheduling/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,178 @@
|
|
|
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::ConnectScheduling
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class ActorInfo
|
|
17
|
+
attr_accessor connect_user_arn: ::String
|
|
18
|
+
attr_accessor aws_identity_arn: ::String
|
|
19
|
+
attr_accessor unknown: untyped
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
|
|
22
|
+
class ConnectUserArn < ActorInfo
|
|
23
|
+
end
|
|
24
|
+
class AwsIdentityArn < ActorInfo
|
|
25
|
+
end
|
|
26
|
+
class Unknown < ActorInfo
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
class ApproveTimeOffRequest
|
|
31
|
+
attr_accessor instance_id: ::String
|
|
32
|
+
attr_accessor user_id: ::String
|
|
33
|
+
attr_accessor time_off_id: ::String
|
|
34
|
+
attr_accessor description: ::String
|
|
35
|
+
attr_accessor rule_failure_action: ("REJECT" | "OVERRIDE")
|
|
36
|
+
SENSITIVE: [:description]
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class ApproveTimeOffResponse < Aws::EmptyStructure
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
class CancelTimeOffRequest
|
|
43
|
+
attr_accessor instance_id: ::String
|
|
44
|
+
attr_accessor user_id: ::String
|
|
45
|
+
attr_accessor time_off_id: ::String
|
|
46
|
+
attr_accessor description: ::String
|
|
47
|
+
SENSITIVE: [:description]
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
class CancelTimeOffResponse < Aws::EmptyStructure
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
class ConflictException
|
|
54
|
+
attr_accessor message: ::String
|
|
55
|
+
attr_accessor resource_id: ::String
|
|
56
|
+
attr_accessor resource_type: ::String
|
|
57
|
+
SENSITIVE: []
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
class CreateTimeOffRequest
|
|
61
|
+
attr_accessor instance_id: ::String
|
|
62
|
+
attr_accessor user_id: ::String
|
|
63
|
+
attr_accessor shift_activity_id: ::String
|
|
64
|
+
attr_accessor start_at: ::Time
|
|
65
|
+
attr_accessor end_at: ::Time
|
|
66
|
+
attr_accessor description: ::String
|
|
67
|
+
attr_accessor approval_type: ("AWAIT_APPROVAL" | "AUTOMATIC")
|
|
68
|
+
attr_accessor rule_failure_action: ("REJECT" | "OVERRIDE")
|
|
69
|
+
attr_accessor client_token: ::String
|
|
70
|
+
SENSITIVE: [:description]
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class CreateTimeOffResponse
|
|
74
|
+
attr_accessor time_off_id: ::String
|
|
75
|
+
SENSITIVE: []
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class Duration
|
|
79
|
+
attr_accessor value: ::Integer
|
|
80
|
+
attr_accessor unit: ("MINUTES" | "HOURS" | "DAYS")
|
|
81
|
+
SENSITIVE: []
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
class GetTimeOffRequest
|
|
85
|
+
attr_accessor instance_id: ::String
|
|
86
|
+
attr_accessor user_id: ::String
|
|
87
|
+
attr_accessor time_off_id: ::String
|
|
88
|
+
SENSITIVE: []
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class GetTimeOffResponse
|
|
92
|
+
attr_accessor time_off_id: ::String
|
|
93
|
+
attr_accessor user_id: ::String
|
|
94
|
+
attr_accessor shift_activity_id: ::String
|
|
95
|
+
attr_accessor start_at: ::Time
|
|
96
|
+
attr_accessor end_at: ::Time
|
|
97
|
+
attr_accessor status: ("PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "AWAITING_APPROVAL")
|
|
98
|
+
attr_accessor description: ::String
|
|
99
|
+
attr_accessor validation_results: ::Array[Types::TimeOffValidationResult]
|
|
100
|
+
attr_accessor created_by: Types::ActorInfo
|
|
101
|
+
attr_accessor created_at: ::Time
|
|
102
|
+
attr_accessor updated_by: Types::ActorInfo
|
|
103
|
+
attr_accessor updated_at: ::Time
|
|
104
|
+
SENSITIVE: [:description]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
class InternalServerException
|
|
108
|
+
attr_accessor message: ::String
|
|
109
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
110
|
+
SENSITIVE: []
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
class PutTimeOffBalanceRequest
|
|
114
|
+
attr_accessor instance_id: ::String
|
|
115
|
+
attr_accessor user_id: ::String
|
|
116
|
+
attr_accessor shift_activity_id: ::String
|
|
117
|
+
attr_accessor balance: Types::Duration
|
|
118
|
+
SENSITIVE: []
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class PutTimeOffBalanceResponse < Aws::EmptyStructure
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
class RejectTimeOffRequest
|
|
125
|
+
attr_accessor instance_id: ::String
|
|
126
|
+
attr_accessor user_id: ::String
|
|
127
|
+
attr_accessor time_off_id: ::String
|
|
128
|
+
attr_accessor description: ::String
|
|
129
|
+
SENSITIVE: [:description]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
class RejectTimeOffResponse < Aws::EmptyStructure
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
class ResourceNotFoundException
|
|
136
|
+
attr_accessor message: ::String
|
|
137
|
+
attr_accessor resource_id: ::String
|
|
138
|
+
attr_accessor resource_type: ::String
|
|
139
|
+
SENSITIVE: []
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class ServiceQuotaExceededException
|
|
143
|
+
attr_accessor message: ::String
|
|
144
|
+
attr_accessor quota_code: ::String
|
|
145
|
+
attr_accessor service_code: ::String
|
|
146
|
+
attr_accessor resource_id: ::String
|
|
147
|
+
attr_accessor resource_type: ::String
|
|
148
|
+
SENSITIVE: []
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ThrottlingException
|
|
152
|
+
attr_accessor message: ::String
|
|
153
|
+
attr_accessor quota_code: ::String
|
|
154
|
+
attr_accessor service_code: ::String
|
|
155
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
156
|
+
SENSITIVE: []
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class TimeOffValidationResult
|
|
160
|
+
attr_accessor severity: ("WARNING" | "ERROR")
|
|
161
|
+
attr_accessor code: ("INSUFFICIENT_USER_TIME_OFF_BALANCE" | "INSUFFICIENT_GROUP_TIME_OFF_ALLOWANCE" | "INSUFFICIENT_STAFFING_GROUP_TIME_OFF_ALLOWANCE" | "CONFLICTING_TIME_OFF_REQUEST")
|
|
162
|
+
SENSITIVE: []
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
class ValidationException
|
|
166
|
+
attr_accessor message: ::String
|
|
167
|
+
attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
|
|
168
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
|
169
|
+
SENSITIVE: []
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
class ValidationExceptionField
|
|
173
|
+
attr_accessor name: ::String
|
|
174
|
+
attr_accessor message: ::String
|
|
175
|
+
SENSITIVE: []
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aws-sdk-connectscheduling
|
|
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.269.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.269.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 Amazon Connect Scheduling. 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-connectscheduling.rb
|
|
58
|
+
- lib/aws-sdk-connectscheduling/client.rb
|
|
59
|
+
- lib/aws-sdk-connectscheduling/client_api.rb
|
|
60
|
+
- lib/aws-sdk-connectscheduling/customizations.rb
|
|
61
|
+
- lib/aws-sdk-connectscheduling/endpoint_parameters.rb
|
|
62
|
+
- lib/aws-sdk-connectscheduling/endpoint_provider.rb
|
|
63
|
+
- lib/aws-sdk-connectscheduling/endpoints.rb
|
|
64
|
+
- lib/aws-sdk-connectscheduling/errors.rb
|
|
65
|
+
- lib/aws-sdk-connectscheduling/plugins/endpoints.rb
|
|
66
|
+
- lib/aws-sdk-connectscheduling/resource.rb
|
|
67
|
+
- lib/aws-sdk-connectscheduling/types.rb
|
|
68
|
+
- sig/client.rbs
|
|
69
|
+
- sig/errors.rbs
|
|
70
|
+
- sig/resource.rbs
|
|
71
|
+
- sig/types.rbs
|
|
72
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
|
73
|
+
licenses:
|
|
74
|
+
- Apache-2.0
|
|
75
|
+
metadata:
|
|
76
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectscheduling
|
|
77
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectscheduling/CHANGELOG.md
|
|
78
|
+
rdoc_options: []
|
|
79
|
+
require_paths:
|
|
80
|
+
- lib
|
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
|
+
requirements:
|
|
83
|
+
- - ">="
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '2.7'
|
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - ">="
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '0'
|
|
91
|
+
requirements: []
|
|
92
|
+
rubygems_version: 3.6.7
|
|
93
|
+
specification_version: 4
|
|
94
|
+
summary: AWS SDK for Ruby - Amazon Connect Scheduling
|
|
95
|
+
test_files: []
|