aws-sdk-socialmessaging 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-socialmessaging/client.rb +1118 -0
- data/lib/aws-sdk-socialmessaging/client_api.rb +541 -0
- data/lib/aws-sdk-socialmessaging/customizations.rb +0 -0
- data/lib/aws-sdk-socialmessaging/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-socialmessaging/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-socialmessaging/endpoints.rb +159 -0
- data/lib/aws-sdk-socialmessaging/errors.rb +178 -0
- data/lib/aws-sdk-socialmessaging/plugins/endpoints.rb +108 -0
- data/lib/aws-sdk-socialmessaging/resource.rb +26 -0
- data/lib/aws-sdk-socialmessaging/types.rb +1074 -0
- data/lib/aws-sdk-socialmessaging.rb +61 -0
- data/sig/client.rbs +280 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +305 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
data/sig/types.rbs
ADDED
@@ -0,0 +1,305 @@
|
|
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::SocialMessaging
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedByMetaException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AccessDeniedException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class AssociateWhatsAppBusinessAccountInput
|
22
|
+
attr_accessor signup_callback: Types::WhatsAppSignupCallback
|
23
|
+
attr_accessor setup_finalization: Types::WhatsAppSetupFinalization
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class AssociateWhatsAppBusinessAccountOutput
|
28
|
+
attr_accessor signup_callback_result: Types::WhatsAppSignupCallbackResult
|
29
|
+
attr_accessor status_code: ::Integer
|
30
|
+
SENSITIVE: []
|
31
|
+
end
|
32
|
+
|
33
|
+
class DeleteWhatsAppMessageMediaInput
|
34
|
+
attr_accessor media_id: ::String
|
35
|
+
attr_accessor origination_phone_number_id: ::String
|
36
|
+
SENSITIVE: []
|
37
|
+
end
|
38
|
+
|
39
|
+
class DeleteWhatsAppMessageMediaOutput
|
40
|
+
attr_accessor success: bool
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
44
|
+
class DependencyException
|
45
|
+
attr_accessor message: ::String
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class DisassociateWhatsAppBusinessAccountInput
|
50
|
+
attr_accessor id: ::String
|
51
|
+
SENSITIVE: []
|
52
|
+
end
|
53
|
+
|
54
|
+
class DisassociateWhatsAppBusinessAccountOutput < Aws::EmptyStructure
|
55
|
+
end
|
56
|
+
|
57
|
+
class GetLinkedWhatsAppBusinessAccountInput
|
58
|
+
attr_accessor id: ::String
|
59
|
+
SENSITIVE: []
|
60
|
+
end
|
61
|
+
|
62
|
+
class GetLinkedWhatsAppBusinessAccountOutput
|
63
|
+
attr_accessor account: Types::LinkedWhatsAppBusinessAccount
|
64
|
+
SENSITIVE: []
|
65
|
+
end
|
66
|
+
|
67
|
+
class GetLinkedWhatsAppBusinessAccountPhoneNumberInput
|
68
|
+
attr_accessor id: ::String
|
69
|
+
SENSITIVE: []
|
70
|
+
end
|
71
|
+
|
72
|
+
class GetLinkedWhatsAppBusinessAccountPhoneNumberOutput
|
73
|
+
attr_accessor phone_number: Types::WhatsAppPhoneNumberDetail
|
74
|
+
attr_accessor linked_whats_app_business_account_id: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class GetWhatsAppMessageMediaInput
|
79
|
+
attr_accessor media_id: ::String
|
80
|
+
attr_accessor origination_phone_number_id: ::String
|
81
|
+
attr_accessor metadata_only: bool
|
82
|
+
attr_accessor destination_s3_presigned_url: Types::S3PresignedUrl
|
83
|
+
attr_accessor destination_s3_file: Types::S3File
|
84
|
+
SENSITIVE: [:destination_s3_presigned_url, :destination_s3_file]
|
85
|
+
end
|
86
|
+
|
87
|
+
class GetWhatsAppMessageMediaOutput
|
88
|
+
attr_accessor mime_type: ::String
|
89
|
+
attr_accessor file_size: ::Integer
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class InternalServiceException
|
94
|
+
attr_accessor message: ::String
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class InvalidParametersException
|
99
|
+
attr_accessor message: ::String
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class LinkedWhatsAppBusinessAccount
|
104
|
+
attr_accessor arn: ::String
|
105
|
+
attr_accessor id: ::String
|
106
|
+
attr_accessor waba_id: ::String
|
107
|
+
attr_accessor registration_status: ("COMPLETE" | "INCOMPLETE")
|
108
|
+
attr_accessor link_date: ::Time
|
109
|
+
attr_accessor waba_name: ::String
|
110
|
+
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
111
|
+
attr_accessor phone_numbers: ::Array[Types::WhatsAppPhoneNumberSummary]
|
112
|
+
SENSITIVE: []
|
113
|
+
end
|
114
|
+
|
115
|
+
class LinkedWhatsAppBusinessAccountIdMetaData
|
116
|
+
attr_accessor account_name: ::String
|
117
|
+
attr_accessor registration_status: ("COMPLETE" | "INCOMPLETE")
|
118
|
+
attr_accessor unregistered_whats_app_phone_numbers: ::Array[Types::WhatsAppPhoneNumberDetail]
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class LinkedWhatsAppBusinessAccountSummary
|
123
|
+
attr_accessor arn: ::String
|
124
|
+
attr_accessor id: ::String
|
125
|
+
attr_accessor waba_id: ::String
|
126
|
+
attr_accessor registration_status: ("COMPLETE" | "INCOMPLETE")
|
127
|
+
attr_accessor link_date: ::Time
|
128
|
+
attr_accessor waba_name: ::String
|
129
|
+
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class ListLinkedWhatsAppBusinessAccountsInput
|
134
|
+
attr_accessor next_token: ::String
|
135
|
+
attr_accessor max_results: ::Integer
|
136
|
+
SENSITIVE: []
|
137
|
+
end
|
138
|
+
|
139
|
+
class ListLinkedWhatsAppBusinessAccountsOutput
|
140
|
+
attr_accessor linked_accounts: ::Array[Types::LinkedWhatsAppBusinessAccountSummary]
|
141
|
+
attr_accessor next_token: ::String
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class ListTagsForResourceInput
|
146
|
+
attr_accessor resource_arn: ::String
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class ListTagsForResourceOutput
|
151
|
+
attr_accessor status_code: ::Integer
|
152
|
+
attr_accessor tags: ::Array[Types::Tag]
|
153
|
+
SENSITIVE: []
|
154
|
+
end
|
155
|
+
|
156
|
+
class PostWhatsAppMessageMediaInput
|
157
|
+
attr_accessor origination_phone_number_id: ::String
|
158
|
+
attr_accessor source_s3_presigned_url: Types::S3PresignedUrl
|
159
|
+
attr_accessor source_s3_file: Types::S3File
|
160
|
+
SENSITIVE: [:source_s3_presigned_url, :source_s3_file]
|
161
|
+
end
|
162
|
+
|
163
|
+
class PostWhatsAppMessageMediaOutput
|
164
|
+
attr_accessor media_id: ::String
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class PutWhatsAppBusinessAccountEventDestinationsInput
|
169
|
+
attr_accessor id: ::String
|
170
|
+
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
171
|
+
SENSITIVE: []
|
172
|
+
end
|
173
|
+
|
174
|
+
class PutWhatsAppBusinessAccountEventDestinationsOutput < Aws::EmptyStructure
|
175
|
+
end
|
176
|
+
|
177
|
+
class ResourceNotFoundException
|
178
|
+
attr_accessor message: ::String
|
179
|
+
SENSITIVE: []
|
180
|
+
end
|
181
|
+
|
182
|
+
class S3File
|
183
|
+
attr_accessor bucket_name: ::String
|
184
|
+
attr_accessor key: ::String
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
188
|
+
class S3PresignedUrl
|
189
|
+
attr_accessor url: ::String
|
190
|
+
attr_accessor headers: ::Hash[::String, ::String]
|
191
|
+
SENSITIVE: []
|
192
|
+
end
|
193
|
+
|
194
|
+
class SendWhatsAppMessageInput
|
195
|
+
attr_accessor origination_phone_number_id: ::String
|
196
|
+
attr_accessor message: ::String
|
197
|
+
attr_accessor meta_api_version: ::String
|
198
|
+
SENSITIVE: [:message]
|
199
|
+
end
|
200
|
+
|
201
|
+
class SendWhatsAppMessageOutput
|
202
|
+
attr_accessor message_id: ::String
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class Tag
|
207
|
+
attr_accessor key: ::String
|
208
|
+
attr_accessor value: ::String
|
209
|
+
SENSITIVE: []
|
210
|
+
end
|
211
|
+
|
212
|
+
class TagResourceInput
|
213
|
+
attr_accessor resource_arn: ::String
|
214
|
+
attr_accessor tags: ::Array[Types::Tag]
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class TagResourceOutput
|
219
|
+
attr_accessor status_code: ::Integer
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class ThrottledRequestException
|
224
|
+
attr_accessor message: ::String
|
225
|
+
SENSITIVE: []
|
226
|
+
end
|
227
|
+
|
228
|
+
class UntagResourceInput
|
229
|
+
attr_accessor resource_arn: ::String
|
230
|
+
attr_accessor tag_keys: ::Array[::String]
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class UntagResourceOutput
|
235
|
+
attr_accessor status_code: ::Integer
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
239
|
+
class ValidationException
|
240
|
+
attr_accessor message: ::String
|
241
|
+
SENSITIVE: []
|
242
|
+
end
|
243
|
+
|
244
|
+
class WabaPhoneNumberSetupFinalization
|
245
|
+
attr_accessor id: ::String
|
246
|
+
attr_accessor two_factor_pin: ::String
|
247
|
+
attr_accessor data_localization_region: ::String
|
248
|
+
attr_accessor tags: ::Array[Types::Tag]
|
249
|
+
SENSITIVE: [:two_factor_pin]
|
250
|
+
end
|
251
|
+
|
252
|
+
class WabaSetupFinalization
|
253
|
+
attr_accessor id: ::String
|
254
|
+
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
255
|
+
attr_accessor tags: ::Array[Types::Tag]
|
256
|
+
SENSITIVE: []
|
257
|
+
end
|
258
|
+
|
259
|
+
class WhatsAppBusinessAccountEventDestination
|
260
|
+
attr_accessor event_destination_arn: ::String
|
261
|
+
SENSITIVE: []
|
262
|
+
end
|
263
|
+
|
264
|
+
class WhatsAppPhoneNumberDetail
|
265
|
+
attr_accessor arn: ::String
|
266
|
+
attr_accessor phone_number: ::String
|
267
|
+
attr_accessor phone_number_id: ::String
|
268
|
+
attr_accessor meta_phone_number_id: ::String
|
269
|
+
attr_accessor display_phone_number_name: ::String
|
270
|
+
attr_accessor display_phone_number: ::String
|
271
|
+
attr_accessor quality_rating: ::String
|
272
|
+
SENSITIVE: []
|
273
|
+
end
|
274
|
+
|
275
|
+
class WhatsAppPhoneNumberSummary
|
276
|
+
attr_accessor arn: ::String
|
277
|
+
attr_accessor phone_number: ::String
|
278
|
+
attr_accessor phone_number_id: ::String
|
279
|
+
attr_accessor meta_phone_number_id: ::String
|
280
|
+
attr_accessor display_phone_number_name: ::String
|
281
|
+
attr_accessor display_phone_number: ::String
|
282
|
+
attr_accessor quality_rating: ::String
|
283
|
+
SENSITIVE: []
|
284
|
+
end
|
285
|
+
|
286
|
+
class WhatsAppSetupFinalization
|
287
|
+
attr_accessor associate_in_progress_token: ::String
|
288
|
+
attr_accessor phone_numbers: ::Array[Types::WabaPhoneNumberSetupFinalization]
|
289
|
+
attr_accessor phone_number_parent: ::String
|
290
|
+
attr_accessor waba: Types::WabaSetupFinalization
|
291
|
+
SENSITIVE: [:associate_in_progress_token]
|
292
|
+
end
|
293
|
+
|
294
|
+
class WhatsAppSignupCallback
|
295
|
+
attr_accessor access_token: ::String
|
296
|
+
SENSITIVE: []
|
297
|
+
end
|
298
|
+
|
299
|
+
class WhatsAppSignupCallbackResult
|
300
|
+
attr_accessor associate_in_progress_token: ::String
|
301
|
+
attr_accessor linked_accounts_with_incomplete_setup: ::Hash[::String, Types::LinkedWhatsAppBusinessAccountIdMetaData]
|
302
|
+
SENSITIVE: [:associate_in_progress_token]
|
303
|
+
end
|
304
|
+
end
|
305
|
+
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 SocialMessaging
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aws-sdk-socialmessaging
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Amazon Web Services
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.207.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.207.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: aws-sigv4
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.5'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.5'
|
47
|
+
description: Official AWS Ruby gem for AWS End User Messaging Social. This gem is
|
48
|
+
part of the AWS SDK for Ruby.
|
49
|
+
email:
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
58
|
+
- lib/aws-sdk-socialmessaging.rb
|
59
|
+
- lib/aws-sdk-socialmessaging/client.rb
|
60
|
+
- lib/aws-sdk-socialmessaging/client_api.rb
|
61
|
+
- lib/aws-sdk-socialmessaging/customizations.rb
|
62
|
+
- lib/aws-sdk-socialmessaging/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-socialmessaging/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-socialmessaging/endpoints.rb
|
65
|
+
- lib/aws-sdk-socialmessaging/errors.rb
|
66
|
+
- lib/aws-sdk-socialmessaging/plugins/endpoints.rb
|
67
|
+
- lib/aws-sdk-socialmessaging/resource.rb
|
68
|
+
- lib/aws-sdk-socialmessaging/types.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-socialmessaging
|
79
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-socialmessaging/CHANGELOG.md
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.5'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: AWS SDK for Ruby - AWS End User Messaging Social
|
99
|
+
test_files: []
|