Skip to content

Commit

Permalink
Update latest OpenAPI spec (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 5, 2024
1 parent 1b87788 commit 8490939
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions openapi/emulators/localstack-spec-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ servers:
default: localhost.localstack.cloud
components:
parameters:
SesMessageId:
description: ID of the message (`id` field of SES message)
SesIdFilter:
description: Filter for the `id` field in SES message
in: query
name: id
required: false
schema:
type: string
SesEmailFilter:
description: Filter for the `source` field in SES message
in: query
name: email
required: false
schema:
type: string
SnsAccountId:
description: '`accountId` field of the resource'
in: query
Expand Down Expand Up @@ -131,6 +138,26 @@ components:
- completed
- scripts
type: object
SESDestination:
type: object
description: Possible destination of a SES message
properties:
ToAddresses:
type: array
items:
type: string
format: email
CcAddresses:
type: array
items:
type: string
format: email
BccAddresses:
type: array
items:
type: string
format: email
additionalProperties: false
SesSentEmail:
additionalProperties: false
properties:
Expand All @@ -146,7 +173,7 @@ components:
- text_part
type: object
Destination:
type: string
$ref: '#/components/schemas/SESDestination'
Id:
type: string
RawData:
Expand All @@ -167,13 +194,7 @@ components:
- Id
- Region
- Timestamp
- Destination
- RawData
- Source
- Subject
- Template
- TemplateData
- Body
type: object
SessionInfo:
additionalProperties: false
Expand Down Expand Up @@ -624,7 +645,7 @@ paths:
tags:
- aws
parameters:
- $ref: '#/components/parameters/SesMessageId'
- $ref: '#/components/parameters/SesIdFilter'
responses:
'204':
description: Message was successfully discarded
Expand All @@ -634,13 +655,8 @@ paths:
tags:
- aws
parameters:
- $ref: '#/components/parameters/SesMessageId'
- description: Source of the message (`source` field of SES message)
in: query
name: email
required: false
schema:
type: string
- $ref: '#/components/parameters/SesIdFilter'
- $ref: '#/components/parameters/SesEmailFilter'
responses:
'200':
content:
Expand Down Expand Up @@ -791,7 +807,9 @@ paths:
responses:
'200':
content:
text/xml: {}
text/xml:
schema:
$ref: '#/components/schemas/ReceiveMessageResult'
application/json:
schema:
$ref: '#/components/schemas/ReceiveMessageResult'
Expand Down

0 comments on commit 8490939

Please sign in to comment.