SDK for PHP V3

Client: Aws\CloudExtensions\CloudExtensionsClient
Service ID: cloudextensions
Version: 2026-11-29

This page describes the parameters and results for the operations of the AWS Cloud Extensions (2026-11-29), and shows how to use the Aws\CloudExtensions\CloudExtensionsClient object to call the described operations. This documentation is specific to the 2026-11-29 API version of the service.

Service Description

AWS Cloud Extensions runs extensions on your hosts. An extension is a WebAssembly module that an AWS service publishes, and the Cloud Extensions Runtime runs it on a host and serves it to local clients. Use this API to find released extensions, add them to profiles as profile entries, and configure each entry's version policy, settings, approved capabilities, and authentication. A Cloud Extensions Runtime syncs one profile and runs that profile's entries.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CreateProfile ( array $params = [] )
Creates a new profile.
CreateProfileEntry ( array $params = [] )
Creates a profile entry that binds an extension to a profile.
DeleteProfile ( array $params = [] )
Deletes a profile and its profile entries.
DeleteProfileEntry ( array $params = [] )
Removes a profile entry, unbinding the extension from the profile.
GetExtension ( array $params = [] )
Retrieves a released extension by its id.
GetProfile ( array $params = [] )
Retrieves a profile by its identifier (id or name).
GetProfileEntry ( array $params = [] )
Retrieves a profile entry by its profile identifier and entry identifier.
ListExtensionVersions ( array $params = [] )
Lists the released versions of an extension, newest first, optionally filtered by a version selector.
ListExtensions ( array $params = [] )
Lists released extensions.
ListProfileEntries ( array $params = [] )
Lists profile entries for a given profile.
ListProfiles ( array $params = [] )
Lists profiles in the account, optionally filtered by name.
ListTagsForResource ( array $params = [] )
Lists the tags on a profile or profile entry.
TagResource ( array $params = [] )
Adds tags to a profile or profile entry.
UntagResource ( array $params = [] )
Removes tags from a profile or profile entry.
UpdateProfile ( array $params = [] )
Updates a profile's mutable properties.
UpdateProfileEntry ( array $params = [] )
Updates a profile entry's configuration.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListExtensionVersions
ListExtensions
ListProfileEntries
ListProfiles

Operations

CreateProfile

$result = $client->createProfile([/* ... */]);
$promise = $client->createProfileAsync([/* ... */]);

Creates a new profile. The profile name must be unique within the account.

Parameter Syntax

$result = $client->createProfile([
    'clientToken' => '<string>',
    'description' => '<string>',
    'extensionDefaults' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.

description
Type: string

A human-readable description of the profile's purpose or target environment.

extensionDefaults
Type: ExtensionDefaults structure

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

name
Required: Yes
Type: string

The name of the profile. Must be unique within the account.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to assign to the profile.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'entryCount' => <integer>,
    'extensionDefaults' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'id' => '<string>',
    'name' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was created.

description
Type: string

A human-readable description of this profile's purpose or target environment.

entryCount
Required: Yes
Type: int

The number of entries in this profile.

extensionDefaults
Type: ExtensionDefaults structure

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

id
Required: Yes
Type: string

The service-generated id of the profile.

name
Required: Yes
Type: string

The name of the profile.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was last updated. Equal to createdAt until the first update.

Errors

ServiceQuotaExceededException:

The request would exceed a service quota for the account.

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

CreateProfileEntry

$result = $client->createProfileEntry([/* ... */]);
$promise = $client->createProfileEntryAsync([/* ... */]);

Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.

Parameter Syntax

$result = $client->createProfileEntry([
    'approve' => ['<string>', ...],
    'clientToken' => '<string>',
    'description' => '<string>',
    'executionRole' => '<string>',
    'extensionIdentifier' => '<string>', // REQUIRED
    'interfaces' => [
        '<InterfaceId>' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
                'basePath' => '<string>',
            ],
        ],
        // ...
    ],
    'name' => '<string>',
    'profileIdentifier' => '<string>', // REQUIRED
    'settings' => [
    ],
    'tags' => ['<string>', ...],
    'versionPolicy' => [
        'updateStrategy' => 'AUTOMATIC|MANUAL',
        'versionSelector' => '<string>',
    ],
]);

Parameter Details

Members
approve
Type: Array of strings

A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.

clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.

description
Type: string

A description of the entry's purpose.

executionRole
Type: string

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

extensionIdentifier
Required: Yes
Type: string

The id of the extension to bind, such as aws:secretsmanager.

interfaces
Type: Associative array of custom strings keys (InterfaceId) to InterfaceOptions structures

Per-interface options, keyed by the id of an interface the extension declares.

name
Type: string

The entry's name, unique within the profile. Defaults to the name in the extension's id.

profileIdentifier
Required: Yes
Type: string

The identifier (id or name) of the profile to bind the extension to.

settings
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to assign to the profile entry.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

Result Syntax

[
    'approvedCapabilities' => [
        '<CapabilityPath>' => [
            'aws' => [
                'services' => [
                    '<String_1_32>' => ['<string>', ...],
                    // ...
                ],
            ],
            'exec' => [
                'args' => ['<string>', ...],
                'command' => '<string>',
                'timeoutInSeconds' => <integer>,
            ],
            'filesystem' => [
                'accessMode' => 'READ_ONLY|READ_WRITE',
                'createMode' => 'PRIVATE|PUBLIC',
                'directory' => '<string>',
                'paths' => ['<string>', ...],
            ],
        ],
        // ...
    ],
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'effectiveSettings' => [
    ],
    'executionRole' => '<string>',
    'extensionDisplayName' => '<string>',
    'extensionId' => '<string>',
    'id' => '<string>',
    'inherited' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'interfaces' => [
        '<InterfaceId>' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
                'basePath' => '<string>',
            ],
        ],
        // ...
    ],
    'latestVersion' => '<string>',
    'name' => '<string>',
    'profileId' => '<string>',
    'profileName' => '<string>',
    'resolvedVersion' => '<string>',
    'updatedAt' => <DateTime>,
    'versionPolicy' => [
        'updateStrategy' => 'AUTOMATIC|MANUAL',
        'versionSelector' => '<string>',
    ],
]

Result Details

Members
approvedCapabilities
Type: Associative array of custom strings keys (CapabilityPath) to CapabilityDefinition structures

A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile entry.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was created.

description
Type: string

A description of the entry's purpose.

effectiveSettings
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

executionRole
Type: string

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

extensionDisplayName
Required: Yes
Type: string

The display name of the extension this entry references.

extensionId
Required: Yes
Type: string

The id of the extension this entry references, such as aws:secretsmanager.

id
Required: Yes
Type: string

The service-generated id of the profile entry.

inherited
Type: ExtensionDefaults structure

The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

interfaces
Type: Associative array of custom strings keys (InterfaceId) to InterfaceOptions structures

Per-interface options for this entry, keyed by the id of an interface the extension declares.

latestVersion
Type: string

The extension's latest released version, whether or not the entry's version policy selects it.

name
Required: Yes
Type: string

The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

profileId
Required: Yes
Type: string

The id of the profile this entry belongs to.

profileName
Required: Yes
Type: string

The name of the profile this entry belongs to.

resolvedVersion
Type: string

The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was last updated. Equal to createdAt until the first update.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

Errors

ServiceQuotaExceededException:

The request would exceed a service quota for the account.

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

DeleteProfile

$result = $client->deleteProfile([/* ... */]);
$promise = $client->deleteProfileAsync([/* ... */]);

Deletes a profile and its profile entries.

Parameter Syntax

$result = $client->deleteProfile([
    'identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
identifier
Required: Yes
Type: string

The identifier (id or name) of the profile to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

DeleteProfileEntry

$result = $client->deleteProfileEntry([/* ... */]);
$promise = $client->deleteProfileEntryAsync([/* ... */]);

Removes a profile entry, unbinding the extension from the profile.

Parameter Syntax

$result = $client->deleteProfileEntry([
    'identifier' => '<string>', // REQUIRED
    'profileIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
identifier
Required: Yes
Type: string

The identifier of the profile entry.

profileIdentifier
Required: Yes
Type: string

The identifier of the owning profile.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

GetExtension

$result = $client->getExtension([/* ... */]);
$promise = $client->getExtensionAsync([/* ... */]);

Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.

Parameter Syntax

$result = $client->getExtension([
    'extensionVersion' => '<string>',
    'identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
extensionVersion
Type: string

The version to retrieve. Omit it to retrieve the latest release.

identifier
Required: Yes
Type: string

The id of the extension, such as aws:secretsmanager.

Result Syntax

[
    'arn' => '<string>',
    'configuration' => [
        'capabilities' => [
            [
                'definition' => [
                    'aws' => [
                        'services' => [
                            '<String_1_32>' => ['<string>', ...],
                            // ...
                        ],
                    ],
                    'exec' => [
                        'args' => ['<string>', ...],
                        'command' => '<string>',
                        'timeoutInSeconds' => <integer>,
                    ],
                    'filesystem' => [
                        'accessMode' => 'READ_ONLY|READ_WRITE',
                        'createMode' => 'PRIVATE|PUBLIC',
                        'directory' => '<string>',
                        'paths' => ['<string>', ...],
                    ],
                ],
                'id' => '<string>',
                'purpose' => '<string>',
                'required' => true || false,
            ],
            // ...
        ],
        'interfaces' => [
            [
                'id' => '<string>',
            ],
            // ...
        ],
        'settings' => [
            [
                'activeWhen' => '<string>',
                'definition' => [
                    'array' => [
                        'itemDefinition' => [...], // RECURSIVE
                        'maxLength' => <integer>,
                        'minLength' => <integer>,
                    ],
                    'boolean' => [
                        'default' => true || false,
                    ],
                    'float' => [
                        'default' => <float>,
                        'max' => <float>,
                        'min' => <float>,
                    ],
                    'group' => [
                        'capabilities' => [
                            [
                                'definition' => [
                                    'aws' => [
                                        'services' => [
                                            '<String_1_32>' => ['<string>', ...],
                                            // ...
                                        ],
                                    ],
                                    'exec' => [
                                        'args' => ['<string>', ...],
                                        'command' => '<string>',
                                        'timeoutInSeconds' => <integer>,
                                    ],
                                    'filesystem' => [
                                        'accessMode' => 'READ_ONLY|READ_WRITE',
                                        'createMode' => 'PRIVATE|PUBLIC',
                                        'directory' => '<string>',
                                        'paths' => ['<string>', ...],
                                    ],
                                ],
                                'id' => '<string>',
                                'purpose' => '<string>',
                                'required' => true || false,
                            ],
                            // ...
                        ],
                        'settings' => [...], // RECURSIVE
                    ],
                    'integer' => [
                        'default' => <integer>,
                        'max' => <integer>,
                        'min' => <integer>,
                    ],
                    'string' => [
                        'default' => '<string>',
                        'enum' => ['<string>', ...],
                        'format' => 'arn|filepath',
                        'maxLength' => <integer>,
                        'minLength' => <integer>,
                        'pattern' => '<string>',
                    ],
                ],
                'description' => '<string>',
                'displayName' => '<string>',
                'id' => '<string>',
                'required' => true || false,
            ],
            // ...
        ],
    ],
    'description' => '<string>',
    'displayName' => '<string>',
    'documentationLink' => '<string>',
    'id' => '<string>',
    'overview' => '<string>',
    'releaseNotes' => '<string>',
    'releasedAt' => <DateTime>,
    'version' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the extension.

configuration
Type: ExtensionConfiguration structure

The settings, capabilities and interfaces declared by this extension version.

description
Type: string

A full description of the extension's purpose and functionality.

displayName
Required: Yes
Type: string

The extension's display name.

documentationLink
Type: string

A link to external documentation for this extension.

id
Required: Yes
Type: string

The extension's id, in the form namespace:name, such as aws:secretsmanager.

overview
Type: string

A short summary of what the extension does, suitable for a catalog listing.

releaseNotes
Type: string

Author-provided notes describing what changed in this release.

releasedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when this version was released.

version
Required: Yes
Type: string

The semantic version of this release.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

GetProfile

$result = $client->getProfile([/* ... */]);
$promise = $client->getProfileAsync([/* ... */]);

Retrieves a profile by its identifier (id or name).

Parameter Syntax

$result = $client->getProfile([
    'identifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
identifier
Required: Yes
Type: string

The identifier (id or name) of the profile.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'entryCount' => <integer>,
    'extensionDefaults' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'id' => '<string>',
    'name' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was created.

description
Type: string

A human-readable description of this profile's purpose or target environment.

entryCount
Required: Yes
Type: int

The number of entries in this profile.

extensionDefaults
Type: ExtensionDefaults structure

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

id
Required: Yes
Type: string

The service-generated id of the profile.

name
Required: Yes
Type: string

The name of the profile.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was last updated. Equal to createdAt until the first update.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

GetProfileEntry

$result = $client->getProfileEntry([/* ... */]);
$promise = $client->getProfileEntryAsync([/* ... */]);

Retrieves a profile entry by its profile identifier and entry identifier.

Parameter Syntax

$result = $client->getProfileEntry([
    'identifier' => '<string>', // REQUIRED
    'profileIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
identifier
Required: Yes
Type: string

The identifier (id or name) of the profile entry.

profileIdentifier
Required: Yes
Type: string

The identifier of the owning profile.

Result Syntax

[
    'approvedCapabilities' => [
        '<CapabilityPath>' => [
            'aws' => [
                'services' => [
                    '<String_1_32>' => ['<string>', ...],
                    // ...
                ],
            ],
            'exec' => [
                'args' => ['<string>', ...],
                'command' => '<string>',
                'timeoutInSeconds' => <integer>,
            ],
            'filesystem' => [
                'accessMode' => 'READ_ONLY|READ_WRITE',
                'createMode' => 'PRIVATE|PUBLIC',
                'directory' => '<string>',
                'paths' => ['<string>', ...],
            ],
        ],
        // ...
    ],
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'effectiveSettings' => [
    ],
    'executionRole' => '<string>',
    'extensionDisplayName' => '<string>',
    'extensionId' => '<string>',
    'id' => '<string>',
    'inherited' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'interfaces' => [
        '<InterfaceId>' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
                'basePath' => '<string>',
            ],
        ],
        // ...
    ],
    'latestVersion' => '<string>',
    'name' => '<string>',
    'profileId' => '<string>',
    'profileName' => '<string>',
    'resolvedVersion' => '<string>',
    'updatedAt' => <DateTime>,
    'versionPolicy' => [
        'updateStrategy' => 'AUTOMATIC|MANUAL',
        'versionSelector' => '<string>',
    ],
]

Result Details

Members
approvedCapabilities
Type: Associative array of custom strings keys (CapabilityPath) to CapabilityDefinition structures

A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile entry.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was created.

description
Type: string

A description of the entry's purpose.

effectiveSettings
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

executionRole
Type: string

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

extensionDisplayName
Required: Yes
Type: string

The display name of the extension this entry references.

extensionId
Required: Yes
Type: string

The id of the extension this entry references, such as aws:secretsmanager.

id
Required: Yes
Type: string

The service-generated id of the profile entry.

inherited
Type: ExtensionDefaults structure

The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

interfaces
Type: Associative array of custom strings keys (InterfaceId) to InterfaceOptions structures

Per-interface options for this entry, keyed by the id of an interface the extension declares.

latestVersion
Type: string

The extension's latest released version, whether or not the entry's version policy selects it.

name
Required: Yes
Type: string

The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

profileId
Required: Yes
Type: string

The id of the profile this entry belongs to.

profileName
Required: Yes
Type: string

The name of the profile this entry belongs to.

resolvedVersion
Type: string

The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was last updated. Equal to createdAt until the first update.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

ListExtensionVersions

$result = $client->listExtensionVersions([/* ... */]);
$promise = $client->listExtensionVersionsAsync([/* ... */]);

Lists the released versions of an extension, newest first, optionally filtered by a version selector.

Parameter Syntax

$result = $client->listExtensionVersions([
    'identifier' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'versionSelector' => '<string>',
]);

Parameter Details

Members
identifier
Required: Yes
Type: string

The id of the extension whose versions to list.

maxResults
Type: int

The maximum number of versions to return in one page.

nextToken
Type: string

The token returned by a previous call, to retrieve the next page of results.

versionSelector
Type: string

Optional selector that limits the results to matching versions, such as 1.x.x.

Result Syntax

[
    'items' => [
        [
            'arn' => '<string>',
            'displayName' => '<string>',
            'documentationLink' => '<string>',
            'id' => '<string>',
            'overview' => '<string>',
            'releaseNotes' => '<string>',
            'releasedAt' => <DateTime>,
            'version' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of ExtensionSummary structures

The versions in this page of results, newest first.

nextToken
Type: string

A token to retrieve the next page of results. Absent when there are no more results.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

ListExtensions

$result = $client->listExtensions([/* ... */]);
$promise = $client->listExtensionsAsync([/* ... */]);

Lists released extensions. Returns the latest version of each extension.

Parameter Syntax

$result = $client->listExtensions([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of extensions to return in one page.

nextToken
Type: string

The token returned by a previous call, to retrieve the next page of results.

Result Syntax

[
    'items' => [
        [
            'arn' => '<string>',
            'displayName' => '<string>',
            'documentationLink' => '<string>',
            'id' => '<string>',
            'overview' => '<string>',
            'releaseNotes' => '<string>',
            'releasedAt' => <DateTime>,
            'version' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of ExtensionSummary structures

The latest version of each extension in this page of results.

nextToken
Type: string

A token to retrieve the next page of results. Absent when there are no more results.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

ListProfileEntries

$result = $client->listProfileEntries([/* ... */]);
$promise = $client->listProfileEntriesAsync([/* ... */]);

Lists profile entries for a given profile.

Parameter Syntax

$result = $client->listProfileEntries([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'profileIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of profile entries to return in one page.

nextToken
Type: string

The token returned by a previous call, to retrieve the next page of results.

profileIdentifier
Required: Yes
Type: string

The identifier of the profile whose entries to list.

Result Syntax

[
    'items' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'extensionDisplayName' => '<string>',
            'extensionId' => '<string>',
            'id' => '<string>',
            'latestVersion' => '<string>',
            'name' => '<string>',
            'profileId' => '<string>',
            'profileName' => '<string>',
            'resolvedVersion' => '<string>',
            'updatedAt' => <DateTime>,
            'versionPolicy' => [
                'updateStrategy' => 'AUTOMATIC|MANUAL',
                'versionSelector' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of ProfileEntrySummary structures

The profile entries in this page of results.

nextToken
Type: string

A token to retrieve the next page of results. Absent when there are no more results.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

ListProfiles

$result = $client->listProfiles([/* ... */]);
$promise = $client->listProfilesAsync([/* ... */]);

Lists profiles in the account, optionally filtered by name.

Parameter Syntax

$result = $client->listProfiles([
    'maxResults' => <integer>,
    'name' => '<string>',
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of profiles to return in one page.

name
Type: string

Optional filter to match profiles by name.

nextToken
Type: string

The token returned by a previous call, to retrieve the next page of results.

Result Syntax

[
    'items' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'entryCount' => <integer>,
            'id' => '<string>',
            'name' => '<string>',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of ProfileSummary structures

The profiles in this page of results.

nextToken
Type: string

A token to retrieve the next page of results. Absent when there are no more results.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists the tags on a profile or profile entry.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the profile or profile entry whose tags to list.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

The resource's tags.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the profile or profile entry to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

The tags to add or replace.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes tags from a profile or profile entry.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the profile or profile entry to remove tags from.

tagKeys
Required: Yes
Type: Array of strings

The keys of the tags to remove.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

UpdateProfile

$result = $client->updateProfile([/* ... */]);
$promise = $client->updateProfileAsync([/* ... */]);

Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.

Parameter Syntax

$result = $client->updateProfile([
    'description' => '<string>',
    'extensionDefaults' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'identifier' => '<string>', // REQUIRED
    'name' => '<string>',
]);

Parameter Details

Members
description
Type: string

A human-readable description of the profile's purpose or target environment. An empty string removes the description.

extensionDefaults
Type: ExtensionDefaults structure

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

identifier
Required: Yes
Type: string

The identifier (id or name) of the profile to update.

name
Type: string

The new name of the profile. Must be unique within the account.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'entryCount' => <integer>,
    'extensionDefaults' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'id' => '<string>',
    'name' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was created.

description
Type: string

A human-readable description of this profile's purpose or target environment.

entryCount
Required: Yes
Type: int

The number of entries in this profile.

extensionDefaults
Type: ExtensionDefaults structure

Default values used by the extensions in this profile. These can be overridden at the profile entry level.

id
Required: Yes
Type: string

The service-generated id of the profile.

name
Required: Yes
Type: string

The name of the profile.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was last updated. Equal to createdAt until the first update.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

UpdateProfileEntry

$result = $client->updateProfileEntry([/* ... */]);
$promise = $client->updateProfileEntryAsync([/* ... */]);

Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.

Parameter Syntax

$result = $client->updateProfileEntry([
    'approve' => ['<string>', ...],
    'description' => '<string>',
    'executionRole' => '<string>',
    'identifier' => '<string>', // REQUIRED
    'interfaces' => [
        '<InterfaceId>' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
                'basePath' => '<string>',
            ],
        ],
        // ...
    ],
    'name' => '<string>',
    'profileIdentifier' => '<string>', // REQUIRED
    'settings' => [
    ],
    'versionPolicy' => [
        'updateStrategy' => 'AUTOMATIC|MANUAL',
        'versionSelector' => '<string>',
    ],
]);

Parameter Details

Members
approve
Type: Array of strings

The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.

description
Type: string

A new description of the entry's purpose. An empty string removes the description.

executionRole
Type: string

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal. An empty string removes the entry's role, so the profile's default applies.

identifier
Required: Yes
Type: string

The identifier of the profile entry

interfaces
Type: Associative array of custom strings keys (InterfaceId) to InterfaceOptions structures

Per-interface options, keyed by the id of an interface the extension declares.

name
Type: string

A new name for the entry, unique within the profile.

profileIdentifier
Required: Yes
Type: string

The identifier of the owning profile.

settings
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

Result Syntax

[
    'approvedCapabilities' => [
        '<CapabilityPath>' => [
            'aws' => [
                'services' => [
                    '<String_1_32>' => ['<string>', ...],
                    // ...
                ],
            ],
            'exec' => [
                'args' => ['<string>', ...],
                'command' => '<string>',
                'timeoutInSeconds' => <integer>,
            ],
            'filesystem' => [
                'accessMode' => 'READ_ONLY|READ_WRITE',
                'createMode' => 'PRIVATE|PUBLIC',
                'directory' => '<string>',
                'paths' => ['<string>', ...],
            ],
        ],
        // ...
    ],
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'effectiveSettings' => [
    ],
    'executionRole' => '<string>',
    'extensionDisplayName' => '<string>',
    'extensionId' => '<string>',
    'id' => '<string>',
    'inherited' => [
        'executionRole' => '<string>',
        'interfaceDefaults' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
            ],
        ],
    ],
    'interfaces' => [
        '<InterfaceId>' => [
            'http' => [
                'authentication' => [
                    'extensionKey' => [
                        'accessKeyId' => '<string>',
                        'secretKey' => [
                            'literal' => '<string>',
                            'reference' => '<string>',
                        ],
                    ],
                    'none' => true || false,
                    'runtimeCredentials' => [
                    ],
                ],
                'basePath' => '<string>',
            ],
        ],
        // ...
    ],
    'latestVersion' => '<string>',
    'name' => '<string>',
    'profileId' => '<string>',
    'profileName' => '<string>',
    'resolvedVersion' => '<string>',
    'updatedAt' => <DateTime>,
    'versionPolicy' => [
        'updateStrategy' => 'AUTOMATIC|MANUAL',
        'versionSelector' => '<string>',
    ],
]

Result Details

Members
approvedCapabilities
Type: Associative array of custom strings keys (CapabilityPath) to CapabilityDefinition structures

A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile entry.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was created.

description
Type: string

A description of the entry's purpose.

effectiveSettings
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.

executionRole
Type: string

The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.

extensionDisplayName
Required: Yes
Type: string

The display name of the extension this entry references.

extensionId
Required: Yes
Type: string

The id of the extension this entry references, such as aws:secretsmanager.

id
Required: Yes
Type: string

The service-generated id of the profile entry.

inherited
Type: ExtensionDefaults structure

The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.

interfaces
Type: Associative array of custom strings keys (InterfaceId) to InterfaceOptions structures

Per-interface options for this entry, keyed by the id of an interface the extension declares.

latestVersion
Type: string

The extension's latest released version, whether or not the entry's version policy selects it.

name
Required: Yes
Type: string

The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

profileId
Required: Yes
Type: string

The id of the profile this entry belongs to.

profileName
Required: Yes
Type: string

The name of the profile this entry belongs to.

resolvedVersion
Type: string

The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was last updated. Equal to createdAt until the first update.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

Errors

InternalServerException:

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

ConflictException:

The request conflicts with the current state of the resource.

AccessDeniedException:

The caller does not have permission to perform the operation.

ValidationException:

The request was malformed or contained invalid parameter values.

ResourceNotFoundException:

The specified resource does not exist or the caller does not have permission to access it.

ThrottlingException:

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

Shapes

AccessDeniedException

Description

The caller does not have permission to perform the operation.

Members
message
Required: Yes
Type: string

A human-readable description of why the request was denied.

ArraySetting

Description

Specification for an array-typed setting. The element type is described in the itemDefinition.

Members
itemDefinition
Required: Yes
Type: SettingDefinition structure

The definition for each element in the array.

maxLength
Type: int

The most items the array may hold, between 1 and 100. Must be at least minLength.

minLength
Type: int

The fewest items the array may hold.

Authentication

Description

Controls how clients identify themselves when interacting with an extension.

Members
extensionKey
Type: ExtensionKey structure

Clients sign requests with SigV4 using a key the service issues.

none
Type: boolean

Whether clients may interact with the extension interface without authenticating.

runtimeCredentials
Type: RuntimeCredentials structure

Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

AwsServiceCapability

Description

Requests permission to call AWS service APIs.

Members
services
Required: Yes
Type: Associative array of custom strings keys (String_1_32) to stringss

A map of AWS service names to the list of API operations the extension is allowed to invoke.

BooleanSetting

Description

Specification for a boolean-typed setting.

Members
default
Type: boolean

The default value used when the deployer does not provide one.

Capability

Description

Declares a host capability that an extension requires. Capabilities must be explicitly approved by the deployer before the extension can use them.

Members
definition
Required: Yes
Type: CapabilityDefinition structure

The type-specific details of the requested capability.

id
Required: Yes
Type: string

A unique identifier for this capability within the extension's configuration.

purpose
Required: Yes
Type: string

A description of why the extension needs this capability and how it will be used.

required
Type: boolean

Whether this capability is mandatory for the extension to function. Defaults to false.

CapabilityDefinition

Description

The definition for a requested capability. Exactly one member must be set, indicating the capability type.

Members
aws
Type: AwsServiceCapability structure

Permission to call AWS service APIs.

exec
Type: ExecCapability structure

Permission to execute a host command.

filesystem
Type: FileSystemCapability structure

Access to the host filesystem.

Conflict

Description

What a request conflicts with. Exactly one member is set.

Members
dependencyState
Type: DependencyStateConflict structure

A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.

duplicateValue
Type: DuplicateValueConflict structure

Another resource already has the value the request gives a field that must be unique, such as a profile's name.

resourceState
Type: ResourceStateConflict structure

The target resource's state doesn't allow the request.

ConflictException

Description

The request conflicts with the current state of the resource.

Members
conflict
Type: Conflict structure

The details of the conflict.

message
Required: Yes
Type: string

A short summary that is the same for every ConflictException. Read conflict for the details.

DependencyStateConflict

Description

A resource the request depends on is in a state that doesn't allow the request.

Members
dependency
Type: string

The dependency causing the conflict.

identifier
Type: string

An identifier for the conflicting dependency.

problem
Type: string

The problem caused by the dependency's state.

state
Type: string

The state of the dependency that conflicts with the request.

DuplicateValueConflict

Description

A field that must be unique has a value another resource already uses.

Members
conflictsWith
Type: string

The identifier of the conflicting item.

field
Required: Yes
Type: string

The name of the field causing a conflict.

value
Required: Yes
Type: string

The value of the conflicting field.

ExecCapability

Description

Requests permission to execute a host command.

Members
args
Type: Array of strings

Arguments passed to the command.

command
Required: Yes
Type: string

The command to execute.

timeoutInSeconds
Type: int

Maximum time in seconds the command is allowed to run before being terminated.

ExtensionConfiguration

Description

The configuration schema declared by an extension, defining settings the deployer can customize and capabilities the extension requires from the host environment.

Members
capabilities
Type: Array of Capability structures

The host capabilities this extension requires to function (filesystem access, AWS service calls, exec permissions).

interfaces
Type: Array of Interface structures

The interfaces this extension serves to clients.

settings
Type: Array of Setting structures

The configurable settings exposed by this extension.

ExtensionDefaults

Description

Default runtime settings for the profile entries in this profile.

Members
executionRole
Type: string

The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

interfaceDefaults
Type: InterfaceDefaults structure

Default options for the interfaces of the extensions in this profile, by interface type.

ExtensionKey

Description

A SigV4 key clients use to interact with an extension interface.

Members
accessKeyId
Type: string

The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

secretKey
Type: SecretKey structure

The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

ExtensionSummary

Description

A summary view of a released extension, returned in list operations.

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the extension.

displayName
Required: Yes
Type: string

The extension's display name.

documentationLink
Type: string

A link to external documentation for this extension.

id
Required: Yes
Type: string

The extension's id, in the form namespace:name, such as aws:secretsmanager.

overview
Type: string

A short summary of what the extension does, suitable for a catalog listing.

releaseNotes
Type: string

Author-provided notes describing what changed in this release.

releasedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when this version was released.

version
Required: Yes
Type: string

The semantic version of this release.

FieldConstraint

Description

A field whose value failed a constraint.

Members
constraint
Type: string

The reason why the field's value is invalid.

constraintValuesFrom
Type: Array of strings

Where each of the constraint's values came from, when any was read from another field. Each entry is the path of that field, or a {label} such as {account.maxExtensionSize} for a value the caller doesn't set.

field
Type: string

The path of the field that failed validation, with nested members joined by dots, such as versionPolicy.versionSelector.

value
Type: string

The value the constraint evaluated: the field's value, or its length when the constraint is len.

FileSystemCapability

Description

Requests access to the host filesystem. The extension can read from or write to specified paths.

Members
accessMode
Required: Yes
Type: string

The level of filesystem access requested.

createMode
Type: string

Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

directory
Type: string

A base directory path. If provided, grants access to this directory and its contents.

paths
Type: Array of strings

Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

FloatSetting

Description

Specification for a floating-point-typed setting.

Members
default
Type: double

The default value used when the deployer does not provide one.

max
Type: double

The largest allowed value, inclusive. Must be at least min.

min
Type: double

The smallest allowed value, inclusive.

GroupSetting

Description

Specification for a group-typed setting. A group is a nested configuration block containing its own settings and optional capabilities, enabling hierarchical configuration.

Members
capabilities
Type: Array of Capability structures

Optional capabilities scoped to this group.

settings
Required: Yes
Type: Array of Setting structures

The settings within this group.

HttpInterfaceDefaults

Description

Default options for the HTTP interfaces of the extensions in this profile.

Members
authentication
Type: Authentication structure

The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.

HttpInterfaceOptions

Description

Options for an HTTP interface of an extension.

Members
authentication
Type: Authentication structure

How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.

basePath
Type: string

The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

IntegerSetting

Description

Specification for an integer-typed setting.

Members
default
Type: long (int|float)

The default value used when the deployer does not provide one.

max
Type: long (int|float)

The largest allowed value, inclusive. Must be at least min.

min
Type: long (int|float)

The smallest allowed value, inclusive.

Interface

Description

Declares an HTTP interface that an extension serves to clients.

Members
id
Required: Yes
Type: string

A unique identifier for this interface within the extension's configuration.

InterfaceDefaults

Description

Default interface options, with one member per interface type. Each member applies to every interface of that type unless the profile entry sets the same option in that interface's options.

Members
http
Type: HttpInterfaceDefaults structure

Default options for HTTP interfaces.

InterfaceOptions

Description

Options for one interface of an extension. Exactly one member must be set.

Members
http
Type: HttpInterfaceOptions structure

Options for an HTTP interface.

InternalServerException

Description

The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.

Members
message
Required: Yes
Type: string

A short summary that is the same for every InternalServerException.

retryAfterSeconds
Type: int

When present, the number of seconds to wait before retrying, from the Retry-After header.

ProfileEntrySummary

Description

A summary view of a profile entry.

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile entry.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was created.

extensionDisplayName
Required: Yes
Type: string

The display name of the extension this entry references.

extensionId
Required: Yes
Type: string

The id of the extension this entry references, such as aws:secretsmanager.

id
Required: Yes
Type: string

The service-generated id of the profile entry.

latestVersion
Type: string

The extension's latest released version, whether or not the entry's version policy selects it.

name
Required: Yes
Type: string

The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.

profileId
Required: Yes
Type: string

The id of the profile this entry belongs to.

profileName
Required: Yes
Type: string

The name of the profile this entry belongs to.

resolvedVersion
Type: string

The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile entry was last updated. Equal to createdAt until the first update.

versionPolicy
Type: VersionPolicy structure

Controls which extension version this entry tracks and how it adopts new releases.

ProfileSummary

Description

A summary view of a profile, returned in list operations.

Members
arn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the profile.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was created.

entryCount
Required: Yes
Type: int

The number of entries in this profile.

id
Required: Yes
Type: string

The service-generated id of the profile.

name
Required: Yes
Type: string

The name of the profile.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the profile was last updated. Equal to createdAt until the first update.

ResourceNotFoundException

Description

The specified resource does not exist or the caller does not have permission to access it.

Members
identifier
Type: string

The identifier that was used in the lookup.

message
Required: Yes
Type: string

A short summary that is the same for every ResourceNotFoundException. Read resourceType and identifier for the details.

resourceType
Type: string

The type of resource that was not found.

ResourceStateConflict

Description

The target resource's state doesn't allow the request.

Members
problem
Type: string

The problem caused by the resource's state.

state
Type: string

The state of the resource that conflicts with the request.

RuntimeCredentials

Description

Verifies clients against the Cloud Extensions Runtime's own AWS credentials. Works only when the credential source returns the same credentials to every process that reads it, such as an instance profile, an ECS task role, a Lambda function's environment, or static keys in a shared credentials file. Credentials minted separately for each reader, such as from an assumed-role, IAM Identity Center, or web identity profile, can't be verified.

Members

SecretKey

Description

A SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. Exactly one member must be set.

Members
literal
Type: string

The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

reference
Type: string

The ARN of a Secrets Manager secret holding the secret key.

SemanticError

Description

A problem with the request that a single field constraint doesn't describe.

Members
item
Type: string

The field or item the problem applies to, such as approve or nextToken.

problem
Required: Yes
Type: string

An uppercase code naming the problem, such as UNKNOWN_CAPABILITY or REQUIRES_EXACTLY_ONE_MEMBER.

value
Type: string

The value that caused the problem, when there is one.

ServiceQuotaExceededException

Description

The request would exceed a service quota for the account.

Members
message
Required: Yes
Type: string

A short summary that is the same for every ServiceQuotaExceededException. Read resourceType and resourceId for the details.

quotaCode
Type: string

The quota code that would be exceeded.

resourceId
Type: string

The identifier of the resource whose quota would be exceeded.

resourceType
Type: string

The type of resource whose quota would be exceeded, such as the account that holds a set of profiles.

serviceCode
Type: string

The service code for quota lookup.

Setting

Description

Defines a configurable setting that an extension exposes to deployers. Settings are part of an extension's declared configuration schema.

Members
activeWhen
Type: string

A conditional expression referencing another setting's id. When specified, this setting is only active (visible and applicable) when the referenced condition is met.

definition
Required: Yes
Type: SettingDefinition structure

The type and constraints for this setting's value.

description
Required: Yes
Type: string

A description of what this setting controls and how it affects the extension's behavior.

displayName
Required: Yes
Type: string

A short, human-readable label for this setting, suitable for display in a UI.

id
Required: Yes
Type: string

A unique identifier for this setting within the extension's configuration.

required
Type: boolean

Whether the deployer must provide a value for this setting. Defaults to false.

SettingDefinition

Description

Defines the data type and validation constraints for a setting value. Exactly one member must be set.

Members
array
Type: ArraySetting structure

The setting's value is a JSON array whose items share one definition.

boolean
Type: BooleanSetting structure

The setting's value is true or false.

float
Type: FloatSetting structure

The setting's value is a number that may have a fractional part.

group
Type: GroupSetting structure

The setting's value is a JSON object holding a nested set of settings.

integer
Type: IntegerSetting structure

The setting's value is a whole number.

string
Type: StringSetting structure

The setting's value is a string.

Settings

Description

The setting values for an extension, as free-form JSON keyed by the extension's setting ids. Setting values are sensitive, so they are redacted from logs.

Members

StringSetting

Description

Specification for a string-typed setting.

Members
default
Type: string

The default value used when the deployer does not provide one.

enum
Type: Array of strings

An explicit list of allowed values. The deployer must choose from this set.

format
Type: string

A named format constraint that implies additional validation (e.g. 'arn' or 'filepath').

maxLength
Type: int

The longest length the value may have. Must be greater than 0 and at least minLength.

minLength
Type: int

The shortest length the value may have.

pattern
Type: string

A regular expression the value must match.

ThrottlingException

Description

The request rate exceeded a limit. Retry with capped exponential backoff and jitter.

Members
message
Required: Yes
Type: string

A human-readable description of the error.

retryAfterSeconds
Type: int

When present, the number of seconds to wait before retrying, from the Retry-After header.

ValidationError

Description

One reason a request failed validation. Exactly one member is set.

Members
fieldConstraint
Type: FieldConstraint structure

A field's value failed a constraint, such as a length limit or a pattern.

semanticError
Type: SemanticError structure

The request has a problem that a single constraint doesn't describe, such as an approve entry that names no capability, or an expired nextToken.

ValidationException

Description

The request was malformed or contained invalid parameter values.

Members
errors
Type: Array of ValidationError structures

A list of specific field-level validation errors, when available.

message
Required: Yes
Type: string

A short summary that is the same for every ValidationException. Read reason and errors for the details.

reason
Required: Yes
Type: string

A machine-readable classification of the validation failure.

VersionPolicy

Description

Specifies how a profile entry selects which extension version to use.

Members
updateStrategy
Type: string

The update strategy to use when a new extension version is available.

versionSelector
Type: string

An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version