ConfigSetUpdate

Updated at:

Updates a configuration set.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dm:ConfigSetUpdate

update

*All Resource

*

None None

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Id

string

No

The ID of the configuration set. This parameter is required.

a3xxxfee-f95e-459c-a15e-fd5xxxxxx1ba

Name

string

No

The name of the configuration set. This parameter is required. The name can be up to 50 characters in length and must be unique.

demo-config

IpPoolId

string

No

The ID of the associated IP pool. This parameter is optional.

55xxxcff-ff22-4c00-854b-8997xxxxxx3a

Description

string

No

The description of the configuration set. The description can be up to 50 characters in length.

This is a sample configuration set

IsPublicChannelBackoff

boolean

No

Specifies whether to fall back to the public channel for sending when an issue occurs with the associated dedicated IP pool.

  • true: Falls back. The system excludes dedicated IPs that are throttled or blacklisted by the destination mailbox provider during each delivery attempt, and prioritizes other available IPs in the pool. If all IPs in the pool are throttled or blacklisted by the provider, the system automatically switches to the public channel to ensure delivery success. The system automatically resumes using dedicated IPs after the throttling or blacklisting is lifted.

  • false: Does not fall back. The system uses only the associated dedicated IP pool for sending. If IPs in the pool are throttled or blacklisted, the system continues to use them, which may cause delivery failures or delays, but ensures that the sending IPs are always your dedicated IPs.

true

ValidationOption

object

No

The options for the email address validation feature.

Enabled

boolean

No

Specifies whether to enable the email address validation feature.

  • true: Enabled. This corresponds to the BASIC_ONLY mode of the ValidateEmail operation.

  • false: Disabled.

true

ForbiddenStatusList

array

No

The list of primary validation statuses for recipient addresses that need to be blocked. The system pre-validates recipient addresses before sending. Emails whose primary validation status matches any status in this list will be rejected.

string

No

The primary validation status for recipient addresses that need to be blocked. Valid values:

  • INVALID: Invalid address or address does not exist.

  • CATCH_ALL: Catch-all address. Any mailbox under the domain can receive emails, and the actual existence of the address cannot be confirmed.

  • DO_NOT_MAIL: Can receive emails but sending is not recommended, such as role accounts or disposable email addresses.

  • UNKNOWN: Validation result cannot be provided.

INVALID

ForbiddenSubStatusList

array

No

The list of sub-statuses for recipient address validation that need to be blocked. This provides more fine-grained blocking control than primary statuses and takes effect as a union with ForbiddenStatusList. An email is blocked if it matches any status in either list.

string

No

The sub-status for address validation that needs to be blocked. Valid values:

  • NO_DNS_ENTRIES: Invalid address. No DNS records found.

  • MISSPELLED: Invalid address. Misspelled.

  • DOES_NOT_ACCEPT_MAIL: Invalid address. The mail server does not accept emails.

  • MAILBOX_NOT_EXISTS: Invalid address. The mailbox does not exist.

  • SYSTEM_ERROR: Unknown status. System error.

  • MX_FORWARD: Abnormal address. MX forwarding.

  • SYNTAX_INVALID: Invalid address. Syntax error.

  • ROLE_ACCOUNT: Abnormal address. Role account, such as role@, info@, or contact@.

  • SMTP_CONNECT_FAILED: Unknown status. Failed to connect to the recipient SMTP server.

  • DISABLED: Invalid address. The mailbox is disabled.

  • UNSPECIFIED: Unspecified. May be returned for valid, catch-all, or unknown statuses.

  • IP_UNROUTABLE: Invalid address. The IP address of the mail server is unreachable.

  • GRAY_LIST: Unknown status. Graylisted.

  • MAILBOX_FULL: Invalid address. The mailbox is full.

  • DISPOSABLE: Abnormal address. Disposable email address or blacklisted.

  • TIMEOUT_EXCEEDED: Unknown status. The specified timeout period is exceeded.

Passing an unknown value returns InvalidParameter.

DISPOSABLE

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The ID of the request.

01A17B27-D521-50DB-872A-2C4C786A304E

Id

string

The ID of the configuration set.

a3xxxfee-f95e-459c-a15e-fd5xxxxxx1ba

Examples

Success response

JSON format

{
  "RequestId": "xxx",
  "Id": "xxx"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.