

# UpdateProfileEntry

Updates the configuration of a profile entry. The operation changes only the fields that you provide. Fields that you omit stay unchanged.

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

```
PATCH /profiles/{{profileIdentifier}}/entries/{{identifier}} HTTP/1.1
Content-type: application/json

{
   "approve": [ "{{string}}" ],
   "description": "{{string}}",
   "executionRole": "{{string}}",
   "interfaces": { 
      "{{string}}" : { ... }
   },
   "name": "{{string}}",
   "settings": {{JSON value}},
   "versionPolicy": { 
      "updateStrategy": "{{string}}",
      "versionSelector": "{{string}}"
   }
}
```

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

The request uses the following URI parameters.

 ** [identifier](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-uri-identifier"></a>
The ID or name of the profile entry.  
Length Constraints: Minimum length of 1. Maximum length of 1011.  
Pattern: `([a-z0-9]{10,63}|[a-z][a-z0-9]+([_-][a-z0-9]+)*)`   
Required: Yes

 ** [profileIdentifier](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-uri-profileIdentifier"></a>
The ID or name of the profile that owns the entry.  
Length Constraints: Minimum length of 1. Maximum length of 1011.  
Pattern: `([a-z0-9]{10,63}|[a-z][a-z0-9]+([_-][a-z0-9]+)*)`   
Required: Yes

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

The request accepts the following data in JSON format.

 ** [approve](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-approve"></a>
The complete list of capability paths to approve. This list replaces the current approvals of the entry. A capability that you leave out of the list is no longer approved. To keep the current approvals, omit this parameter. You can specify up to 100 paths.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Length Constraints: Minimum length of 3. Maximum length of 128.  
Pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*`   
Required: No

 ** [description](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-description"></a>
A new description of the purpose of the entry. An empty string removes the description.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `$|^[^ \p{Cc}][^\p{Cc}]*`   
Required: No

 ** [executionRole](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-executionRole"></a>
The ARN of the IAM role that the extension assumes when it calls AWS services. The principal of the Cloud Extensions orchestrator must be able to assume the role. An empty string removes the role from the entry, so the default role of the profile applies.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1011.  
Pattern: `$|^arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+`   
Required: No

 ** [interfaces](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-interfaces"></a>
The options for each interface, keyed by the ID of an interface that the extension declares. You can specify options for up to 10 interfaces.  
Type: String to [InterfaceOptions](API_InterfaceOptions.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 10 items.  
Key Pattern: `[a-z]([a-zA-Z0-9]{2,31})`   
Required: No

 ** [name](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-name"></a>
A new name for the entry, which must be unique within the profile.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*`   
Required: No

 ** [settings](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-settings"></a>
The changes to the setting values of the entry, applied as a JSON merge patch (RFC 7396). A setting that you omit stays the same. A null value removes a setting, so that the setting takes its default value, if it has one. An object merges into the stored values of a group setting. Any other value replaces the stored value. An array replaces the whole stored array, and a null value inside an array isn't valid. The keys are the setting IDs of the extension, and the merged values are validated against the setting definitions of the extension.  
Type: JSON value  
Required: No

 ** [versionPolicy](#API_UpdateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-request-versionPolicy"></a>
The policy that controls which extension version this entry tracks, and how the entry adopts new releases.  
Type: [VersionPolicy](API_VersionPolicy.md) object  
Required: No

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

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

{
   "approvedCapabilities": { 
      "string" : { ... }
   },
   "arn": "string",
   "createdAt": "string",
   "description": "string",
   "effectiveSettings": JSON value,
   "executionRole": "string",
   "extensionDisplayName": "string",
   "extensionId": "string",
   "id": "string",
   "inherited": { 
      "executionRole": "string",
      "interfaceDefaults": { 
         "http": { 
            "authentication": { ... }
         }
      }
   },
   "interfaces": { 
      "string" : { ... }
   },
   "latestVersion": "string",
   "name": "string",
   "profileId": "string",
   "profileName": "string",
   "resolvedVersion": "string",
   "updatedAt": "string",
   "versionPolicy": { 
      "updateStrategy": "string",
      "versionSelector": "string"
   }
}
```

## Response Elements
<a name="API_UpdateProfileEntry_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.

 ** [approvedCapabilities](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-approvedCapabilities"></a>
A map of capability paths to their approved specifications. You must explicitly approve a capability before the extension can use it.  
Type: String to [CapabilityDefinition](API_CapabilityDefinition.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 100 items.  
Key Length Constraints: Minimum length of 3. Maximum length of 128.  
Key Pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*` 

 ** [arn](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-arn"></a>
The Amazon Resource Name (ARN) of the profile entry.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 1011.  
Pattern: `arn:[a-z0-9-]+:cloudextensions:[a-z0-9-]*:([0-9]{0,12}|aws):[a-z]+/[a-zA-Z0-9/_:-]+` 

 ** [createdAt](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-createdAt"></a>
The date and time when the profile entry was created.  
Type: Timestamp

 ** [description](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-description"></a>
A description of the purpose of the entry.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^ \p{Cc}][^\p{Cc}]*` 

 ** [effectiveSettings](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-effectiveSettings"></a>
The setting values for this extension, including any default values that apply. The values are validated against the setting definitions of the extension.  
Type: JSON value

 ** [executionRole](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-executionRole"></a>
The ARN of the IAM role that the extension assumes when it calls AWS services. The principal of the Cloud Extensions orchestrator must be able to assume the role.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 1011.  
Pattern: `arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+` 

 ** [extensionDisplayName](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-extensionDisplayName"></a>
The display name of the extension that this entry references.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[^\s\p{Cc}]([^\p{Cc}]*[^\s\p{Cc}])?` 

 ** [extensionId](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-extensionId"></a>
The ID of the extension that this entry references, such as `aws:secretsmanager`.  
Type: String  
Length Constraints: Minimum length of 6. Maximum length of 49.  
Pattern: `[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [id](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-id"></a>
The ID of the profile entry, which the service generates.  
Type: String  
Pattern: `[a-z0-9]{10,63}` 

 ** [inherited](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-inherited"></a>
The extension defaults of the profile. An option that is set in the `interfaces` of the entry overrides the same option in the inherited `interfaceDefaults`.  
Type: [ExtensionDefaults](API_ExtensionDefaults.md) object

 ** [interfaces](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-interfaces"></a>
The options for each interface of this entry, keyed by the ID of an interface that the extension declares.  
Type: String to [InterfaceOptions](API_InterfaceOptions.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 10 items.  
Key Pattern: `[a-z]([a-zA-Z0-9]{2,31})` 

 ** [latestVersion](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-latestVersion"></a>
The latest released version of the extension, whether or not the version policy of the entry selects it.  
Type: String  
Pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})` 

 ** [name](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-name"></a>
The name of the profile entry, which is unique within the profile. The default is the name part of the extension ID.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [profileId](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-profileId"></a>
The ID of the profile that this entry belongs to.  
Type: String  
Pattern: `[a-z0-9]{10,63}` 

 ** [profileName](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-profileName"></a>
The name of the profile that this entry belongs to.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [resolvedVersion](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-resolvedVersion"></a>
The extension version that the version policy of the entry selects. The Cloud Extensions orchestrator runs this version.  
Type: String  
Pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})` 

 ** [updatedAt](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-updatedAt"></a>
The date and time when the profile entry was last updated. This value is the same as `createdAt` until the first update.  
Type: Timestamp

 ** [versionPolicy](#API_UpdateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-UpdateProfileEntry-response-versionPolicy"></a>
The policy that controls which extension version this entry tracks, and how the entry adopts new releases.  
Type: [VersionPolicy](API_VersionPolicy.md) object

## Errors
<a name="API_UpdateProfileEntry_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

 ** ConflictException **   
The request conflicts with the current state of the resource.    
 ** conflict **   
The details of the conflict.  
 ** message **   
A short summary that is the same for every `ConflictException`. For the details, see `conflict`.
HTTP Status Code: 409

 ** 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

 ** ResourceNotFoundException **   
The specified resource doesn't exist, or you don't have permission to access it.    
 ** identifier **   
The identifier that was used to look up the resource.  
 ** message **   
A short summary that is the same for every `ResourceNotFoundException`. For the details, see `resourceType` and `identifier`.  
 ** resourceType **   
The type of the resource that wasn't found.
HTTP Status Code: 404

 ** 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_UpdateProfileEntry_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/UpdateProfileEntry) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/cloudextensions-2026-11-29/UpdateProfileEntry) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/UpdateProfileEntry) 