View a markdown version of this page

UpdateIntegrationConfiguration - AWS Amplify

UpdateIntegrationConfiguration

Updates an integration configuration.

Request Syntax

PATCH /integration-configurations/IntegrationName HTTP/1.1 Content-type: application/json { "EnvironmentVariables": [ { "Key": "string", "KeyOverride": "string", "Type": "string", "Value": "string" } ], "IntegrationTypeId": "string", "RemoveEnvironmentVariableKeys": [ "string" ], "ResourceConfiguration": { ... } }

URI Request Parameters

The request uses the following URI parameters.

IntegrationName

The name of the integration.

Length Constraints: Minimum length of 1. Maximum length of 140.

Pattern: [a-zA-Z0-9]([a-zA-Z0-9_-]*[a-zA-Z0-9])?

Required: Yes

Request Body

The request accepts the following data in JSON format.

EnvironmentVariables

The environment variables that the integration provides to the environments that it is connected to.

Type: Array of IntegrationEnvironmentVariableInput objects

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Required: No

IntegrationTypeId

The ID of the integration type.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

RemoveEnvironmentVariableKeys

The keys of the environment variables to remove.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z]([a-zA-Z0-9_])*

Required: No

ResourceConfiguration

The resource configuration for the integration.

Type: ResourceConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

You do not have sufficient permissions to perform this action.

message

A message that describes the error.

HTTP Status Code: 403

InternalServerException

An internal error occurred. Retry the request.

message

A message that describes the error.

retryAfterSeconds

The number of seconds to wait before you retry the request.

HTTP Status Code: 500

ResourceNotFoundException

The requested resource was not found.

message

A message that describes the error.

HTTP Status Code: 404

ThrottlingException

The request was denied because the request rate exceeds the allowed limit.

message

A message that describes the error.

quotaCode

The code of the service quota that caused the throttling.

retryAfterSeconds

The number of seconds to wait before you retry the request.

serviceCode

The code of the service that the quota belongs to.

HTTP Status Code: 429

ValidationException

The request contains invalid parameters or is otherwise malformed.

message

A message that describes the error.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: