aws-sdk-abusesignal 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-abusesignal/client.rb +866 -0
- data/lib/aws-sdk-abusesignal/client_api.rb +202 -0
- data/lib/aws-sdk-abusesignal/customizations.rb +0 -0
- data/lib/aws-sdk-abusesignal/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-abusesignal/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-abusesignal/endpoints.rb +20 -0
- data/lib/aws-sdk-abusesignal/errors.rb +197 -0
- data/lib/aws-sdk-abusesignal/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-abusesignal/resource.rb +26 -0
- data/lib/aws-sdk-abusesignal/types.rb +531 -0
- data/lib/aws-sdk-abusesignal/waiters.rb +133 -0
- data/lib/aws-sdk-abusesignal.rb +62 -0
- data/sig/client.rbs +135 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +128 -0
- data/sig/waiters.rbs +23 -0
- metadata +97 -0
|
@@ -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(:abusesignal)
|
|
15
|
+
|
|
16
|
+
# This module provides support for AWS Abuse Signal API. This module is available in the
|
|
17
|
+
# `aws-sdk-abusesignal` 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
|
+
# abuse_signal = Aws::AbuseSignal::Client.new
|
|
26
|
+
# resp = abuse_signal.create_abuse_report(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from AWS Abuse Signal API are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::AbuseSignal::Errors::ServiceError
|
|
38
|
+
# # rescues all AWS Abuse Signal API API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::AbuseSignal
|
|
45
|
+
autoload :Types, 'aws-sdk-abusesignal/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-abusesignal/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-abusesignal/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-abusesignal/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-abusesignal/errors'
|
|
52
|
+
autoload :Waiters, 'aws-sdk-abusesignal/waiters'
|
|
53
|
+
autoload :Resource, 'aws-sdk-abusesignal/resource'
|
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-abusesignal/endpoint_parameters'
|
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-abusesignal/endpoint_provider'
|
|
56
|
+
autoload :Endpoints, 'aws-sdk-abusesignal/endpoints'
|
|
57
|
+
|
|
58
|
+
GEM_VERSION = '1.0.0'
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
require_relative 'aws-sdk-abusesignal/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
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 AbuseSignal
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/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 _CreateAbuseReportResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAbuseReportResponse]
|
|
84
|
+
def report_id: () -> ::String
|
|
85
|
+
def correlation_id: () -> ::String
|
|
86
|
+
end
|
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/Client.html#create_abuse_report-instance_method
|
|
88
|
+
def create_abuse_report: (
|
|
89
|
+
report: {
|
|
90
|
+
xarf: {
|
|
91
|
+
}?
|
|
92
|
+
},
|
|
93
|
+
?correlation_id: ::String,
|
|
94
|
+
?client_token: ::String
|
|
95
|
+
) -> _CreateAbuseReportResponseSuccess
|
|
96
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAbuseReportResponseSuccess
|
|
97
|
+
|
|
98
|
+
interface _GetAbuseReportStatusResponseSuccess
|
|
99
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAbuseReportStatusResponse]
|
|
100
|
+
def report_id: () -> ::String
|
|
101
|
+
def correlation_id: () -> ::String
|
|
102
|
+
def status: () -> ("QUEUED" | "PROCESSING" | "COMPLETED")
|
|
103
|
+
def description: () -> ::String
|
|
104
|
+
def reason_code: () -> ("ACTIONED" | "NOT_RESOLVABLE_TO_AWS" | "REVIEWED_NO_AWS_ACTION" | "CONTENT_DOWN_OR_INACCESSIBLE" | "NEED_MORE_INFORMATION")
|
|
105
|
+
def submitted_at: () -> ::Time
|
|
106
|
+
def last_updated_at: () -> ::Time
|
|
107
|
+
end
|
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/Client.html#get_abuse_report_status-instance_method
|
|
109
|
+
def get_abuse_report_status: (
|
|
110
|
+
report_id: ::String
|
|
111
|
+
) -> _GetAbuseReportStatusResponseSuccess
|
|
112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAbuseReportStatusResponseSuccess
|
|
113
|
+
|
|
114
|
+
interface _ListAbuseReportStatusesResponseSuccess
|
|
115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAbuseReportStatusesResponse]
|
|
116
|
+
def reports: () -> ::Array[Types::ReportStatusListItem]
|
|
117
|
+
def next_token: () -> ::String
|
|
118
|
+
end
|
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/Client.html#list_abuse_report_statuses-instance_method
|
|
120
|
+
def list_abuse_report_statuses: (
|
|
121
|
+
?correlation_id: ::String,
|
|
122
|
+
?next_token: ::String,
|
|
123
|
+
?max_results: ::Integer
|
|
124
|
+
) -> _ListAbuseReportStatusesResponseSuccess
|
|
125
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAbuseReportStatusesResponseSuccess
|
|
126
|
+
|
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/Client.html#wait_until-instance_method
|
|
128
|
+
def wait_until: (:report_processing waiter_name,
|
|
129
|
+
report_id: ::String
|
|
130
|
+
) -> Client::_GetAbuseReportStatusResponseSuccess
|
|
131
|
+
| (:report_processing waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetAbuseReportStatusResponseSuccess
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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 AbuseSignal
|
|
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
|
+
end
|
|
20
|
+
class InternalServerException < ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
def retry_after_seconds: () -> ::String
|
|
23
|
+
end
|
|
24
|
+
class ResourceNotFoundException < ServiceError
|
|
25
|
+
def message: () -> ::String
|
|
26
|
+
def resource_id: () -> ::String
|
|
27
|
+
end
|
|
28
|
+
class SubmissionRequirementException < ServiceError
|
|
29
|
+
def message: () -> ::String
|
|
30
|
+
def unmet_requirements: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ThrottlingException < ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
def service_code: () -> ::String
|
|
35
|
+
def quota_code: () -> ::String
|
|
36
|
+
def retry_after_seconds: () -> ::String
|
|
37
|
+
end
|
|
38
|
+
class ValidationException < ServiceError
|
|
39
|
+
def message: () -> ::String
|
|
40
|
+
def field_list: () -> ::String
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
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 AbuseSignal
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AbuseSignal/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,128 @@
|
|
|
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::AbuseSignal
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class ConflictException
|
|
17
|
+
attr_accessor message: ::String
|
|
18
|
+
SENSITIVE: []
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class CreateAbuseReportRequest
|
|
22
|
+
attr_accessor report: Types::ReportData
|
|
23
|
+
attr_accessor correlation_id: ::String
|
|
24
|
+
attr_accessor client_token: ::String
|
|
25
|
+
SENSITIVE: [:report]
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
class CreateAbuseReportResponse
|
|
29
|
+
attr_accessor report_id: ::String
|
|
30
|
+
attr_accessor correlation_id: ::String
|
|
31
|
+
SENSITIVE: []
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class GetAbuseReportStatusRequest
|
|
35
|
+
attr_accessor report_id: ::String
|
|
36
|
+
SENSITIVE: []
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class GetAbuseReportStatusResponse
|
|
40
|
+
attr_accessor report_id: ::String
|
|
41
|
+
attr_accessor correlation_id: ::String
|
|
42
|
+
attr_accessor status: ("QUEUED" | "PROCESSING" | "COMPLETED")
|
|
43
|
+
attr_accessor description: ::String
|
|
44
|
+
attr_accessor reason_code: ("ACTIONED" | "NOT_RESOLVABLE_TO_AWS" | "REVIEWED_NO_AWS_ACTION" | "CONTENT_DOWN_OR_INACCESSIBLE" | "NEED_MORE_INFORMATION")
|
|
45
|
+
attr_accessor submitted_at: ::Time
|
|
46
|
+
attr_accessor last_updated_at: ::Time
|
|
47
|
+
SENSITIVE: []
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
class InternalServerException
|
|
51
|
+
attr_accessor message: ::String
|
|
52
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
53
|
+
SENSITIVE: []
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class ListAbuseReportStatusesRequest
|
|
57
|
+
attr_accessor correlation_id: ::String
|
|
58
|
+
attr_accessor next_token: ::String
|
|
59
|
+
attr_accessor max_results: ::Integer
|
|
60
|
+
SENSITIVE: []
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
class ListAbuseReportStatusesResponse
|
|
64
|
+
attr_accessor reports: ::Array[Types::ReportStatusListItem]
|
|
65
|
+
attr_accessor next_token: ::String
|
|
66
|
+
SENSITIVE: []
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
class ReportData
|
|
70
|
+
attr_accessor xarf: untyped
|
|
71
|
+
attr_accessor unknown: untyped
|
|
72
|
+
SENSITIVE: []
|
|
73
|
+
|
|
74
|
+
class Xarf < ReportData
|
|
75
|
+
end
|
|
76
|
+
class Unknown < ReportData
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
class ReportStatusListItem
|
|
81
|
+
attr_accessor report_id: ::String
|
|
82
|
+
attr_accessor correlation_id: ::String
|
|
83
|
+
attr_accessor status: ("QUEUED" | "PROCESSING" | "COMPLETED")
|
|
84
|
+
attr_accessor description: ::String
|
|
85
|
+
attr_accessor reason_code: ("ACTIONED" | "NOT_RESOLVABLE_TO_AWS" | "REVIEWED_NO_AWS_ACTION" | "CONTENT_DOWN_OR_INACCESSIBLE" | "NEED_MORE_INFORMATION")
|
|
86
|
+
SENSITIVE: []
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
class ResourceNotFoundException
|
|
90
|
+
attr_accessor message: ::String
|
|
91
|
+
attr_accessor resource_id: ::String
|
|
92
|
+
SENSITIVE: []
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class SubmissionRequirement
|
|
96
|
+
attr_accessor code: ::String
|
|
97
|
+
attr_accessor path: ::String
|
|
98
|
+
attr_accessor message: ::String
|
|
99
|
+
SENSITIVE: []
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
class SubmissionRequirementException
|
|
103
|
+
attr_accessor message: ::String
|
|
104
|
+
attr_accessor unmet_requirements: ::Array[Types::SubmissionRequirement]
|
|
105
|
+
SENSITIVE: []
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class ThrottlingException
|
|
109
|
+
attr_accessor message: ::String
|
|
110
|
+
attr_accessor service_code: ::String
|
|
111
|
+
attr_accessor quota_code: ::String
|
|
112
|
+
attr_accessor retry_after_seconds: ::Integer
|
|
113
|
+
SENSITIVE: []
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
class ValidationException
|
|
117
|
+
attr_accessor message: ::String
|
|
118
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
|
119
|
+
SENSITIVE: []
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
class ValidationExceptionField
|
|
123
|
+
attr_accessor path: ::String
|
|
124
|
+
attr_accessor message: ::String
|
|
125
|
+
SENSITIVE: []
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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 AbuseSignal
|
|
10
|
+
module Waiters
|
|
11
|
+
|
|
12
|
+
class ReportProcessing
|
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
15
|
+
|
|
16
|
+
def wait: (
|
|
17
|
+
report_id: ::String
|
|
18
|
+
) -> Client::_GetAbuseReportStatusResponseSuccess
|
|
19
|
+
| (Hash[Symbol, untyped]) -> Client::_GetAbuseReportStatusResponseSuccess
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aws-sdk-abusesignal
|
|
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.270.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.270.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 AWS Abuse Signal API. This gem is part of the
|
|
47
|
+
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-abusesignal.rb
|
|
58
|
+
- lib/aws-sdk-abusesignal/client.rb
|
|
59
|
+
- lib/aws-sdk-abusesignal/client_api.rb
|
|
60
|
+
- lib/aws-sdk-abusesignal/customizations.rb
|
|
61
|
+
- lib/aws-sdk-abusesignal/endpoint_parameters.rb
|
|
62
|
+
- lib/aws-sdk-abusesignal/endpoint_provider.rb
|
|
63
|
+
- lib/aws-sdk-abusesignal/endpoints.rb
|
|
64
|
+
- lib/aws-sdk-abusesignal/errors.rb
|
|
65
|
+
- lib/aws-sdk-abusesignal/plugins/endpoints.rb
|
|
66
|
+
- lib/aws-sdk-abusesignal/resource.rb
|
|
67
|
+
- lib/aws-sdk-abusesignal/types.rb
|
|
68
|
+
- lib/aws-sdk-abusesignal/waiters.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
- sig/waiters.rbs
|
|
74
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
|
75
|
+
licenses:
|
|
76
|
+
- Apache-2.0
|
|
77
|
+
metadata:
|
|
78
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-abusesignal
|
|
79
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-abusesignal/CHANGELOG.md
|
|
80
|
+
rdoc_options: []
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '2.7'
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
|
+
requirements:
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: '0'
|
|
93
|
+
requirements: []
|
|
94
|
+
rubygems_version: 3.6.7
|
|
95
|
+
specification_version: 4
|
|
96
|
+
summary: AWS SDK for Ruby - AWS Abuse Signal API
|
|
97
|
+
test_files: []
|