• 沒有找到結果。

Amazon AppIntegrations

N/A
N/A
Protected

Academic year: 2022

Share "Amazon AppIntegrations"

Copied!
63
0
0

加載中.... (立即查看全文)

全文

(1)

Amazon AppIntegrations

Welcome

API Version 2020-07-29

(2)

Amazon AppIntegrations: Welcome

Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.

Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.

(3)

Table of Contents

Welcome ... 1

Actions ... 2

CreateDataIntegration ... 3

Request Syntax ... 3

URI Request Parameters ... 3

Request Body ... 3

Response Syntax ... 4

Response Elements ... 5

Errors ... 6

See Also ... 7

CreateEventIntegration ... 8

Request Syntax ... 8

URI Request Parameters ... 8

Request Body ... 8

Response Syntax ... 9

Response Elements ... 9

Errors ... 10

See Also ... 10

DeleteDataIntegration ... 12

Request Syntax ... 12

URI Request Parameters ... 12

Request Body ... 12

Response Syntax ... 12

Response Elements ... 12

Errors ... 12

See Also ... 13

DeleteEventIntegration ... 14

Request Syntax ... 14

URI Request Parameters ... 14

Request Body ... 14

Response Syntax ... 14

Response Elements ... 14

Errors ... 14

See Also ... 15

GetDataIntegration ... 16

Request Syntax ... 16

URI Request Parameters ... 16

Request Body ... 16

Response Syntax ... 16

Response Elements ... 16

Errors ... 18

See Also ... 18

GetEventIntegration ... 20

Request Syntax ... 20

URI Request Parameters ... 20

Request Body ... 20

Response Syntax ... 20

Response Elements ... 20

Errors ... 21

See Also ... 22

ListDataIntegrationAssociations ... 23

Request Syntax ... 23

URI Request Parameters ... 23

Request Body ... 23

(4)

Response Syntax ... 23

Response Elements ... 24

Errors ... 24

See Also ... 25

ListDataIntegrations ... 26

Request Syntax ... 26

URI Request Parameters ... 26

Request Body ... 26

Response Syntax ... 26

Response Elements ... 26

Errors ... 27

See Also ... 27

ListEventIntegrationAssociations ... 29

Request Syntax ... 29

URI Request Parameters ... 29

Request Body ... 29

Response Syntax ... 29

Response Elements ... 30

Errors ... 30

See Also ... 31

ListEventIntegrations ... 32

Request Syntax ... 32

URI Request Parameters ... 32

Request Body ... 32

Response Syntax ... 32

Response Elements ... 32

Errors ... 33

See Also ... 33

ListTagsForResource ... 35

Request Syntax ... 35

URI Request Parameters ... 35

Request Body ... 35

Response Syntax ... 35

Response Elements ... 35

Errors ... 36

See Also ... 36

TagResource ... 37

Request Syntax ... 37

URI Request Parameters ... 37

Request Body ... 37

Response Syntax ... 37

Response Elements ... 38

Errors ... 38

See Also ... 38

UntagResource ... 39

Request Syntax ... 39

URI Request Parameters ... 39

Request Body ... 39

Response Syntax ... 39

Response Elements ... 39

Errors ... 39

See Also ... 40

UpdateDataIntegration ... 41

Request Syntax ... 41

URI Request Parameters ... 41

Request Body ... 41

Response Syntax ... 42

API Version 2020-07-29 iv

(5)

Response Elements ... 42

Errors ... 42

See Also ... 42

UpdateEventIntegration ... 44

Request Syntax ... 44

URI Request Parameters ... 44

Request Body ... 44

Response Syntax ... 44

Response Elements ... 44

Errors ... 45

See Also ... 45

Data Types ... 46

DataIntegrationAssociationSummary ... 47

Contents ... 47

See Also ... 47

DataIntegrationSummary ... 48

Contents ... 48

See Also ... 48

EventFilter ... 49

Contents ... 49

See Also ... 49

EventIntegration ... 50

Contents ... 50

See Also ... 51

EventIntegrationAssociation ... 52

Contents ... 52

See Also ... 53

ScheduleConfiguration ... 54

Contents ... 54

See Also ... 54

Common Parameters ... 55

Common Errors ... 57

(6)

Welcome

The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.

For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations and Deliver information to agents using Amazon Connect Wisdom in the Amazon Connect Administrator Guide.

This document was last published on March 6, 2022.

API Version 2020-07-29 1

(7)

Actions

The following actions are supported:

• CreateDataIntegration (p. 3)

• CreateEventIntegration (p. 8)

• DeleteDataIntegration (p. 12)

• DeleteEventIntegration (p. 14)

• GetDataIntegration (p. 16)

• GetEventIntegration (p. 20)

• ListDataIntegrationAssociations (p. 23)

• ListDataIntegrations (p. 26)

• ListEventIntegrationAssociations (p. 29)

• ListEventIntegrations (p. 32)

• ListTagsForResource (p. 35)

• TagResource (p. 37)

• UntagResource (p. 39)

• UpdateDataIntegration (p. 41)

• UpdateEventIntegration (p. 44)

(8)

CreateDataIntegration

Creates and persists a DataIntegration resource.

NoteYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

POST /dataIntegrations HTTP/1.1 Content-type: application/json { "ClientToken": "string", "Description": "string", "KmsKey": "string", "Name": "string", "ScheduleConfig": {

"FirstExecutionFrom": "string", "Object": "string",

"ScheduleExpression": "string"

},

"SourceURI": "string", "Tags": {

"string" : "string"

}}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientToken (p. 3)

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Type: String

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

Pattern: .*

Required: No Description (p. 3)

A description of the DataIntegration.

Type: String

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

Pattern: .*

API Version 2020-07-29 3

(9)

Response Syntax

Required: No KmsKey (p. 3)

The KMS key for the DataIntegration.

Type: String

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

Pattern: .*\S.*

Required: Yes Name (p. 3)

The name of the DataIntegration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes ScheduleConfig (p. 3)

The name of the data and how often it should be pulled from the source.

Type: ScheduleConfiguration (p. 54) object Required: Yes

SourceURI (p. 3)

The URI of the data source.

Type: String

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

Pattern: ^\w+\:\/\/\w+\/[\w/!@#+=.-]+$

Required: Yes Tags (p. 3)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Required: No

Response Syntax

HTTP/1.1 200

(10)

Content-type: application/json { "Arn": "string",

"ClientToken": "string", "Description": "string", "Id": "string",

"KmsKey": "string", "Name": "string",

"ScheduleConfiguration": { "FirstExecutionFrom": "string", "Object": "string",

"ScheduleExpression": "string"

},

"SourceURI": "string", "Tags": {

"string" : "string"

}}

Response Elements

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

The following data is returned in JSON format by the service.

Arn (p. 4)

The Amazon Resource Name (ARN) Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

ClientToken (p. 4)

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Type: String

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

Pattern: .*

Description (p. 4)

A description of the DataIntegration.

Type: String

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

Pattern: .*

Id (p. 4)

A unique identifier.

Type: String

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

API Version 2020-07-29 5

(11)

Errors

KmsKey (p. 4)

The KMS key for the DataIntegration.

Type: String

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

Pattern: .*\S.*

Name (p. 4)

The name of the DataIntegration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

ScheduleConfiguration (p. 4)

The name of the data and how often it should be pulled from the source.

Type: ScheduleConfiguration (p. 54) object SourceURI (p. 4)

The URI of the data source.

Type: String

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

Pattern: ^\w+\:\/\/\w+\/[\w/!@#+=.-]+$

Tags (p. 4)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 DuplicateResourceException

A resource with the specified name already exists.

(12)

HTTP Status Code: 409 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400

ResourceQuotaExceededException

The allowed quota for the resource has been exceeded.

HTTP Status Code: 429 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 7

(13)

CreateEventIntegration

CreateEventIntegration

Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.

Request Syntax

POST /eventIntegrations HTTP/1.1 Content-type: application/json { "ClientToken": "string", "Description": "string", "EventBridgeBus": "string", "EventFilter": {

"Source": "string"

},

"Name": "string", "Tags": {

"string" : "string"

}}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientToken (p. 8)

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Type: String

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

Pattern: .*

Required: No Description (p. 8)

The description of the event integration.

Type: String

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

Pattern: .*

Required: No EventBridgeBus (p. 8)

The EventBridge bus.

(14)

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes EventFilter (p. 8)

The event filter.

Type: EventFilter (p. 49) object Required: Yes

Name (p. 8)

The name of the event integration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes Tags (p. 8)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Required: No

Response Syntax

HTTP/1.1 200

Content-type: application/json { "EventIntegrationArn": "string"

}

Response Elements

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

The following data is returned in JSON format by the service.

EventIntegrationArn (p. 9)

The Amazon Resource Name (ARN) of the event integration.

API Version 2020-07-29 9

(15)

Errors

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 DuplicateResourceException

A resource with the specified name already exists.

HTTP Status Code: 409 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400

ResourceQuotaExceededException

The allowed quota for the resource has been exceeded.

HTTP Status Code: 429 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

(16)

• AWS SDK for Ruby V3

API Version 2020-07-29 11

(17)

DeleteDataIntegration

DeleteDataIntegration

Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.

NoteYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

DELETE /dataIntegrations/Identifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Identifier (p. 12)

A unique identifier for the DataIntegration.

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

Pattern: .*\S.*

Required: Yes

Request Body

The request does not have a request body.

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 Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

(18)

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 13

(19)

DeleteEventIntegration

DeleteEventIntegration

Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.

Request Syntax

DELETE /eventIntegrations/Name HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Name (p. 14)

The name of the event integration.

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes

Request Body

The request does not have a request body.

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 Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

(20)

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 15

(21)

GetDataIntegration

GetDataIntegration

Returns information about the DataIntegration.

NoteYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

GET /dataIntegrations/Identifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Identifier (p. 16) A unique identifier.

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

Pattern: .*\S.*

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "Arn": "string",

"Description": "string", "Id": "string",

"KmsKey": "string", "Name": "string",

"ScheduleConfiguration": { "FirstExecutionFrom": "string", "Object": "string",

"ScheduleExpression": "string"

},

"SourceURI": "string", "Tags": {

"string" : "string"

}}

Response Elements

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

(22)

The following data is returned in JSON format by the service.

Arn (p. 16)

The Amazon Resource Name (ARN) for the DataIntegration.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Description (p. 16)

The KMS key for the DataIntegration.

Type: String

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

Pattern: .*

Id (p. 16)

A unique identifier.

Type: String

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

KmsKey (p. 16)

The KMS key for the DataIntegration.

Type: String

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

Pattern: .*\S.*

Name (p. 16)

The name of the DataIntegration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

ScheduleConfiguration (p. 16)

The name of the data and how often it should be pulled from the source.

Type: ScheduleConfiguration (p. 54) object SourceURI (p. 16)

The URI of the data source.

Type: String

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

Pattern: ^\w+\:\/\/\w+\/[\w/!@#+=.-]+$

API Version 2020-07-29 17

(23)

Errors

Tags (p. 16)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

(24)

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 19

(25)

GetEventIntegration

GetEventIntegration

Returns information about the event integration.

Request Syntax

GET /eventIntegrations/Name HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Name (p. 20)

The name of the event integration.

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "Description": "string", "EventBridgeBus": "string", "EventFilter": {

"Source": "string"

},

"EventIntegrationArn": "string", "Name": "string",

"Tags": {

"string" : "string"

}}

Response Elements

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

The following data is returned in JSON format by the service.

Description (p. 20)

The description of the event integration.

(26)

Type: String

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

Pattern: .*

EventBridgeBus (p. 20) The EventBridge bus.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

EventFilter (p. 20) The event filter.

Type: EventFilter (p. 49) object EventIntegrationArn (p. 20)

The Amazon Resource Name (ARN) for the event integration.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Name (p. 20)

The name of the event integration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Tags (p. 20)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

API Version 2020-07-29 21

(27)

See Also

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(28)

ListDataIntegrationAssociations

Returns a paginated list of DataIntegration associations in the account.

Note

You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

GET /dataIntegrations/Identifier/associations?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Identifier (p. 23)

A unique identifier for the DataIntegration.

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

Pattern: .*\S.*

Required: Yes MaxResults (p. 23)

The maximum number of results to return per page.

Valid Range: Minimum value of 1. Maximum value of 50.

NextToken (p. 23)

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

Pattern: .*

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "DataIntegrationAssociations": [ {

"ClientId": "string",

API Version 2020-07-29 23

(29)

Response Elements

"DataIntegrationArn": "string",

"DataIntegrationAssociationArn": "string"

} ],

"NextToken": "string"

}

Response Elements

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

The following data is returned in JSON format by the service.

DataIntegrationAssociations (p. 23)

The Amazon Resource Name (ARN) and unique ID of the DataIntegration association.

Type: Array of DataIntegrationAssociationSummary (p. 47) objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

NextToken (p. 23)

If there are additional results, this is the token for the next set of results.

Type: String

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

Pattern: .*

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

(30)

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 25

(31)

ListDataIntegrations

ListDataIntegrations

Returns a paginated list of DataIntegrations in the account.

Note

You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

GET /dataIntegrations?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

MaxResults (p. 26)

The maximum number of results to return per page.

Valid Range: Minimum value of 1. Maximum value of 50.

NextToken (p. 26)

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

Pattern: .*

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "DataIntegrations": [ {

"Arn": "string", "Name": "string", "SourceURI": "string"

} ],

"NextToken": "string"

}

Response Elements

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

(32)

The following data is returned in JSON format by the service.

DataIntegrations (p. 26)

The DataIntegrations associated with this account.

Type: Array of DataIntegrationSummary (p. 48) objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

NextToken (p. 26)

If there are additional results, this is the token for the next set of results.

Type: String

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

Pattern: .*

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

API Version 2020-07-29 27

(33)

See Also

• AWS SDK for Python

• AWS SDK for Ruby V3

(34)

ListEventIntegrationAssociations

Returns a paginated list of event integration associations in the account.

Request Syntax

GET /eventIntegrations/Name/associations?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Name (p. 29)

The name of the event integration.

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes MaxResults (p. 29)

The maximum number of results to return per page.

Valid Range: Minimum value of 1. Maximum value of 50.

NextToken (p. 29)

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

Pattern: .*

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "EventIntegrationAssociations": [ {

"ClientAssociationMetadata": { "string" : "string"

},

"ClientId": "string",

"EventBridgeRuleName": "string",

"EventIntegrationAssociationArn": "string", "EventIntegrationAssociationId": "string",

API Version 2020-07-29 29

(35)

Response Elements

"EventIntegrationName": "string"

} ],

"NextToken": "string"

}

Response Elements

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

The following data is returned in JSON format by the service.

EventIntegrationAssociations (p. 29) The event integration associations.

Type: Array of EventIntegrationAssociation (p. 52) objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

NextToken (p. 29)

If there are additional results, this is the token for the next set of results.

Type: String

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

Pattern: .*

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

(36)

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 31

(37)

ListEventIntegrations

ListEventIntegrations

Returns a paginated list of event integrations in the account.

Request Syntax

GET /eventIntegrations?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

MaxResults (p. 32)

The maximum number of results to return per page.

Valid Range: Minimum value of 1. Maximum value of 50.

NextToken (p. 32)

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

Pattern: .*

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "EventIntegrations": [ {

"Description": "string", "EventBridgeBus": "string", "EventFilter": {

"Source": "string"

},

"EventIntegrationArn": "string", "Name": "string",

"Tags": {

"string" : "string"

} } ],

"NextToken": "string"

}

Response Elements

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

(38)

The following data is returned in JSON format by the service.

EventIntegrations (p. 32) The event integrations.

Type: Array of EventIntegration (p. 50) objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

NextToken (p. 32)

If there are additional results, this is the token for the next set of results.

Type: String

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

Pattern: .*

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

API Version 2020-07-29 33

(39)

See Also

• AWS SDK for Python

• AWS SDK for Ruby V3

(40)

ListTagsForResource

Lists the tags for the specified resource.

Request Syntax

GET /tags/resourceArn HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

resourceArn (p. 35)

The Amazon Resource Name (ARN) of the resource.

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

Content-type: application/json { "tags": {

"string" : "string"

}}

Response Elements

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

The following data is returned in JSON format by the service.

tags (p. 35)

Information about the tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

API Version 2020-07-29 35

(41)

Errors

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(42)

TagResource

Adds the specified tags to the specified resource.

Request Syntax

POST /tags/resourceArn HTTP/1.1 Content-type: application/json {

"tags": {

"string" : "string"

}}

URI Request Parameters

The request uses the following URI parameters.

resourceArn (p. 37)

The Amazon Resource Name (ARN) of the resource.

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: Yes

Request Body

The request accepts the following data in JSON format.

tags (p. 37)

One or more tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Required: Yes

Response Syntax

HTTP/1.1 200

API Version 2020-07-29 37

(43)

Response Elements

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 Errors (p. 57).

InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(44)

UntagResource

Removes the specified tags from the specified resource.

Request Syntax

DELETE /tags/resourceArn?tagKeys=tagKeys HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

resourceArn (p. 39)

The Amazon Resource Name (ARN) of the resource.

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: Yes tagKeys (p. 39)

The tag keys.

Array Members: Minimum number of 1 item. Maximum number of 200 items.

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

Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Required: Yes

Request Body

The request does not have a request body.

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 Errors (p. 57).

InternalServiceError

Request processing failed due to an error or failure with the service.

API Version 2020-07-29 39

(45)

See Also

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(46)

UpdateDataIntegration

Updates the description of a DataIntegration.

NoteYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the

CreateDataIntegration API.

Request Syntax

PATCH /dataIntegrations/Identifier HTTP/1.1 Content-type: application/json

{

"Description": "string", "Name": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Identifier (p. 41)

A unique identifier for the DataIntegration.

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

Pattern: .*\S.*

Required: Yes

Request Body

The request accepts the following data in JSON format.

Description (p. 41)

A description of the DataIntegration.

Type: String

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

Pattern: .*

Required: No Name (p. 41)

The name of the DataIntegration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

API Version 2020-07-29 41

(47)

Response Syntax

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 Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

(48)

• AWS SDK for Ruby V3

API Version 2020-07-29 43

(49)

UpdateEventIntegration

UpdateEventIntegration

Updates the description of an event integration.

Request Syntax

PATCH /eventIntegrations/Name HTTP/1.1 Content-type: application/json

{

"Description": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Name (p. 44)

The name of the event integration.

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes

Request Body

The request accepts the following data in JSON format.

Description (p. 44)

The description of the event inegration.

Type: String

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

Pattern: .*

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.

(50)

Errors

For information about the errors that are common to all actions, see Common Errors (p. 57).

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403 InternalServiceError

Request processing failed due to an error or failure with the service.

HTTP Status Code: 500 InvalidRequestException

The request is not valid.

HTTP Status Code: 400 ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404 ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

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

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

API Version 2020-07-29 45

(51)

Data Types

The Amazon AppIntegrations Service API contains several data types that various actions use. This section describes each data type in detail.

Note

The order of each element in a data type structure is not guaranteed. Applications should not assume a particular order.

The following data types are supported:

• DataIntegrationAssociationSummary (p. 47)

• DataIntegrationSummary (p. 48)

• EventFilter (p. 49)

• EventIntegration (p. 50)

• EventIntegrationAssociation (p. 52)

• ScheduleConfiguration (p. 54)

(52)

DataIntegrationAssociationSummary

Summary information about the DataIntegration association.

Contents

ClientId

The identifier for teh client that is associated with the DataIntegration association.

Type: String

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

Pattern: .*

Required: No DataIntegrationArn

The Amazon Resource Name (ARN)of the DataIntegration.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: No

DataIntegrationAssociationArn

The Amazon Resource Name (ARN) of the DataIntegration association.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: No

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

API Version 2020-07-29 47

(53)

DataIntegrationSummary

DataIntegrationSummary

Summary information about the DataIntegration.

Contents

Arn

The Amazon Resource Name (ARN) of the DataIntegration.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: No Name

The name of the DataIntegration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: No SourceURI

The URI of the data source.

Type: String

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

Pattern: ^\w+\:\/\/\w+\/[\w/!@#+=.-]+$

Required: No

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

(54)

EventFilter

The event filter.

Contents

Source

The source of the events.

Type: String

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

Pattern: ^aws\.partner\/.*$

Required: Yes

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

API Version 2020-07-29 49

(55)

EventIntegration

EventIntegration

The event integration.

Contents

Description

The event integration description.

Type: String

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

Pattern: .*

Required: No EventBridgeBus

The Amazon EventBridge bus for the event integration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: No EventFilter

The event integration filter.

Type: EventFilter (p. 49) object Required: No

EventIntegrationArn

The Amazon Resource Name (ARN) of the event integration.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: No Name

The name of the event integration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: No

(56)

Tags

The tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

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

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Required: No

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

API Version 2020-07-29 51

(57)

EventIntegrationAssociation

EventIntegrationAssociation

The event integration association.

Contents

ClientAssociationMetadata

The metadata associated with the client.

Type: String to string map

Key Length Constraints: Minimum length of 1. Maximum length of 255.

Key Pattern: .*\S.*

Value Length Constraints: Minimum length of 1. Maximum length of 255.

Value Pattern: .*\S.*

Required: No ClientId

The identifier for the client that is associated with the event integration.

Type: String

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

Pattern: .*

Required: No EventBridgeRuleName

The name of the EventBridge rule.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: No

EventIntegrationAssociationArn

The Amazon Resource Name (ARN) for the event integration association.

Type: String

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

Pattern: ^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A- Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Required: No

EventIntegrationAssociationId

The identifier for the event integration association.

(58)

Type: String

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Required: No EventIntegrationName

The name of the event integration.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: No

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

API Version 2020-07-29 53

(59)

ScheduleConfiguration

ScheduleConfiguration

The name of the data and how often it should be pulled from the source.

Contents

FirstExecutionFrom

The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

Type: String

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

Pattern: .*\S.*

Required: Yes Object

The name of the object to pull from the data source.

Type: String

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

Pattern: ^[a-zA-Z0-9\/\._\-]+$

Required: Yes ScheduleExpression

How often the data should be pulled from data source.

Type: String

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

Pattern: .*\S.*

Required: Yes

See Also

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

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

(60)

Common Parameters

The following list contains the parameters that all actions use for signing Signature Version 4 requests with a query string. Any action-specific parameters are listed in the topic for that action. For more information about Signature Version 4, see Signature Version 4 Signing Process in the Amazon Web Services General Reference.

Action

The action to be performed.

Type: string Required: Yes Version

The API version that the request is written for, expressed in the format YYYY-MM-DD.

Type: string Required: Yes X-Amz-Algorithm

The hash algorithm that you used to create the request signature.

Condition: Specify this parameter when you include authentication information in a query string instead of in the HTTP authorization header.

Type: string

Valid Values: AWS4-HMAC-SHA256 Required: Conditional

X-Amz-Credential

The credential scope value, which is a string that includes your access key, the date, the region you are targeting, the service you are requesting, and a termination string ("aws4_request"). The value is expressed in the following format: access_key/YYYYMMDD/region/service/aws4_request.

For more information, see Task 2: Create a String to Sign for Signature Version 4 in the Amazon Web Services General Reference.

Condition: Specify this parameter when you include authentication information in a query string instead of in the HTTP authorization header.

Type: string

Required: Conditional X-Amz-Date

The date that is used to create the signature. The format must be ISO 8601 basic format (YYYYMMDD'T'HHMMSS'Z'). For example, the following date time is a valid X-Amz-Date value:

20120325T120000Z.

Condition: X-Amz-Date is optional for all requests; it can be used to override the date used for signing requests. If the Date header is specified in the ISO 8601 basic format, X-Amz-Date is

API Version 2020-07-29 55

(61)

not required. When X-Amz-Date is used, it always overrides the value of the Date header. For more information, see Handling Dates in Signature Version 4 in the Amazon Web Services General Reference.

Type: string

Required: Conditional X-Amz-Security-Token

The temporary security token that was obtained through a call to AWS Security Token Service (AWS STS). For a list of services that support temporary security credentials from AWS Security Token Service, go to AWS Services That Work with IAM in the IAM User Guide.

Condition: If you're using temporary security credentials from the AWS Security Token Service, you must include the security token.

Type: string

Required: Conditional X-Amz-Signature

Specifies the hex-encoded signature that was calculated from the string to sign and the derived signing key.

Condition: Specify this parameter when you include authentication information in a query string instead of in the HTTP authorization header.

Type: string

Required: Conditional X-Amz-SignedHeaders

Specifies all the HTTP headers that were included as part of the canonical request. For more information about specifying signed headers, see Task 1: Create a Canonical Request For Signature Version 4 in the Amazon Web Services General Reference.

Condition: Specify this parameter when you include authentication information in a query string instead of in the HTTP authorization header.

Type: string

Required: Conditional

(62)

Common Errors

This section lists the errors common to the API actions of all AWS services. For errors specific to an API action for this service, see the topic for that API action.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 400 IncompleteSignature

The request signature does not conform to AWS standards.

HTTP Status Code: 400 InternalFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500 InvalidAction

The action or operation requested is invalid. Verify that the action is typed correctly.

HTTP Status Code: 400 InvalidClientTokenId

The X.509 certificate or AWS access key ID provided does not exist in our records.

HTTP Status Code: 403 InvalidParameterCombination

Parameters that must not be used together were used together.

HTTP Status Code: 400 InvalidParameterValue

An invalid or out-of-range value was supplied for the input parameter.

HTTP Status Code: 400 InvalidQueryParameter

The AWS query string is malformed or does not adhere to AWS standards.

HTTP Status Code: 400 MalformedQueryString

The query string contains a syntax error.

HTTP Status Code: 404 MissingAction

The request is missing an action or a required parameter.

HTTP Status Code: 400

API Version 2020-07-29 57

(63)

MissingAuthenticationToken

The request must contain either a valid (registered) AWS access key ID or X.509 certificate.

HTTP Status Code: 403 MissingParameter

A required parameter for the specified action is not supplied.

HTTP Status Code: 400 NotAuthorized

You do not have permission to perform this action.

HTTP Status Code: 400 OptInRequired

The AWS access key ID needs a subscription for the service.

HTTP Status Code: 403 RequestExpired

The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.

HTTP Status Code: 400 ServiceUnavailable

The request has failed due to a temporary failure of the server.

HTTP Status Code: 503 ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400 ValidationError

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

參考文獻

Outline

相關文件

Once you have created a complete dialog with widgets or arbitrary window hier- archy, the Interface Builder generates the source code needed to recreate it programmati- cally and

failed comply with the charging of fees in accordance with the applicable laws and regulations or should the Employer failed to pay the wage/salary in

MALNUTRITION DUE TO MAJOR ENTERECTOMY, INTESTINAL FAILURE ALREADY ON A FULLY INTRAVENOUS DIET FOR 30 DAYS, AND UNABLE TO OBTAIN SUFFICIENT NURTRITION THROUGH AN ORAL DIET.

A network technician reports that he receives a “Request timed out” error message when he attempts to use the ping utility to connect to Server1 from his client computer.. The

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

 develop a better understanding of the design and the features of the English Language curriculum with an emphasis on the senior secondary level;..  gain an insight into the

 When citing a foreword/introduction/preface/afterword, begin the citation with the name of the person who wrote it, then the word “Foreword” (or whatever it is), without

In 2006, most School Heads perceived that the NET’s role as primarily to collaborate with the local English teachers, act as an English language resource for students,