AWS Config
  1. Root
AWS Config
  • Root
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
  1. Root

/

POST
/
Returns the details of a specific stored query.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "QueryName": "string"
}'
Response Response Example
200 - Example 1
{
  "StoredQuery": {
    "QueryId": "string",
    "QueryArn": "string",
    "QueryName": "string",
    "Description": "string",
    "Expression": "string"
  }
}

Request

Header Params
X-Amz-Target
string 
required
Body Params application/json
QueryName
string 
required
The name of the query.
>= 1 characters<= 64 characters
Match pattern:
^[a-zA-Z0-9-_]+$
Examples

Responses

🟢200Success
application/json
Body
StoredQuery
object 
optional
Returns a StoredQuery object.
QueryId
string 
optional
The ID of the query.
>= 1 characters<= 36 characters
Match pattern:
^\S+$
QueryArn
string 
optional
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
>= 1 characters<= 500 characters
Match pattern:
^arn:aws[a-z\-]*:config:[a-z\-\d]+:\d+:stored-query/[a-zA-Z0-9-_]+/query-[a-zA-Z\d-_/]+$
QueryName
string 
required
The name of the query.
>= 1 characters<= 64 characters
Match pattern:
^[a-zA-Z0-9-_]+$
Description
string 
optional
A unique description for the query.
>= 0 characters<= 256 characters
Match pattern:
[\s\S]*
Expression
string 
optional
The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
>= 1 characters<= 4096 characters
Match pattern:
[\s\S]*
🟠480ValidationException
🟠481ResourceNotFoundException
Modified at 2023-08-15 05:59:06
Previous
/
Next
/
Built with