GetApplication - Amazon Connect

GetApplication

Get an Application resource.

Request Syntax

GET /applications/ApplicationIdentifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

ApplicationIdentifier

The Amazon Resource Name (ARN) of the Application.

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}|[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})(:[\w\$]+)?$

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "ApplicationSourceConfig": { "ExternalUrlConfig": { "AccessUrl": "string", "ApprovedOrigins": [ "string" ] } }, "Arn": "string", "CreatedTime": number, "Description": "string", "Id": "string", "LastModifiedTime": number, "Name": "string", "Namespace": "string", "Permissions": [ "string" ], "Publications": [ { "Description": "string", "Event": "string", "Schema": "string" } ], "Subscriptions": [ { "Description": "string", "Event": "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.

ApplicationSourceConfig

The configuration for where the application should be loaded from.

Type: ApplicationSourceConfig object

Arn

The Amazon Resource Name (ARN) of the Application.

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}$

CreatedTime

The created time of the Application.

Type: Timestamp

Description

The description of the application.

Type: String

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

Pattern: .*

Id

A unique identifier for the Application.

Type: String

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

LastModifiedTime

The last modified time of the Application.

Type: Timestamp

Name

The name of the application.

Type: String

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

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

Namespace

The namespace of the application.

Type: String

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

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

Permissions

The configuration of events or requests that the application has access to.

Type: Array of strings

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

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

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

Publications

This parameter has been deprecated.

The events that the application publishes.

Type: Array of Publication objects

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

Subscriptions

This parameter has been deprecated.

The events that the application subscribes.

Type: Array of Subscription objects

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

Tags

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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.

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: