AWS ses: Update ListEmailIdentities to POST with filter body
Summary
Changes the API from GET with URI parameters to POST with a JSON request body, adding a Filter map (IDENTITY_NAME_CONTAINS, IDENTITY_TYPE, VERIFICATION_STATUS) plus NextToken and PageSize body fields.
Security assessment
API shape change only; no security feature or vulnerability addressed.
Evidence
+ POST /v2/email/list-identities HTTP/1.1
Diff
diff --git a/ses/latest/APIReference-V2/API_ListEmailIdentities.md b/ses/latest/APIReference-V2/API_ListEmailIdentities.md index 74c3783..a334ec0 100644 --- a//ses/latest/APIReference-V2/API_ListEmailIdentities.md +++ b//ses/latest/APIReference-V2/API_ListEmailIdentities.md @@ -16 +16,2 @@ Returns a list of all of the email identities that are associated with your AWS - GET /v2/email/identities?NextToken=NextToken&PageSize=PageSize HTTP/1.1 + POST /v2/email/list-identities HTTP/1.1 + Content-type: application/json @@ -17,0 +19,7 @@ Returns a list of all of the email identities that are associated with your AWS + { + "Filter": { + "string" : "string" + }, + "NextToken": "string", + "PageSize": number + } @@ -21 +29,18 @@ Returns a list of all of the email identities that are associated with your AWS -The request uses the following URI parameters. +The request does not use any URI parameters. + +## Request Body + +The request accepts the following data in JSON format. + +**Filter ** + + +An object that contains filters to apply when listing email identities. You can filter by identity name, identity type, or verification status. + +Type: String to string map + +Valid Keys: `IDENTITY_NAME_CONTAINS | IDENTITY_TYPE | VERIFICATION_STATUS` + +Value Length Constraints: Minimum length of 1. + +Required: No @@ -27,0 +53,4 @@ A token returned from a previous call to `ListEmailIdentities` to indicate the p +Type: String + +Required: No + @@ -35 +64 @@ The value you specify has to be at least 0, and can be no more than 1000. -## Request Body +Type: Integer @@ -37 +66 @@ The value you specify has to be at least 0, and can be no more than 1000. -The request does not have a request body. +Required: No