aws-sdk-invoicing 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-invoicing/client.rb +1188 -0
- data/lib/aws-sdk-invoicing/client_api.rb +372 -0
- data/lib/aws-sdk-invoicing/customizations.rb +0 -0
- data/lib/aws-sdk-invoicing/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-invoicing/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-invoicing/endpoints.rb +20 -0
- data/lib/aws-sdk-invoicing/errors.rb +164 -0
- data/lib/aws-sdk-invoicing/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-invoicing/resource.rb +26 -0
- data/lib/aws-sdk-invoicing/types.rb +713 -0
- data/lib/aws-sdk-invoicing/waiters.rb +15 -0
- data/lib/aws-sdk-invoicing.rb +62 -0
- data/sig/client.rbs +208 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +83 -0
- data/sig/types.rbs +212 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
@@ -0,0 +1,15 @@
|
|
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
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::Invoicing
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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(:invoicing)
|
15
|
+
|
16
|
+
# This module provides support for AWS Invoicing. This module is available in the
|
17
|
+
# `aws-sdk-invoicing` 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
|
+
# invoicing = Aws::Invoicing::Client.new
|
26
|
+
# resp = invoicing.batch_get_invoice_profile(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from AWS Invoicing are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::Invoicing::Errors::ServiceError
|
38
|
+
# # rescues all AWS Invoicing API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::Invoicing
|
45
|
+
autoload :Types, 'aws-sdk-invoicing/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-invoicing/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-invoicing/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-invoicing/client'
|
51
|
+
autoload :Errors, 'aws-sdk-invoicing/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-invoicing/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-invoicing/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-invoicing/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-invoicing/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-invoicing/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-invoicing/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,208 @@
|
|
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 Invoicing
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/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
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?simple_json: bool,
|
54
|
+
?stub_responses: untyped,
|
55
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
56
|
+
?token_provider: untyped,
|
57
|
+
?use_dualstack_endpoint: bool,
|
58
|
+
?use_fips_endpoint: bool,
|
59
|
+
?validate_params: bool,
|
60
|
+
?endpoint_provider: untyped,
|
61
|
+
?http_proxy: String,
|
62
|
+
?http_open_timeout: (Float | Integer),
|
63
|
+
?http_read_timeout: (Float | Integer),
|
64
|
+
?http_idle_timeout: (Float | Integer),
|
65
|
+
?http_continue_timeout: (Float | Integer),
|
66
|
+
?ssl_timeout: (Float | Integer | nil),
|
67
|
+
?http_wire_trace: bool,
|
68
|
+
?ssl_verify_peer: bool,
|
69
|
+
?ssl_ca_bundle: String,
|
70
|
+
?ssl_ca_directory: String,
|
71
|
+
?ssl_ca_store: String,
|
72
|
+
?on_chunk_received: Proc,
|
73
|
+
?on_chunk_sent: Proc,
|
74
|
+
?raise_response_errors: bool
|
75
|
+
) -> instance
|
76
|
+
| (?Hash[Symbol, untyped]) -> instance
|
77
|
+
|
78
|
+
|
79
|
+
interface _BatchGetInvoiceProfileResponseSuccess
|
80
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetInvoiceProfileResponse]
|
81
|
+
def profiles: () -> ::Array[Types::InvoiceProfile]
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#batch_get_invoice_profile-instance_method
|
84
|
+
def batch_get_invoice_profile: (
|
85
|
+
account_ids: Array[::String]
|
86
|
+
) -> _BatchGetInvoiceProfileResponseSuccess
|
87
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetInvoiceProfileResponseSuccess
|
88
|
+
|
89
|
+
interface _CreateInvoiceUnitResponseSuccess
|
90
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateInvoiceUnitResponse]
|
91
|
+
def invoice_unit_arn: () -> ::String
|
92
|
+
end
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#create_invoice_unit-instance_method
|
94
|
+
def create_invoice_unit: (
|
95
|
+
name: ::String,
|
96
|
+
invoice_receiver: ::String,
|
97
|
+
?description: ::String,
|
98
|
+
?tax_inheritance_disabled: bool,
|
99
|
+
rule: {
|
100
|
+
linked_accounts: Array[::String]?
|
101
|
+
},
|
102
|
+
?resource_tags: Array[
|
103
|
+
{
|
104
|
+
key: ::String,
|
105
|
+
value: ::String
|
106
|
+
},
|
107
|
+
]
|
108
|
+
) -> _CreateInvoiceUnitResponseSuccess
|
109
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvoiceUnitResponseSuccess
|
110
|
+
|
111
|
+
interface _DeleteInvoiceUnitResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInvoiceUnitResponse]
|
113
|
+
def invoice_unit_arn: () -> ::String
|
114
|
+
end
|
115
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#delete_invoice_unit-instance_method
|
116
|
+
def delete_invoice_unit: (
|
117
|
+
invoice_unit_arn: ::String
|
118
|
+
) -> _DeleteInvoiceUnitResponseSuccess
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvoiceUnitResponseSuccess
|
120
|
+
|
121
|
+
interface _GetInvoiceUnitResponseSuccess
|
122
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvoiceUnitResponse]
|
123
|
+
def invoice_unit_arn: () -> ::String
|
124
|
+
def invoice_receiver: () -> ::String
|
125
|
+
def name: () -> ::String
|
126
|
+
def description: () -> ::String
|
127
|
+
def tax_inheritance_disabled: () -> bool
|
128
|
+
def rule: () -> Types::InvoiceUnitRule
|
129
|
+
def last_modified: () -> ::Time
|
130
|
+
end
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#get_invoice_unit-instance_method
|
132
|
+
def get_invoice_unit: (
|
133
|
+
invoice_unit_arn: ::String,
|
134
|
+
?as_of: ::Time
|
135
|
+
) -> _GetInvoiceUnitResponseSuccess
|
136
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvoiceUnitResponseSuccess
|
137
|
+
|
138
|
+
interface _ListInvoiceUnitsResponseSuccess
|
139
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvoiceUnitsResponse]
|
140
|
+
def invoice_units: () -> ::Array[Types::InvoiceUnit]
|
141
|
+
def next_token: () -> ::String
|
142
|
+
end
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_invoice_units-instance_method
|
144
|
+
def list_invoice_units: (
|
145
|
+
?filters: {
|
146
|
+
names: Array[::String]?,
|
147
|
+
invoice_receivers: Array[::String]?,
|
148
|
+
accounts: Array[::String]?
|
149
|
+
},
|
150
|
+
?next_token: ::String,
|
151
|
+
?max_results: ::Integer,
|
152
|
+
?as_of: ::Time
|
153
|
+
) -> _ListInvoiceUnitsResponseSuccess
|
154
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvoiceUnitsResponseSuccess
|
155
|
+
|
156
|
+
interface _ListTagsForResourceResponseSuccess
|
157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
158
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
159
|
+
end
|
160
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#list_tags_for_resource-instance_method
|
161
|
+
def list_tags_for_resource: (
|
162
|
+
resource_arn: ::String
|
163
|
+
) -> _ListTagsForResourceResponseSuccess
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
165
|
+
|
166
|
+
interface _TagResourceResponseSuccess
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#tag_resource-instance_method
|
170
|
+
def tag_resource: (
|
171
|
+
resource_arn: ::String,
|
172
|
+
resource_tags: Array[
|
173
|
+
{
|
174
|
+
key: ::String,
|
175
|
+
value: ::String
|
176
|
+
},
|
177
|
+
]
|
178
|
+
) -> _TagResourceResponseSuccess
|
179
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
180
|
+
|
181
|
+
interface _UntagResourceResponseSuccess
|
182
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
183
|
+
end
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#untag_resource-instance_method
|
185
|
+
def untag_resource: (
|
186
|
+
resource_arn: ::String,
|
187
|
+
resource_tag_keys: Array[::String]
|
188
|
+
) -> _UntagResourceResponseSuccess
|
189
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
190
|
+
|
191
|
+
interface _UpdateInvoiceUnitResponseSuccess
|
192
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInvoiceUnitResponse]
|
193
|
+
def invoice_unit_arn: () -> ::String
|
194
|
+
end
|
195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Client.html#update_invoice_unit-instance_method
|
196
|
+
def update_invoice_unit: (
|
197
|
+
invoice_unit_arn: ::String,
|
198
|
+
?description: ::String,
|
199
|
+
?tax_inheritance_disabled: bool,
|
200
|
+
?rule: {
|
201
|
+
linked_accounts: Array[::String]?
|
202
|
+
}
|
203
|
+
) -> _UpdateInvoiceUnitResponseSuccess
|
204
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInvoiceUnitResponseSuccess
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,40 @@
|
|
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 Invoicing
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def resource_name: () -> ::String
|
17
|
+
end
|
18
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
19
|
+
def retry_after_seconds: () -> ::String
|
20
|
+
def message: () -> ::String
|
21
|
+
end
|
22
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def resource_name: () -> ::String
|
25
|
+
end
|
26
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
def resource_name: () -> ::String
|
35
|
+
def reason: () -> ::String
|
36
|
+
def field_list: () -> ::String
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,83 @@
|
|
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 Invoicing
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Invoicing/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
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?simple_json: bool,
|
54
|
+
?stub_responses: untyped,
|
55
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
56
|
+
?token_provider: untyped,
|
57
|
+
?use_dualstack_endpoint: bool,
|
58
|
+
?use_fips_endpoint: bool,
|
59
|
+
?validate_params: bool,
|
60
|
+
?endpoint_provider: untyped,
|
61
|
+
?http_proxy: String,
|
62
|
+
?http_open_timeout: (Float | Integer),
|
63
|
+
?http_read_timeout: (Float | Integer),
|
64
|
+
?http_idle_timeout: (Float | Integer),
|
65
|
+
?http_continue_timeout: (Float | Integer),
|
66
|
+
?ssl_timeout: (Float | Integer | nil),
|
67
|
+
?http_wire_trace: bool,
|
68
|
+
?ssl_verify_peer: bool,
|
69
|
+
?ssl_ca_bundle: String,
|
70
|
+
?ssl_ca_directory: String,
|
71
|
+
?ssl_ca_store: String,
|
72
|
+
?on_chunk_received: Proc,
|
73
|
+
?on_chunk_sent: Proc,
|
74
|
+
?raise_response_errors: bool
|
75
|
+
) -> void
|
76
|
+
| (?Hash[Symbol, untyped]) -> void
|
77
|
+
|
78
|
+
def client: () -> Client
|
79
|
+
|
80
|
+
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,212 @@
|
|
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::Invoicing
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor resource_name: ::String
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class BatchGetInvoiceProfileRequest
|
18
|
+
attr_accessor account_ids: ::Array[::String]
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class BatchGetInvoiceProfileResponse
|
23
|
+
attr_accessor profiles: ::Array[Types::InvoiceProfile]
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class CreateInvoiceUnitRequest
|
28
|
+
attr_accessor name: ::String
|
29
|
+
attr_accessor invoice_receiver: ::String
|
30
|
+
attr_accessor description: ::String
|
31
|
+
attr_accessor tax_inheritance_disabled: bool
|
32
|
+
attr_accessor rule: Types::InvoiceUnitRule
|
33
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
34
|
+
SENSITIVE: []
|
35
|
+
end
|
36
|
+
|
37
|
+
class CreateInvoiceUnitResponse
|
38
|
+
attr_accessor invoice_unit_arn: ::String
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class DeleteInvoiceUnitRequest
|
43
|
+
attr_accessor invoice_unit_arn: ::String
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class DeleteInvoiceUnitResponse
|
48
|
+
attr_accessor invoice_unit_arn: ::String
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class Filters
|
53
|
+
attr_accessor names: ::Array[::String]
|
54
|
+
attr_accessor invoice_receivers: ::Array[::String]
|
55
|
+
attr_accessor accounts: ::Array[::String]
|
56
|
+
SENSITIVE: []
|
57
|
+
end
|
58
|
+
|
59
|
+
class GetInvoiceUnitRequest
|
60
|
+
attr_accessor invoice_unit_arn: ::String
|
61
|
+
attr_accessor as_of: ::Time
|
62
|
+
SENSITIVE: []
|
63
|
+
end
|
64
|
+
|
65
|
+
class GetInvoiceUnitResponse
|
66
|
+
attr_accessor invoice_unit_arn: ::String
|
67
|
+
attr_accessor invoice_receiver: ::String
|
68
|
+
attr_accessor name: ::String
|
69
|
+
attr_accessor description: ::String
|
70
|
+
attr_accessor tax_inheritance_disabled: bool
|
71
|
+
attr_accessor rule: Types::InvoiceUnitRule
|
72
|
+
attr_accessor last_modified: ::Time
|
73
|
+
SENSITIVE: []
|
74
|
+
end
|
75
|
+
|
76
|
+
class InternalServerException
|
77
|
+
attr_accessor retry_after_seconds: ::Integer
|
78
|
+
attr_accessor message: ::String
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class InvoiceProfile
|
83
|
+
attr_accessor account_id: ::String
|
84
|
+
attr_accessor receiver_name: ::String
|
85
|
+
attr_accessor receiver_address: Types::ReceiverAddress
|
86
|
+
attr_accessor receiver_email: ::String
|
87
|
+
attr_accessor issuer: ::String
|
88
|
+
attr_accessor tax_registration_number: ::String
|
89
|
+
SENSITIVE: [:receiver_address, :receiver_email, :tax_registration_number]
|
90
|
+
end
|
91
|
+
|
92
|
+
class InvoiceUnit
|
93
|
+
attr_accessor invoice_unit_arn: ::String
|
94
|
+
attr_accessor invoice_receiver: ::String
|
95
|
+
attr_accessor name: ::String
|
96
|
+
attr_accessor description: ::String
|
97
|
+
attr_accessor tax_inheritance_disabled: bool
|
98
|
+
attr_accessor rule: Types::InvoiceUnitRule
|
99
|
+
attr_accessor last_modified: ::Time
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class InvoiceUnitRule
|
104
|
+
attr_accessor linked_accounts: ::Array[::String]
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class ListInvoiceUnitsRequest
|
109
|
+
attr_accessor filters: Types::Filters
|
110
|
+
attr_accessor next_token: ::String
|
111
|
+
attr_accessor max_results: ::Integer
|
112
|
+
attr_accessor as_of: ::Time
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class ListInvoiceUnitsResponse
|
117
|
+
attr_accessor invoice_units: ::Array[Types::InvoiceUnit]
|
118
|
+
attr_accessor next_token: ::String
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class ListTagsForResourceRequest
|
123
|
+
attr_accessor resource_arn: ::String
|
124
|
+
SENSITIVE: []
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListTagsForResourceResponse
|
128
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
132
|
+
class ReceiverAddress
|
133
|
+
attr_accessor address_line_1: ::String
|
134
|
+
attr_accessor address_line_2: ::String
|
135
|
+
attr_accessor address_line_3: ::String
|
136
|
+
attr_accessor district_or_county: ::String
|
137
|
+
attr_accessor city: ::String
|
138
|
+
attr_accessor state_or_region: ::String
|
139
|
+
attr_accessor country_code: ::String
|
140
|
+
attr_accessor company_name: ::String
|
141
|
+
attr_accessor postal_code: ::String
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class ResourceNotFoundException
|
146
|
+
attr_accessor message: ::String
|
147
|
+
attr_accessor resource_name: ::String
|
148
|
+
SENSITIVE: []
|
149
|
+
end
|
150
|
+
|
151
|
+
class ResourceTag
|
152
|
+
attr_accessor key: ::String
|
153
|
+
attr_accessor value: ::String
|
154
|
+
SENSITIVE: []
|
155
|
+
end
|
156
|
+
|
157
|
+
class ServiceQuotaExceededException
|
158
|
+
attr_accessor message: ::String
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class TagResourceRequest
|
163
|
+
attr_accessor resource_arn: ::String
|
164
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class TagResourceResponse < Aws::EmptyStructure
|
169
|
+
end
|
170
|
+
|
171
|
+
class ThrottlingException
|
172
|
+
attr_accessor message: ::String
|
173
|
+
SENSITIVE: []
|
174
|
+
end
|
175
|
+
|
176
|
+
class UntagResourceRequest
|
177
|
+
attr_accessor resource_arn: ::String
|
178
|
+
attr_accessor resource_tag_keys: ::Array[::String]
|
179
|
+
SENSITIVE: []
|
180
|
+
end
|
181
|
+
|
182
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
183
|
+
end
|
184
|
+
|
185
|
+
class UpdateInvoiceUnitRequest
|
186
|
+
attr_accessor invoice_unit_arn: ::String
|
187
|
+
attr_accessor description: ::String
|
188
|
+
attr_accessor tax_inheritance_disabled: bool
|
189
|
+
attr_accessor rule: Types::InvoiceUnitRule
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class UpdateInvoiceUnitResponse
|
194
|
+
attr_accessor invoice_unit_arn: ::String
|
195
|
+
SENSITIVE: []
|
196
|
+
end
|
197
|
+
|
198
|
+
class ValidationException
|
199
|
+
attr_accessor message: ::String
|
200
|
+
attr_accessor resource_name: ::String
|
201
|
+
attr_accessor reason: ("nonMemberPresent" | "maxAccountsExceeded" | "maxInvoiceUnitsExceeded" | "duplicateInvoiceUnit" | "mutualExclusionError" | "accountMembershipError" | "taxSettingsError" | "expiredNextToken" | "invalidNextToken" | "invalidInput" | "fieldValidationFailed" | "cannotParse" | "unknownOperation" | "other")
|
202
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class ValidationExceptionField
|
207
|
+
attr_accessor name: ::String
|
208
|
+
attr_accessor message: ::String
|
209
|
+
SENSITIVE: []
|
210
|
+
end
|
211
|
+
end
|
212
|
+
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 Invoicing
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|