@@ -232,6 +232,89 @@ components:
232
232
- error
233
233
- subscription_arn
234
234
type : object
235
+ SNSPlatformEndpointMessage :
236
+ type : object
237
+ description : Message sent to a platform endpoint via SNS
238
+ additionalProperties : false
239
+ properties :
240
+ TargetArn :
241
+ type : string
242
+ TopicArn :
243
+ type : string
244
+ Message :
245
+ type : string
10000
246
+ MessageAttributes :
247
+ type : object
248
+ MessageStructure :
249
+ type : string
250
+ Subject :
251
+ type : [string, 'null']
252
+ MessageId :
253
+ type : string
254
+ SNSMessage :
255
+ type : object
256
+ description : Message sent via SNS
257
+ properties :
258
+ PhoneNumber :
259
+ type : string
260
+ TopicArn :
261
+ type : [string, 'null']
262
+ SubscriptionArn :
263
+ type : [string, 'null']
264
+ MessageId :
265
+ type : string
266
+ Message :
267
+ type : string
268
+ MessageAttributes :
269
+ type : object
270
+ MessageStructure :
271
+ type : [string, 'null']
272
+ Subject :
273
+ type : [string, 'null']
274
+ SNSPlatformEndpointMessages :
275
+ type : object
276
+ description : |
277
+ Messages sent to the platform endpoint retrieved via the retrospective endpoint.
278
+ The endpoint ARN is the key with a list of messages as value.
279
+ additionalProperties :
280
+ type : array
281
+ items :
282
+ $ref : ' #/components/schemas/SNSPlatformEndpointMessage'
283
+ SMSMessages :
284
+ type : object
285
+ description : |
286
+ SMS messages retrieved via the retrospective endpoint.
287
+ The phone number is the key with a list of messages as value.
288
+ additionalProperties :
289
+ type : array
290
+ items :
291
+ $ref : ' #/components/schemas/SNSMessage'
292
+ SNSPlatformEndpointResponse :
293
+ type : object
294
+ additionalProperties : false
295
+ description : Response payload for the /_aws/sns/platform-endpoint-messages endpoint
296
+ properties :
297
+ region :
298
+ type : string
299
+ description : " The AWS region, e.g., us-east-1"
300
+ platform_endpoint_messages :
301
+ $ref : ' #/components/schemas/SNSPlatformEndpointMessages'
302
+ required :
303
+ - region
304
+ - platform_endpoint_messages
305
+ SNSSMSMessagesResponse :
306
+ type : object
307
+ additionalProperties : false
308
+ description : Response payload for the /_aws/sns/sms-messages endpoint
309
+ properties :
310
+ region :
311
+ type : string
312
+ description : " The AWS region, e.g., us-east-1"
313
+ sms_messages :
314
+ $ref : ' #/components/schemas/SMSMessages'
315
+ required :
316
+ - region
317
+ - sms_messages
235
318
ReceiveMessageRequest :
236
319
type : object
237
320
description : https://github.com/boto/botocore/blob/develop/botocore/data/sqs/2012-11-05/service-2.json
@@ -469,8 +552,8 @@ paths:
469
552
description : List of sent messages
470
553
/_aws/sns/platform-endpoint-messages :
471
554
delete :
472
- description : Discard SNS platform endpoint messages
473
- operationId : discard_sns_messages
555
+ description : Discard the messages published to a platform endpoint via SNS
556
+ operationId : discard_sns_endpoint_messages
474
557
tags : [aws]
475
558
parameters :
476
559
- $ref : ' #/components/parameters/SnsAccountId'
@@ -480,8 +563,8 @@ paths:
480
563
' 204 ' :
481
564
description : Platform endpoint message was discarded
482
565
get :
483
- description : Retrieve SNS platform endpoint messages
484
- operationId : get_sns_messages
566
+ description : Retrieve the messages sent to a platform endpoint via SNS
567
+ operationId : get_sns_endpoint_messages
485
568
tags : [aws]
486
569
parameters :
487
570
- $ref : ' #/components/parameters/SnsAccountId'
@@ -492,17 +575,8 @@ paths:
492
575
content :
493
576
application/json :
494
577
schema :
495
- additionalProperties : false
496
- properties :
497
- platform_endpoint_messages :
498
- type : object
499
- region :
500
- type : string
501
- required :
502
- - platform_endpoint_messages
503
- - region
504
- type : object
505
- description : Platform endpoint messages
578
+ $ref : " #/components/schemas/SNSPlatformEndpointResponse"
579
+ description : SNS messages via retrospective access
506
580
/_aws/sns/sms-messages :
507
581
delete :
508
582
description : Discard SNS SMS messages
@@ -514,8 +588,6 @@ paths:
514
588
- $ref : ' #/components/parameters/SnsPhoneNumber'
515
589
responses :
516
590
' 204 ' :
517
- content :
518
- text/plain : {}
519
591
description : SMS message was discarded
520
592
get :
521
593
description : Retrieve SNS SMS messages
@@ -530,17 +602,8 @@ paths:
530
602
content :
531
603
application/json :
532
604
schema :
533
- additionalProperties : false
534
- properties :
535
- region :
536
- type : string
537
- sms_messages :
538
- type : object
539
- required :
540
- - sms_messages
541
- - region
542
- type : object
543
- description : SNS SMS messages
605
+ $ref : " #/components/schemas/SNSSMSMessagesResponse"
606
+ description : SNS messages via retrospective access
544
607
/_aws/sns/subscription-tokens/{subscription_arn} :
545
608
get :
546
609
description : Retrieve SNS subscription token for confirmation
0 commit comments