

# ListProfiles

Lists the profiles in your account, optionally filtered by name. A profile is a named configuration context in which extensions run.

## Request Syntax
<a name="API_ListProfiles_RequestSyntax"></a>

```
GET /profiles?maxResults={{maxResults}}&name={{name}}&nextToken={{nextToken}} HTTP/1.1
```

## URI Request Parameters
<a name="API_ListProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [maxResults](#API_ListProfiles_RequestSyntax) **   <a name="systemsmanagercloudextensions-ListProfiles-request-uri-maxResults"></a>
The maximum number of profiles to return in one page. The valid range is 1 to 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [name](#API_ListProfiles_RequestSyntax) **   <a name="systemsmanagercloudextensions-ListProfiles-request-uri-name"></a>
A filter that matches profiles by name.  
Length Constraints: Minimum length of 1. Maximum length of 32.

 ** [nextToken](#API_ListProfiles_RequestSyntax) **   <a name="systemsmanagercloudextensions-ListProfiles-request-uri-nextToken"></a>
The token for the next page of results. Use the value that the previous call returned.  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `[A-Za-z0-9_-]+` 

## Request Body
<a name="API_ListProfiles_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "items": [ 
      { 
         "arn": "string",
         "createdAt": "string",
         "entryCount": number,
         "id": "string",
         "name": "string",
         "updatedAt": "string"
      }
   ],
   "nextToken": "string"
}
```

## Response Elements
<a name="API_ListProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [items](#API_ListProfiles_ResponseSyntax) **   <a name="systemsmanagercloudextensions-ListProfiles-response-items"></a>
The profiles in this page of results.  
Type: Array of [ProfileSummary](API_ProfileSummary.md) objects

 ** [nextToken](#API_ListProfiles_ResponseSyntax) **   <a name="systemsmanagercloudextensions-ListProfiles-response-nextToken"></a>
The token to use to retrieve the next page of results. This value is absent when there are no more results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `[A-Za-z0-9_-]+` 

## Errors
<a name="API_ListProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You don't have permission to perform the operation.    
 ** message **   
A description of why the request was denied.
HTTP Status Code: 403

 ** InternalServerException **   
The service couldn't process the request because of an internal error. Retry the request with capped exponential backoff and jitter.    
 ** message **   
A short summary that is the same for every `InternalServerException`.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request, from the `Retry-After` header. This value is present only when the service sets the header.
HTTP Status Code: 500

 ** ThrottlingException **   
The request rate exceeded a limit. Retry the request with capped exponential backoff and jitter.    
 ** message **   
A description of the error.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request, from the `Retry-After` header. This value is present only when the service sets the header.
HTTP Status Code: 429

 ** ValidationException **   
The request is malformed or contains parameter values that aren't valid.    
 ** errors **   
A list of the specific reasons that the request failed validation, when available.  
 ** message **   
A short summary that is the same for every `ValidationException`. For the details, see `reason` and `errors`.  
 ** reason **   
A classification of the validation failure. `FIELD_VALIDATION_FAILED` means that one or more input fields failed validation. `UNKNOWN_OPERATION` means that the requested operation doesn't exist. `CANNOT_PARSE` means that the request body couldn't be parsed, or doesn't have the shape that the operation expects.
HTTP Status Code: 400

## See Also
<a name="API_ListProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/cloudextensions-2026-11-29/ListProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/ListProfiles) 