Create an AWS SES credential

Creates an AWS SES credential.

SecuritySecretApiKey or JWT
Request
Request Body schema: application/json

AWS SES credential resource.

key
required
string

ID of the AWS access key.

secret
required
string

Secret AWS access key.

region
required
string

AWS region name.

status
string

Status of the credential.

Enum: Description
active

Credential is active and can be used.

inactive

Credential is temporarily inactivated and cannot be used until reactivated.

deactivated

Credential is permanently deactivated and cannot be reactivated.

configurationSetName
string

Name of configuration set from which emails are sent.

Responses
201

AWS SES credential created.

Response Headers
Location
string <uri>

Location of the related resource.

Example: "https://api.rebilly.com/example"
Response Schema: application/json
key
required
string

ID of the AWS access key.

secret
required
string

Secret AWS access key.

region
required
string

AWS region name.

hash
string <= 50 characters

Unique resource ID. Defaults to UUID v4.

status
string

Status of the credential.

Enum: Description
active

Credential is active and can be used.

inactive

Credential is temporarily inactivated and cannot be used until reactivated.

deactivated

Credential is permanently deactivated and cannot be reactivated.

deactivationTime
string <date-time>

Date and time when the credential is deactivated.

configurationSetName
string

Name of configuration set from which emails are sent.

Array of objects (Self) non-empty

Related resource links.

Array (non-empty)
href
required
string

Link URL.

rel
required
string

Type of link.

Value: "self"
303

Existing AWS SES credential retrieved.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

post/credential-hashes/aws-ses
Request samples
application/json
{
  • "status": "active",
  • "key": "BWITYO4UARGDLMFY6UDP",
  • "secret": "8D34yYHOK9+yM7pDnNUO3UTO/5b8Wy/PGNyzTRmG",
  • "region": "us-west-2",
  • "configurationSetName": "SpecialConfigurationSet"
}
Response samples
application/json
{
  • "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "status": "active",
  • "deactivationTime": "2019-08-24T14:15:22Z",
  • "key": "BWITYO4UARGDLMFY6UDP",
  • "secret": "8D34yYHOK9+yM7pDnNUO3UTO/5b8Wy/PGNyzTRmG",
  • "region": "us-west-2",
  • "configurationSetName": "SpecialConfigurationSet",
  • "_links": [
    ]
}