aws-sdk-appmonetization 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,65 @@
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 AppMonetization
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 IdempotencyConflictException < ServiceError
23
+ def message: () -> ::String
24
+ end
25
+ class InternalServerException < ServiceError
26
+ def message: () -> ::String
27
+ def retry_after_seconds: () -> ::String
28
+ end
29
+ class InvalidConfigurationException < ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ResourceNotFoundException < ServiceError
33
+ def message: () -> ::String
34
+ def resource_id: () -> ::String
35
+ def resource_type: () -> ::String
36
+ end
37
+ class RevisionConflictException < ServiceError
38
+ def message: () -> ::String
39
+ def current_revision: () -> ::String
40
+ end
41
+ class ServiceQuotaExceededException < ServiceError
42
+ def message: () -> ::String
43
+ def resource_id: () -> ::String
44
+ def resource_type: () -> ::String
45
+ def service_code: () -> ::String
46
+ def quota_code: () -> ::String
47
+ end
48
+ class ServiceUnavailableException < ServiceError
49
+ def message: () -> ::String
50
+ def retry_after_seconds: () -> ::String
51
+ end
52
+ class ThrottlingException < ServiceError
53
+ def message: () -> ::String
54
+ def service_code: () -> ::String
55
+ def quota_code: () -> ::String
56
+ def retry_after_seconds: () -> ::String
57
+ end
58
+ class ValidationException < ServiceError
59
+ def message: () -> ::String
60
+ def reason: () -> ::String
61
+ def field_list: () -> ::String
62
+ end
63
+ end
64
+ end
65
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,117 @@
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 AppMonetization
10
+ module Params
11
+ type developer_address = {
12
+ street1: ::String,
13
+ street2: ::String?,
14
+ city: ::String,
15
+ state: ::String,
16
+ postal_code: ::String,
17
+ country: ::String
18
+ }
19
+
20
+ type tax_registration = {
21
+ country_code: ::String,
22
+ state: ::String?,
23
+ collection_type: ::String,
24
+ registration_type: ("SALES_USE" | "RETAIL_DELIVERY_FEE" | "VAT" | "VAT_OSS" | "VAT_IOSS" | "GST" | "FEDERAL_EIN" | "CPF" | "CNPJ" | "SST" | "TIN" | "NIP" | "NPWP" | "NCID")?,
25
+ registration_id: ::String?,
26
+ locality: ::String?
27
+ }
28
+
29
+ type metric_definition = {
30
+ filters: Array[
31
+ {
32
+ field: ::String,
33
+ operator: ("EQUALS" | "NOT_EQUALS" | "IN" | "NOT_IN"),
34
+ values: Array[::String]
35
+ }
36
+ ],
37
+ function: ("SUM" | "COUNT" | "MAX"),
38
+ function_field: ::String?,
39
+ group_by: Array[::String],
40
+ period: ("MONTHLY")
41
+ }
42
+
43
+ type one_time_price_definition = {
44
+ name: ::String,
45
+ price: {
46
+ currency_code: ::String,
47
+ amount: ::String
48
+ },
49
+ metric_id: ::String,
50
+ capacity: ::Integer
51
+ }
52
+
53
+ type plan_definition = {
54
+ name: ::String,
55
+ description: ::String?,
56
+ billing_cycle: ("MONTHLY" | "ANNUAL" | "ONE_TIME"),
57
+ subscription_price: {
58
+ currency_code: ::String,
59
+ amount: ::String
60
+ },
61
+ included_quotas: Hash[::String, Params::app_quota_config]?,
62
+ tax_code: ::String?,
63
+ payment_failure_policy: {
64
+ retry_attempts: ::Integer?,
65
+ retry_window_days: ::Integer?,
66
+ downgrade_to_plan_id: ::String?
67
+ }?
68
+ }
69
+
70
+ type tiered_overage = {
71
+ semantics: ("GRADUATED" | "VOLUME"),
72
+ tiers: Array[
73
+ Params::tier_band
74
+ ]
75
+ }
76
+
77
+ type app_quota = {
78
+ included_quantity: ::Integer,
79
+ overage_policy: ("NO_OVERAGE_THROTTLE" | "APPLY_FIXED_OVERAGE" | "APPLY_TIERED_OVERAGE")?,
80
+ overage_price: {
81
+ currency_code: ::String,
82
+ amount: ::String
83
+ }?,
84
+ tiered_overage: Params::tiered_overage?,
85
+ max_quantity: ::Integer?
86
+ }
87
+
88
+ type tiered_price = {
89
+ semantics: ("GRADUATED" | "VOLUME"),
90
+ tiers: Array[
91
+ Params::tier_band
92
+ ]
93
+ }
94
+
95
+ type app_tiered_quota = {
96
+ included_quantity: ::Integer,
97
+ tiered_price: Params::tiered_price,
98
+ max_quantity: ::Integer?
99
+ }
100
+
101
+ type app_quota_config = {
102
+ flat: Params::app_quota?,
103
+ tiered: Params::app_tiered_quota?
104
+ }
105
+
106
+ type tier_band = {
107
+ first_unit: ::Integer,
108
+ last_unit: ::Integer?,
109
+ unit_price: {
110
+ currency_code: ::String,
111
+ amount: ::String
112
+ }
113
+ }
114
+
115
+ end
116
+ end
117
+ 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 AppMonetization
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/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