View a markdown version of this page

DescribeApplicationStatusCheckAssociations - Amazon Elastic Compute Cloud

DescribeApplicationStatusCheckAssociations

Describes the associations for one or more application status checks. For more information, see Application status checks. To avoid timeouts and retrieve complete results, use the pagination parameters.

Note

The order of the elements in the response, including those within nested structures, might vary.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

ApplicationStatusCheckId.N

The IDs of the application status checks for which to describe associations.

Type: Array of strings

Required: No

DryRun

Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

Filter.N

The filters to use to limit the results. The following filters are supported:

  • application-status-check-id — The ID of the application status check.

  • association-type — The type of association (tag or instance).

Type: Array of Filter objects

Required: No

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 1000.

Required: No

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

associationSet

The associations for the specified application status checks.

Type: Array of ApplicationStatusCheckAssociationObject objects

nextToken

The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.

Type: String

requestId

The ID of the request.

Type: String

tagSet

The tags associated with the application status checks.

Type: Array of Tag objects

Errors

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

Examples

To describe application status check associations

The following example describes the associations for the specified application status check.

Sample Request

https://ec2.amazonaws.com/?Action=DescribeApplicationStatusCheckAssociations &ApplicationStatusCheckId.1=asc-0123456789abcdef0 &AUTHPARAMS

Sample Response

<DescribeApplicationStatusCheckAssociationsResult xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <associationSet> <item> <applicationStatusCheckId>asc-0123456789abcdef0</applicationStatusCheckId> <associationType>instance</associationType> <value>i-0123456789abcdef0</value> </item> </associationSet> </DescribeApplicationStatusCheckAssociationsResult>

See Also

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