ListConfigs
Returns a list of Config
objects.
Request Syntax
GET /config?maxResults=maxResults
&nextToken=nextToken
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- maxResults
-
Maximum number of
Configs
returned.Valid Range: Minimum value of 0. Maximum value of 100.
- nextToken
-
Next token returned in the request of a previous
ListConfigs
call. Used to get the next page of results.Length Constraints: Minimum length of 3. Maximum length of 1000.
Pattern:
^[A-Za-z0-9-/+_.=]+$
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"configList": [
{
"configArn": "string",
"configId": "string",
"configType": "string",
"name": "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.
- configList
-
List of
Config
items.Type: Array of ConfigListItem objects
- nextToken
-
Next token returned in the response of a previous
ListConfigs
call. Used to get the next page of results.Type: String
Length Constraints: Minimum length of 3. Maximum length of 1000.
Pattern:
^[A-Za-z0-9-/+_.=]+$
Errors
For information about the errors that are common to all actions, see Common Errors.
- DependencyException
-
Dependency encountered an error.
HTTP Status Code: 531
- InvalidParameterException
-
One or more parameters are not valid.
HTTP Status Code: 431
- ResourceNotFoundException
-
Resource was not found.
HTTP Status Code: 434
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: