aws-sdk-sns 1.60.0 → 1.96.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,119 @@
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 SNS
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AuthorizationErrorException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BatchEntryIdsNotDistinctException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class BatchRequestTooLongException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ConcurrentAccessException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class EmptyBatchRequestException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class EndpointDisabledException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class FilterPolicyLimitExceededException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class InternalErrorException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class InvalidBatchEntryIdException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ class InvalidParameterException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class InvalidParameterValueException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ class InvalidSecurityException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ end
50
+ class InvalidStateException < ::Aws::Errors::ServiceError
51
+ def message: () -> ::String
52
+ end
53
+ class KMSAccessDeniedException < ::Aws::Errors::ServiceError
54
+ def message: () -> ::String
55
+ end
56
+ class KMSDisabledException < ::Aws::Errors::ServiceError
57
+ def message: () -> ::String
58
+ end
59
+ class KMSInvalidStateException < ::Aws::Errors::ServiceError
60
+ def message: () -> ::String
61
+ end
62
+ class KMSNotFoundException < ::Aws::Errors::ServiceError
63
+ def message: () -> ::String
64
+ end
65
+ class KMSOptInRequired < ::Aws::Errors::ServiceError
66
+ def message: () -> ::String
67
+ end
68
+ class KMSThrottlingException < ::Aws::Errors::ServiceError
69
+ def message: () -> ::String
70
+ end
71
+ class NotFoundException < ::Aws::Errors::ServiceError
72
+ def message: () -> ::String
73
+ end
74
+ class OptedOutException < ::Aws::Errors::ServiceError
75
+ def message: () -> ::String
76
+ end
77
+ class PlatformApplicationDisabledException < ::Aws::Errors::ServiceError
78
+ def message: () -> ::String
79
+ end
80
+ class ReplayLimitExceededException < ::Aws::Errors::ServiceError
81
+ def message: () -> ::String
82
+ end
83
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
84
+ def message: () -> ::String
85
+ end
86
+ class StaleTagException < ::Aws::Errors::ServiceError
87
+ def message: () -> ::String
88
+ end
89
+ class SubscriptionLimitExceededException < ::Aws::Errors::ServiceError
90
+ def message: () -> ::String
91
+ end
92
+ class TagLimitExceededException < ::Aws::Errors::ServiceError
93
+ def message: () -> ::String
94
+ end
95
+ class TagPolicyException < ::Aws::Errors::ServiceError
96
+ def message: () -> ::String
97
+ end
98
+ class ThrottledException < ::Aws::Errors::ServiceError
99
+ def message: () -> ::String
100
+ end
101
+ class TooManyEntriesInBatchRequestException < ::Aws::Errors::ServiceError
102
+ def message: () -> ::String
103
+ end
104
+ class TopicLimitExceededException < ::Aws::Errors::ServiceError
105
+ def message: () -> ::String
106
+ end
107
+ class UserErrorException < ::Aws::Errors::ServiceError
108
+ def message: () -> ::String
109
+ end
110
+ class ValidationException < ::Aws::Errors::ServiceError
111
+ def message: () -> ::String
112
+ end
113
+ class VerificationException < ::Aws::Errors::ServiceError
114
+ def message: () -> ::String
115
+ def status: () -> ::String
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,64 @@
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 SNS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html
11
+ class PlatformApplication
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#arn-instance_method
18
+ def arn: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#attributes-instance_method
21
+ def attributes: () -> ::Hash[::String, ::String]
22
+
23
+ def client: () -> Client
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#load-instance_method
26
+ def load: () -> self
27
+ alias reload load
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#data-instance_method
30
+ def data: () -> Types::GetPlatformApplicationAttributesResponse
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#data_loaded?-instance_method
33
+ def data_loaded?: () -> bool
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#create_platform_endpoint-instance_method
37
+ def create_platform_endpoint: (
38
+ token: ::String,
39
+ ?custom_user_data: ::String,
40
+ ?attributes: Hash[::String, ::String]
41
+ ) -> PlatformEndpoint
42
+ | (?Hash[Symbol, untyped]) -> PlatformEndpoint
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#delete-instance_method
45
+ def delete: (
46
+ ) -> ::Aws::EmptyStructure
47
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
48
+
49
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#set_attributes-instance_method
50
+ def set_attributes: (
51
+ attributes: Hash[::String, ::String]
52
+ ) -> ::Aws::EmptyStructure
53
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
54
+
55
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformApplication.html#endpoints-instance_method
56
+ def endpoints: (
57
+ ) -> PlatformEndpoint::Collection
58
+ | (?Hash[Symbol, untyped]) -> PlatformEndpoint::Collection
59
+
60
+ class Collection < ::Aws::Resources::Collection[PlatformApplication]
61
+ end
62
+ end
63
+ end
64
+ end
@@ -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 SNS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html
11
+ class PlatformEndpoint
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#arn-instance_method
18
+ def arn: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#attributes-instance_method
21
+ def attributes: () -> ::Hash[::String, ::String]
22
+
23
+ def client: () -> Client
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#load-instance_method
26
+ def load: () -> self
27
+ alias reload load
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#data-instance_method
30
+ def data: () -> Types::GetEndpointAttributesResponse
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#data_loaded?-instance_method
33
+ def data_loaded?: () -> bool
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#delete-instance_method
37
+ def delete: (
38
+ ) -> ::Aws::EmptyStructure
39
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#publish-instance_method
42
+ def publish: (
43
+ ?topic_arn: ::String,
44
+ ?phone_number: ::String,
45
+ message: ::String,
46
+ ?subject: ::String,
47
+ ?message_structure: ::String,
48
+ ?message_attributes: Hash[::String, {
49
+ data_type: ::String,
50
+ string_value: ::String?,
51
+ binary_value: ::String?
52
+ }],
53
+ ?message_deduplication_id: ::String,
54
+ ?message_group_id: ::String
55
+ ) -> Types::PublishResponse
56
+ | (?Hash[Symbol, untyped]) -> Types::PublishResponse
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/PlatformEndpoint.html#set_attributes-instance_method
59
+ def set_attributes: (
60
+ attributes: Hash[::String, ::String]
61
+ ) -> ::Aws::EmptyStructure
62
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
63
+
64
+ class Collection < ::Aws::Resources::Collection[PlatformEndpoint]
65
+ end
66
+ end
67
+ end
68
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,133 @@
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 SNS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/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_checksum_calculation: String,
43
+ ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?sigv4a_signing_region_set: Array[String],
55
+ ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
57
+ ?token_provider: untyped,
58
+ ?use_dualstack_endpoint: bool,
59
+ ?use_fips_endpoint: bool,
60
+ ?validate_params: bool,
61
+ ?endpoint_provider: untyped,
62
+ ?http_proxy: String,
63
+ ?http_open_timeout: (Float | Integer),
64
+ ?http_read_timeout: (Float | Integer),
65
+ ?http_idle_timeout: (Float | Integer),
66
+ ?http_continue_timeout: (Float | Integer),
67
+ ?ssl_timeout: (Float | Integer | nil),
68
+ ?http_wire_trace: bool,
69
+ ?ssl_verify_peer: bool,
70
+ ?ssl_ca_bundle: String,
71
+ ?ssl_ca_directory: String,
72
+ ?ssl_ca_store: String,
73
+ ?on_chunk_received: Proc,
74
+ ?on_chunk_sent: Proc,
75
+ ?raise_response_errors: bool
76
+ ) -> void
77
+ | (?Hash[Symbol, untyped]) -> void
78
+
79
+ def client: () -> Client
80
+
81
+
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#create_platform_application-instance_method
83
+ def create_platform_application: (
84
+ name: ::String,
85
+ platform: ::String,
86
+ attributes: Hash[::String, ::String]
87
+ ) -> PlatformApplication
88
+ | (?Hash[Symbol, untyped]) -> PlatformApplication
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#create_topic-instance_method
91
+ def create_topic: (
92
+ name: ::String,
93
+ ?attributes: Hash[::String, ::String],
94
+ ?tags: Array[
95
+ {
96
+ key: ::String,
97
+ value: ::String
98
+ },
99
+ ],
100
+ ?data_protection_policy: ::String
101
+ ) -> Topic
102
+ | (?Hash[Symbol, untyped]) -> Topic
103
+
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#platform_application-instance_method
106
+ def platform_application: (String arn) -> PlatformApplication
107
+
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#platform_applications-instance_method
109
+ def platform_applications: (
110
+ ) -> PlatformApplication::Collection
111
+ | (?Hash[Symbol, untyped]) -> PlatformApplication::Collection
112
+
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#platform_endpoint-instance_method
114
+ def platform_endpoint: (String arn) -> PlatformEndpoint
115
+
116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#subscription-instance_method
117
+ def subscription: (String arn) -> Subscription
118
+
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#subscriptions-instance_method
120
+ def subscriptions: (
121
+ ) -> Subscription::Collection
122
+ | (?Hash[Symbol, untyped]) -> Subscription::Collection
123
+
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#topic-instance_method
125
+ def topic: (String arn) -> Topic
126
+
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html#topics-instance_method
128
+ def topics: (
129
+ ) -> Topic::Collection
130
+ | (?Hash[Symbol, untyped]) -> Topic::Collection
131
+ end
132
+ end
133
+ end
@@ -0,0 +1,52 @@
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 SNS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html
11
+ class Subscription
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#arn-instance_method
18
+ def arn: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#attributes-instance_method
21
+ def attributes: () -> ::Hash[::String, ::String]
22
+
23
+ def client: () -> Client
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#load-instance_method
26
+ def load: () -> self
27
+ alias reload load
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#data-instance_method
30
+ def data: () -> Types::GetSubscriptionAttributesResponse
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#data_loaded?-instance_method
33
+ def data_loaded?: () -> bool
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#delete-instance_method
37
+ def delete: (
38
+ ) -> ::Aws::EmptyStructure
39
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Subscription.html#set_attributes-instance_method
42
+ def set_attributes: (
43
+ attribute_name: ::String,
44
+ ?attribute_value: ::String
45
+ ) -> ::Aws::EmptyStructure
46
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
47
+
48
+ class Collection < ::Aws::Resources::Collection[Subscription]
49
+ end
50
+ end
51
+ end
52
+ end
data/sig/topic.rbs ADDED
@@ -0,0 +1,104 @@
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 SNS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html
11
+ class Topic
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#arn-instance_method
18
+ def arn: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#attributes-instance_method
21
+ def attributes: () -> ::Hash[::String, ::String]
22
+
23
+ def client: () -> Client
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#load-instance_method
26
+ def load: () -> self
27
+ alias reload load
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#data-instance_method
30
+ def data: () -> Types::GetTopicAttributesResponse
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#data_loaded?-instance_method
33
+ def data_loaded?: () -> bool
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#add_permission-instance_method
37
+ def add_permission: (
38
+ label: ::String,
39
+ aws_account_id: Array[::String],
40
+ action_name: Array[::String]
41
+ ) -> ::Aws::EmptyStructure
42
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#confirm_subscription-instance_method
45
+ def confirm_subscription: (
46
+ token: ::String,
47
+ ?authenticate_on_unsubscribe: ::String
48
+ ) -> Subscription
49
+ | (?Hash[Symbol, untyped]) -> Subscription
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#delete-instance_method
52
+ def delete: (
53
+ ) -> ::Aws::EmptyStructure
54
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#publish-instance_method
57
+ def publish: (
58
+ ?target_arn: ::String,
59
+ ?phone_number: ::String,
60
+ message: ::String,
61
+ ?subject: ::String,
62
+ ?message_structure: ::String,
63
+ ?message_attributes: Hash[::String, {
64
+ data_type: ::String,
65
+ string_value: ::String?,
66
+ binary_value: ::String?
67
+ }],
68
+ ?message_deduplication_id: ::String,
69
+ ?message_group_id: ::String
70
+ ) -> Types::PublishResponse
71
+ | (?Hash[Symbol, untyped]) -> Types::PublishResponse
72
+
73
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#remove_permission-instance_method
74
+ def remove_permission: (
75
+ label: ::String
76
+ ) -> ::Aws::EmptyStructure
77
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
78
+
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#set_attributes-instance_method
80
+ def set_attributes: (
81
+ attribute_name: ::String,
82
+ ?attribute_value: ::String
83
+ ) -> ::Aws::EmptyStructure
84
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
85
+
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#subscribe-instance_method
87
+ def subscribe: (
88
+ protocol: ::String,
89
+ ?endpoint: ::String,
90
+ ?attributes: Hash[::String, ::String],
91
+ ?return_subscription_arn: bool
92
+ ) -> Subscription
93
+ | (?Hash[Symbol, untyped]) -> Subscription
94
+
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Topic.html#subscriptions-instance_method
96
+ def subscriptions: (
97
+ ) -> Subscription::Collection
98
+ | (?Hash[Symbol, untyped]) -> Subscription::Collection
99
+
100
+ class Collection < ::Aws::Resources::Collection[Topic]
101
+ end
102
+ end
103
+ end
104
+ end