challenge_metadatas
Creates, updates, deletes, gets or lists a challenge_metadatas resource.
Overview
| Name | challenge_metadatas |
| Type | Resource |
| Id | aws.pca_connector_scep.challenge_metadatas |
Fields
The following fields are returned by SELECT queries:
- get_challenge_metadata
- list_challenge_metadata
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the challenge. (pattern: <code>arn:aws(-[a-z]+):pca-connector-scep:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:connector/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/challenge/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>) |
connector_arn | string | The Amazon Resource Name (ARN) of the connector. (pattern: <code>arn:aws(-[a-z]+):pca-connector-scep:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:connector/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>) |
created_at | string (date-time) | The date and time that the connector was created. |
updated_at | string (date-time) | The date and time that the connector was updated. |
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the challenge. (pattern: <code>arn:aws(-[a-z]+):pca-connector-scep:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:connector/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/challenge/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>) |
connector_arn | string | The Amazon Resource Name (ARN) of the connector. (pattern: <code>arn:aws(-[a-z]+):pca-connector-scep:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:connector/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>) |
created_at | string (date-time) | The date and time that the challenge was created. |
updated_at | string (date-time) | The date and time that the challenge was updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_challenge_metadata | select | challenge_arn, region | Retrieves the metadata for the specified Challenge. | |
list_challenge_metadata | select | ConnectorArn, region | MaxResults, NextToken | Retrieves the challenge metadata for the specified ARN. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ConnectorArn | string | The Amazon Resource Name (ARN) of the connector. |
challenge_arn | string | The Amazon Resource Name (ARN) of the challenge. |
region | string | AWS region (default: us-east-1) |
MaxResults | integer | The maximum number of objects that you want Connector for SCEP to return for this request. If more objects are available, in the response, Connector for SCEP provides a NextToken value that you can use in a subsequent call to get the next batch of objects. |
NextToken | string | When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Connector for SCEP returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request. |
SELECT examples
- get_challenge_metadata
- list_challenge_metadata
Retrieves the metadata for the specified Challenge.
SELECT
arn,
connector_arn,
created_at,
updated_at
FROM aws.pca_connector_scep.challenge_metadatas
WHERE challenge_arn = '{{ challenge_arn }}' -- required
AND region = '{{ region }}' -- required
;
Retrieves the challenge metadata for the specified ARN.
SELECT
arn,
connector_arn,
created_at,
updated_at
FROM aws.pca_connector_scep.challenge_metadatas
WHERE ConnectorArn = '{{ ConnectorArn }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;