Amazon Bedrock Agent Core Control Plane Fronting Layer 2023-06-05
- Client: Aws\BedrockAgentCoreControl\BedrockAgentCoreControlClient
- Service ID: bedrock-agentcore-control
- Version: 2023-06-05
This page describes the parameters and results for the operations of the Amazon Bedrock Agent Core Control Plane Fronting Layer (2023-06-05), and shows how to use the Aws\BedrockAgentCoreControl\BedrockAgentCoreControlClient object to call the described operations. This documentation is specific to the 2023-06-05 API version of the service.
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 */)
.
- CreateAgentRuntime ( array $params = [] )
- Creates an Amazon Secure Agent.
- CreateAgentRuntimeEndpoint ( array $params = [] )
- Creates an Amazon Secure AgentEndpoint.
- CreateApiKeyCredentialProvider ( array $params = [] )
- Creates a new API key credential provider.
- CreateBrowser ( array $params = [] )
- Creates a custom browser.
- CreateCodeInterpreter ( array $params = [] )
- Creates a custom code interpreter.
- CreateGateway ( array $params = [] )
- Creates a gateway for Amazon Bedrock Agent.
- CreateGatewayTarget ( array $params = [] )
- Creates a target for a gateway.
- CreateMemory ( array $params = [] )
- Creates a new memory.
- CreateOauth2CredentialProvider ( array $params = [] )
- Creates a new OAuth2 credential provider.
- CreateWorkloadIdentity ( array $params = [] )
- Creates a new workload identity.
- DeleteAgentRuntime ( array $params = [] )
- Deletes an Amazon Secure Agent.
- DeleteAgentRuntimeEndpoint ( array $params = [] )
- Deletes an Amazon Secure AgentEndpoint.
- DeleteApiKeyCredentialProvider ( array $params = [] )
- Deletes an API key credential provider.
- DeleteBrowser ( array $params = [] )
- Deletes a custom browser.
- DeleteCodeInterpreter ( array $params = [] )
- Deletes a custom code interpreter.
- DeleteGateway ( array $params = [] )
- Deletes a Gateway.
- DeleteGatewayTarget ( array $params = [] )
- Deletes a Gateway Target.
- DeleteMemory ( array $params = [] )
- Deletes a memory.
- DeleteOauth2CredentialProvider ( array $params = [] )
- Deletes an OAuth2 credential provider.
- DeleteWorkloadIdentity ( array $params = [] )
- Deletes a workload identity.
- GetAgentRuntime ( array $params = [] )
- Gets an Amazon Secure Agent.
- GetAgentRuntimeEndpoint ( array $params = [] )
- Gets information about an Amazon Secure AgentEndpoint.
- GetApiKeyCredentialProvider ( array $params = [] )
- Retrieves information about an API key credential provider.
- GetBrowser ( array $params = [] )
- Gets information about a custom browser.
- GetCodeInterpreter ( array $params = [] )
- Gets information about a custom code interpreter.
- GetGateway ( array $params = [] )
- Retrieves information about a specific Gateway.
- GetGatewayTarget ( array $params = [] )
- Retrieves information about a specific Gateway Target.
- GetMemory ( array $params = [] )
- Retrieve an existing memory.
- GetOauth2CredentialProvider ( array $params = [] )
- Retrieves information about an OAuth2 credential provider.
- GetTokenVault ( array $params = [] )
- Retrieves information about a token vault.
- GetWorkloadIdentity ( array $params = [] )
- Retrieves information about a workload identity.
- ListAgentRuntimeEndpoints ( array $params = [] )
- Lists all endpoints for a specific Amazon Secure Agent.
- ListAgentRuntimeVersions ( array $params = [] )
- Lists all versions of a specific Amazon Secure Agent.
- ListAgentRuntimes ( array $params = [] )
- Lists all Amazon Secure Agents in your account.
- ListApiKeyCredentialProviders ( array $params = [] )
- Lists all API key credential providers in your account.
- ListBrowsers ( array $params = [] )
- Lists all custom browsers in your account.
- ListCodeInterpreters ( array $params = [] )
- Lists all custom code interpreters in your account.
- ListGatewayTargets ( array $params = [] )
- Lists all targets for a specific Gateway.
- ListGateways ( array $params = [] )
- Lists all Gateways in the account.
- ListMemories ( array $params = [] )
- Lists the memory present.
- ListOauth2CredentialProviders ( array $params = [] )
- Lists all OAuth2 credential providers in your account.
- ListWorkloadIdentities ( array $params = [] )
- Lists all workload identities in your account.
- SetTokenVaultCMK ( array $params = [] )
- Sets the customer master key (CMK) for a token vault.
- UpdateAgentRuntime ( array $params = [] )
- Updates an existing Amazon Secure Agent.
- UpdateAgentRuntimeEndpoint ( array $params = [] )
- Updates an existing Amazon Secure AgentEndpoint.
- UpdateApiKeyCredentialProvider ( array $params = [] )
- Updates an existing API key credential provider.
- UpdateGateway ( array $params = [] )
- Updates an existing Gateway.
- UpdateGatewayTarget ( array $params = [] )
- Updates an existing Gateway Target.
- UpdateMemory ( array $params = [] )
- Update memory.
- UpdateOauth2CredentialProvider ( array $params = [] )
- Updates an existing OAuth2 credential provider.
- UpdateWorkloadIdentity ( array $params = [] )
- Updates an existing workload identity.
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:
- ListAgentRuntimeEndpoints
- ListAgentRuntimeVersions
- ListAgentRuntimes
- ListApiKeyCredentialProviders
- ListBrowsers
- ListCodeInterpreters
- ListGatewayTargets
- ListGateways
- ListMemories
- ListOauth2CredentialProviders
- ListWorkloadIdentities
Waiters
Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:
Waiter name | API Operation | Delay | Max Attempts |
---|---|---|---|
MemoryCreated | GetMemory | 2 | 60 |
Operations
CreateAgentRuntime
$result = $client->createAgentRuntime
([/* ... */]); $promise = $client->createAgentRuntimeAsync
([/* ... */]);
Creates an Amazon Secure Agent.
Parameter Syntax
$result = $client->createAgentRuntime([ 'agentRuntimeArtifact' => [ // REQUIRED 'containerConfiguration' => [ 'containerUri' => '<string>', // REQUIRED ], ], 'agentRuntimeName' => '<string>', // REQUIRED 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', // REQUIRED ], ], 'clientToken' => '<string>', 'description' => '<string>', 'environmentVariables' => ['<string>', ...], 'networkConfiguration' => [ // REQUIRED 'networkMode' => 'PUBLIC', // REQUIRED ], 'protocolConfiguration' => [ 'serverProtocol' => 'MCP|HTTP', // REQUIRED ], 'roleArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeArtifact
-
- Required: Yes
- Type: AgentArtifact structure
The artifact of the agent.
- agentRuntimeName
-
- Required: Yes
- Type: string
The name of the secure agent.
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The authorizer configuration for the agent runtime.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- description
-
- Type: string
The description of the agent runtime.
- environmentVariables
-
- Type: Associative array of custom strings keys (EnvironmentVariableKey) to strings
Environment variables to set in the agent runtime environment.
- networkConfiguration
-
- Required: Yes
- Type: NetworkConfiguration structure
The network configuration for the agent runtime.
- protocolConfiguration
-
- Type: ProtocolConfiguration structure
The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
- roleArn
-
- Required: Yes
- Type: string
The IAM role ARN that provides permissions for the agent runtime.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeId' => '<string>', 'agentRuntimeVersion' => '<string>', 'createdAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime.
- agentRuntimeVersion
-
- Required: Yes
- Type: string
The version of the agent runtime.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was created.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the agent runtime.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateAgentRuntimeEndpoint
$result = $client->createAgentRuntimeEndpoint
([/* ... */]); $promise = $client->createAgentRuntimeEndpointAsync
([/* ... */]);
Creates an Amazon Secure AgentEndpoint.
Parameter Syntax
$result = $client->createAgentRuntimeEndpoint([ 'agentRuntimeId' => '<string>', // REQUIRED 'agentRuntimeVersion' => '<string>', 'clientToken' => '<string>', 'description' => '<string>', 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to create an endpoint for.
- agentRuntimeVersion
-
- Type: string
The version of the agent runtime to use for the endpoint.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- description
-
- Type: string
The description of the agent runtime endpoint.
- name
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeEndpointArn' => '<string>', 'createdAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'targetVersion' => '<string>', ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime endpoint.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was created.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime endpoint.
- targetVersion
-
- Required: Yes
- Type: string
The target version of the agent runtime for the endpoint.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateApiKeyCredentialProvider
$result = $client->createApiKeyCredentialProvider
([/* ... */]); $promise = $client->createApiKeyCredentialProviderAsync
([/* ... */]);
Creates a new API key credential provider.
Parameter Syntax
$result = $client->createApiKeyCredentialProvider([ 'apiKey' => '<string>', // REQUIRED 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- apiKey
-
- Required: Yes
- Type: string
The API key to use for authentication. This value is encrypted and stored securely.
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider. The name must be unique within your account.
Result Syntax
[ 'apiKeySecretArn' => [ 'secretArn' => '<string>', ], 'credentialProviderArn' => '<string>', 'name' => '<string>', ]
Result Details
Members
- apiKeySecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the secret containing the API key.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the created API key credential provider.
- name
-
- Required: Yes
- Type: string
The name of the created API key credential provider.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ResourceLimitExceededException:
Exception thrown when a resource limit is exceeded.
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
- EncryptionFailure:
Exception thrown when encryption of a secret fails.
CreateBrowser
$result = $client->createBrowser
([/* ... */]); $promise = $client->createBrowserAsync
([/* ... */]);
Creates a custom browser.
Parameter Syntax
$result = $client->createBrowser([ 'clientToken' => '<string>', 'description' => '<string>', 'executionRoleArn' => '<string>', 'name' => '<string>', // REQUIRED 'networkConfiguration' => [ // REQUIRED 'networkMode' => 'PUBLIC', // REQUIRED ], 'recording' => [ 'enabled' => true || false, 's3Location' => [ 'bucket' => '<string>', // REQUIRED 'prefix' => '<string>', // REQUIRED ], ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- description
-
- Type: string
The description of the browser.
- executionRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.
- name
-
- Required: Yes
- Type: string
The name of the browser. The name must be unique within your account.
- networkConfiguration
-
- Required: Yes
- Type: BrowserNetworkConfiguration structure
The network configuration for the browser. This configuration specifies the network mode for the browser.
- recording
-
- Type: RecordingConfig structure
The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.
Result Syntax
[ 'browserArn' => '<string>', 'browserId' => '<string>', 'createdAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- browserArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the created browser.
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the created browser.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was created.
- status
-
- Required: Yes
- Type: string
The current status of the browser.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateCodeInterpreter
$result = $client->createCodeInterpreter
([/* ... */]); $promise = $client->createCodeInterpreterAsync
([/* ... */]);
Creates a custom code interpreter.
Parameter Syntax
$result = $client->createCodeInterpreter([ 'clientToken' => '<string>', 'description' => '<string>', 'executionRoleArn' => '<string>', 'name' => '<string>', // REQUIRED 'networkConfiguration' => [ // REQUIRED 'networkMode' => 'PUBLIC|SANDBOX', // REQUIRED ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- description
-
- Type: string
The description of the code interpreter.
- executionRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.
- name
-
- Required: Yes
- Type: string
The name of the code interpreter. The name must be unique within your account.
- networkConfiguration
-
- Required: Yes
- Type: CodeInterpreterNetworkConfiguration structure
The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.
Result Syntax
[ 'codeInterpreterArn' => '<string>', 'codeInterpreterId' => '<string>', 'createdAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- codeInterpreterArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the created code interpreter.
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the created code interpreter.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was created.
- status
-
- Required: Yes
- Type: string
The current status of the code interpreter.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateGateway
$result = $client->createGateway
([/* ... */]); $promise = $client->createGatewayAsync
([/* ... */]);
Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.
To create a gateway, you must specify a name, protocol type, and IAM role. The role grants the gateway permission to access Amazon Web Services services and resources.
Parameter Syntax
$result = $client->createGateway([ 'authorizerConfiguration' => [ // REQUIRED 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', // REQUIRED ], ], 'authorizerType' => 'CUSTOM_JWT', // REQUIRED 'clientToken' => '<string>', 'description' => '<string>', 'exceptionLevel' => 'DEBUG', 'kmsKeyArn' => '<string>', 'name' => '<string>', // REQUIRED 'protocolConfiguration' => [ 'mcp' => [ 'instructions' => '<string>', 'searchType' => 'SEMANTIC', 'supportedVersions' => ['<string>', ...], ], ], 'protocolType' => 'MCP', // REQUIRED 'roleArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- authorizerConfiguration
-
- Required: Yes
- Type: AuthorizerConfiguration structure
The authorizer configuration for the Gateway.
- authorizerType
-
- Required: Yes
- Type: string
The type of authorizer to use for the gateway.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- description
-
- Type: string
The description of the gateway.
- exceptionLevel
-
- Type: string
The verbosity of exception messages. Use DEBUG mode to see granular exception messages from a Gateway. If this parameter is not set, exception messages are by default sanitized for presentation to end users.
- kmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway.
- name
-
- Required: Yes
- Type: string
The name of the gateway. The name must be unique within your account.
- protocolConfiguration
-
- Type: GatewayProtocolConfiguration structure
The configuration settings for the protocol specified in the protocolType parameter.
- protocolType
-
- Required: Yes
- Type: string
The protocol type for the gateway. Currently supports MCP (Model Context Protocol).
- roleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the gateway to access Amazon Web Services services.
Result Syntax
[ 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', ], ], 'authorizerType' => 'CUSTOM_JWT', 'createdAt' => <DateTime>, 'description' => '<string>', 'exceptionLevel' => 'DEBUG', 'gatewayArn' => '<string>', 'gatewayId' => '<string>', 'gatewayUrl' => '<string>', 'kmsKeyArn' => '<string>', 'name' => '<string>', 'protocolConfiguration' => [ 'mcp' => [ 'instructions' => '<string>', 'searchType' => 'SEMANTIC', 'supportedVersions' => ['<string>', ...], ], ], 'protocolType' => 'MCP', 'roleArn' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'updatedAt' => <DateTime>, 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The authorizer configuration for the created Gateway.
- authorizerType
-
- Required: Yes
- Type: string
The type of authorizer used by the gateway.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the gateway was created.
- description
-
- Type: string
The description of the gateway.
- exceptionLevel
-
- Type: string
The verbosity of exception messages. Use DEBUG mode to see granular exception messages from a Gateway. If this parameter is not set, exception messages are by default sanitized for presentation to end users.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the created gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the created gateway.
- gatewayUrl
-
- Type: string
The URL endpoint for the created gateway.
- kmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway.
- name
-
- Required: Yes
- Type: string
The name of the gateway.
- protocolConfiguration
-
- Type: GatewayProtocolConfiguration structure
The configuration settings for the protocol used by the gateway.
- protocolType
-
- Required: Yes
- Type: string
The protocol type of the gateway.
- roleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role associated with the gateway.
- status
-
- Required: Yes
- Type: string
The current status of the gateway.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the gateway.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the gateway was last updated.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the created Gateway.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateGatewayTarget
$result = $client->createGatewayTarget
([/* ... */]); $promise = $client->createGatewayTargetAsync
([/* ... */]);
Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.
To create a target, you must specify the gateway identifier and target configuration.
Parameter Syntax
$result = $client->createGatewayTarget([ 'clientToken' => '<string>', 'credentialProviderConfigurations' => [ // REQUIRED [ 'credentialProvider' => [ 'apiKeyCredentialProvider' => [ 'credentialLocation' => 'HEADER|QUERY_PARAMETER', 'credentialParameterName' => '<string>', 'credentialPrefix' => '<string>', 'providerArn' => '<string>', // REQUIRED ], 'oauthCredentialProvider' => [ 'customParameters' => ['<string>', ...], 'providerArn' => '<string>', // REQUIRED 'scopes' => ['<string>', ...], // REQUIRED ], ], 'credentialProviderType' => 'GATEWAY_IAM_ROLE|OAUTH|API_KEY', // REQUIRED ], // ... ], 'description' => '<string>', 'gatewayIdentifier' => '<string>', // REQUIRED 'name' => '<string>', // REQUIRED 'targetConfiguration' => [ // REQUIRED 'mcp' => [ 'lambda' => [ 'lambdaArn' => '<string>', // REQUIRED 'toolSchema' => [ // REQUIRED 'inlinePayload' => [ [ 'description' => '<string>', // REQUIRED 'inputSchema' => [ // REQUIRED 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', // REQUIRED ], 'name' => '<string>', // REQUIRED 'outputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', // REQUIRED ], ], // ... ], 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], 'openApiSchema' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], 'smithyModel' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- credentialProviderConfigurations
-
- Required: Yes
- Type: Array of CredentialProviderConfiguration structures
The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
- description
-
- Type: string
The description of the gateway target.
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway to create a target for. This can be either the gateway ID or the gateway ARN.
- name
-
- Required: Yes
- Type: string
The name of the gateway target. The name must be unique within the gateway.
- targetConfiguration
-
- Required: Yes
- Type: TargetConfiguration structure
The configuration settings for the target, including endpoint information and schema definitions.
Result Syntax
[ 'createdAt' => <DateTime>, 'credentialProviderConfigurations' => [ [ 'credentialProvider' => [ 'apiKeyCredentialProvider' => [ 'credentialLocation' => 'HEADER|QUERY_PARAMETER', 'credentialParameterName' => '<string>', 'credentialPrefix' => '<string>', 'providerArn' => '<string>', ], 'oauthCredentialProvider' => [ 'customParameters' => ['<string>', ...], 'providerArn' => '<string>', 'scopes' => ['<string>', ...], ], ], 'credentialProviderType' => 'GATEWAY_IAM_ROLE|OAUTH|API_KEY', ], // ... ], 'description' => '<string>', 'gatewayArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'targetConfiguration' => [ 'mcp' => [ 'lambda' => [ 'lambdaArn' => '<string>', 'toolSchema' => [ 'inlinePayload' => [ [ 'description' => '<string>', 'inputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], 'name' => '<string>', 'outputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], ], // ... ], 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], 'openApiSchema' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], 'smithyModel' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], ], 'targetId' => '<string>', 'updatedAt' => <DateTime>, ]
Result Details
Members
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the target was created.
- credentialProviderConfigurations
-
- Required: Yes
- Type: Array of CredentialProviderConfiguration structures
The credential provider configurations for the target.
- description
-
- Type: string
The description of the target.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the gateway.
- name
-
- Required: Yes
- Type: string
The name of the target.
- status
-
- Required: Yes
- Type: string
The current status of the target.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the target.
- targetConfiguration
-
- Required: Yes
- Type: TargetConfiguration structure
The configuration settings for the target.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the created target.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the target was last updated.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
CreateMemory
$result = $client->createMemory
([/* ... */]); $promise = $client->createMemoryAsync
([/* ... */]);
Creates a new memory.
Parameter Syntax
$result = $client->createMemory([ 'clientToken' => '<string>', 'description' => '<string>', 'encryptionKeyArn' => '<string>', 'eventExpiryDuration' => <integer>, // REQUIRED 'memoryExecutionRoleArn' => '<string>', 'memoryStrategies' => [ [ 'customMemoryStrategy' => [ 'configuration' => [ 'semanticOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'extraction' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], 'summaryOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], 'userPreferenceOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'extraction' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], ], 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'semanticMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'summaryMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'userPreferenceMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], ], // ... ], 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- description
-
- Type: string
The description of the memory.
- encryptionKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.
- eventExpiryDuration
-
- Required: Yes
- Type: int
The duration after which memory events expire. Specified as an ISO 8601 duration.
- memoryExecutionRoleArn
-
- Type: string
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.
- memoryStrategies
-
- Type: Array of MemoryStrategyInput structures
The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.
- name
-
- Required: Yes
- Type: string
The name of the memory. The name must be unique within your account.
Result Syntax
[ 'memory' => [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'encryptionKeyArn' => '<string>', 'eventExpiryDuration' => <integer>, 'failureReason' => '<string>', 'id' => '<string>', 'memoryExecutionRoleArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|ACTIVE|FAILED|DELETING', 'strategies' => [ [ 'configuration' => [ 'consolidation' => [ 'customConsolidationConfiguration' => [ 'semanticConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'summaryConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'extraction' => [ 'customExtractionConfiguration' => [ 'semanticExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'type' => 'SEMANTIC_OVERRIDE|SUMMARY_OVERRIDE|USER_PREFERENCE_OVERRIDE', ], 'createdAt' => <DateTime>, 'description' => '<string>', 'name' => '<string>', 'namespaces' => ['<string>', ...], 'status' => 'CREATING|ACTIVE|DELETING|FAILED', 'strategyId' => '<string>', 'type' => 'SEMANTIC|SUMMARIZATION|USER_PREFERENCE|CUSTOM', 'updatedAt' => <DateTime>, ], // ... ], 'updatedAt' => <DateTime>, ], ]
Result Details
Members
- memory
-
- Type: Memory structure
The details of the created memory, including its ID, ARN, name, description, and configuration settings.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ServiceException:
An internal error occurred.
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottledException:
API rate limit has been exceeded.
CreateOauth2CredentialProvider
$result = $client->createOauth2CredentialProvider
([/* ... */]); $promise = $client->createOauth2CredentialProviderAsync
([/* ... */]);
Creates a new OAuth2 credential provider.
Parameter Syntax
$result = $client->createOauth2CredentialProvider([ 'credentialProviderVendor' => 'GoogleOauth2|GithubOauth2|SlackOauth2|SalesforceOauth2|MicrosoftOauth2|CustomOauth2', // REQUIRED 'name' => '<string>', // REQUIRED 'oauth2ProviderConfigInput' => [ // REQUIRED 'customOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED 'oauthDiscovery' => [ // REQUIRED 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', // REQUIRED 'issuer' => '<string>', // REQUIRED 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', // REQUIRED ], 'discoveryUrl' => '<string>', ], ], 'githubOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'googleOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'microsoftOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'salesforceOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'slackOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], ], ]);
Parameter Details
Members
- credentialProviderVendor
-
- Required: Yes
- Type: string
The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider. The name must be unique within your account.
- oauth2ProviderConfigInput
-
- Required: Yes
- Type: Oauth2ProviderConfigInput structure
The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.
Result Syntax
[ 'clientSecretArn' => [ 'secretArn' => '<string>', ], 'credentialProviderArn' => '<string>', 'name' => '<string>', ]
Result Details
Members
- clientSecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the OAuth2 credential provider.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ResourceLimitExceededException:
Exception thrown when a resource limit is exceeded.
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
- EncryptionFailure:
Exception thrown when encryption of a secret fails.
CreateWorkloadIdentity
$result = $client->createWorkloadIdentity
([/* ... */]); $promise = $client->createWorkloadIdentityAsync
([/* ... */]);
Creates a new workload identity.
Parameter Syntax
$result = $client->createWorkloadIdentity([ 'allowedResourceOauth2ReturnUrls' => ['<string>', ...], 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- allowedResourceOauth2ReturnUrls
-
- Type: Array of strings
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name
-
- Required: Yes
- Type: string
The name of the workload identity. The name must be unique within your account.
Result Syntax
[ 'allowedResourceOauth2ReturnUrls' => ['<string>', ...], 'name' => '<string>', 'workloadIdentityArn' => '<string>', ]
Result Details
Members
- allowedResourceOauth2ReturnUrls
-
- Type: Array of strings
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name
-
- Required: Yes
- Type: string
The name of the workload identity.
- workloadIdentityArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the workload identity.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteAgentRuntime
$result = $client->deleteAgentRuntime
([/* ... */]); $promise = $client->deleteAgentRuntimeAsync
([/* ... */]);
Deletes an Amazon Secure Agent.
Parameter Syntax
$result = $client->deleteAgentRuntime([ 'agentRuntimeId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to delete.
Result Syntax
[ 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', ]
Result Details
Members
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime deletion.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteAgentRuntimeEndpoint
$result = $client->deleteAgentRuntimeEndpoint
([/* ... */]); $promise = $client->deleteAgentRuntimeEndpointAsync
([/* ... */]);
Deletes an Amazon Secure AgentEndpoint.
Parameter Syntax
$result = $client->deleteAgentRuntimeEndpoint([ 'agentRuntimeId' => '<string>', // REQUIRED 'clientToken' => '<string>', 'endpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime associated with the endpoint.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- endpointName
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint to delete.
Result Syntax
[ 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', ]
Result Details
Members
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime endpoint deletion.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteApiKeyCredentialProvider
$result = $client->deleteApiKeyCredentialProvider
([/* ... */]); $promise = $client->deleteApiKeyCredentialProviderAsync
([/* ... */]);
Deletes an API key credential provider.
Parameter Syntax
$result = $client->deleteApiKeyCredentialProvider([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider to delete.
Result Syntax
[]
Result Details
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteBrowser
$result = $client->deleteBrowser
([/* ... */]); $promise = $client->deleteBrowserAsync
([/* ... */]);
Deletes a custom browser.
Parameter Syntax
$result = $client->deleteBrowser([ 'browserId' => '<string>', // REQUIRED 'clientToken' => '<string>', ]);
Parameter Details
Members
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the browser to delete.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
Result Syntax
[ 'browserId' => '<string>', 'lastUpdatedAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the deleted browser.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was last updated.
- status
-
- Required: Yes
- Type: string
The current status of the browser deletion.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteCodeInterpreter
$result = $client->deleteCodeInterpreter
([/* ... */]); $promise = $client->deleteCodeInterpreterAsync
([/* ... */]);
Deletes a custom code interpreter.
Parameter Syntax
$result = $client->deleteCodeInterpreter([ 'clientToken' => '<string>', 'codeInterpreterId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the code interpreter to delete.
Result Syntax
[ 'codeInterpreterId' => '<string>', 'lastUpdatedAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the deleted code interpreter.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was last updated.
- status
-
- Required: Yes
- Type: string
The current status of the code interpreter deletion.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteGateway
$result = $client->deleteGateway
([/* ... */]); $promise = $client->deleteGatewayAsync
([/* ... */]);
Deletes a Gateway.
Parameter Syntax
$result = $client->deleteGateway([ 'gatewayIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway to delete. This can be either the gateway ID or the gateway ARN.
Result Syntax
[ 'gatewayId' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], ]
Result Details
Members
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the deleted Gateway.
- status
-
- Required: Yes
- Type: string
The current status of the Gateway deletion.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the Gateway deletion.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteGatewayTarget
$result = $client->deleteGatewayTarget
([/* ... */]); $promise = $client->deleteGatewayTargetAsync
([/* ... */]);
Deletes a Gateway Target.
Parameter Syntax
$result = $client->deleteGatewayTarget([ 'gatewayIdentifier' => '<string>', // REQUIRED 'targetId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- gatewayIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the Gateway associated with the target.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the Gateway Target to delete.
Result Syntax
[ 'gatewayArn' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'targetId' => '<string>', ]
Result Details
Members
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Gateway.
- status
-
- Required: Yes
- Type: string
The current status of the Gateway Target deletion.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the Gateway Target deletion.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the deleted Gateway Target.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteMemory
$result = $client->deleteMemory
([/* ... */]); $promise = $client->deleteMemoryAsync
([/* ... */]);
Deletes a memory.
Parameter Syntax
$result = $client->deleteMemory([ 'clientToken' => '<string>', 'memoryId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.
- memoryId
-
- Required: Yes
- Type: string
The unique identifier of the memory to delete.
Result Syntax
[ 'memoryId' => '<string>', 'status' => 'CREATING|ACTIVE|FAILED|DELETING', ]
Result Details
Members
- memoryId
-
- Required: Yes
- Type: string
The unique identifier of the deleted memory.
- status
-
- Type: string
The current status of the memory deletion.
Errors
- ServiceException:
An internal error occurred.
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottledException:
API rate limit has been exceeded.
DeleteOauth2CredentialProvider
$result = $client->deleteOauth2CredentialProvider
([/* ... */]); $promise = $client->deleteOauth2CredentialProviderAsync
([/* ... */]);
Deletes an OAuth2 credential provider.
Parameter Syntax
$result = $client->deleteOauth2CredentialProvider([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider to delete.
Result Syntax
[]
Result Details
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
DeleteWorkloadIdentity
$result = $client->deleteWorkloadIdentity
([/* ... */]); $promise = $client->deleteWorkloadIdentityAsync
([/* ... */]);
Deletes a workload identity.
Parameter Syntax
$result = $client->deleteWorkloadIdentity([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the workload identity to delete.
Result Syntax
[]
Result Details
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetAgentRuntime
$result = $client->getAgentRuntime
([/* ... */]); $promise = $client->getAgentRuntimeAsync
([/* ... */]);
Gets an Amazon Secure Agent.
Parameter Syntax
$result = $client->getAgentRuntime([ 'agentRuntimeId' => '<string>', // REQUIRED 'agentRuntimeVersion' => '<string>', ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to retrieve.
- agentRuntimeVersion
-
- Type: string
The version of the agent runtime to retrieve.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeArtifact' => [ 'containerConfiguration' => [ 'containerUri' => '<string>', ], ], 'agentRuntimeId' => '<string>', 'agentRuntimeName' => '<string>', 'agentRuntimeVersion' => '<string>', 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', ], ], 'createdAt' => <DateTime>, 'description' => '<string>', 'environmentVariables' => ['<string>', ...], 'lastUpdatedAt' => <DateTime>, 'networkConfiguration' => [ 'networkMode' => 'PUBLIC', ], 'protocolConfiguration' => [ 'serverProtocol' => 'MCP|HTTP', ], 'roleArn' => '<string>', 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeArtifact
-
- Type: AgentArtifact structure
The artifact of the agent runtime.
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime.
- agentRuntimeName
-
- Required: Yes
- Type: string
The name of the agent runtime.
- agentRuntimeVersion
-
- Required: Yes
- Type: string
The version of the agent runtime.
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The authorizer configuration for the agent runtime.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was created.
- description
-
- Type: string
The description of the agent runtime.
- environmentVariables
-
- Type: Associative array of custom strings keys (EnvironmentVariableKey) to strings
Environment variables set in the agent runtime environment.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was last updated.
- networkConfiguration
-
- Required: Yes
- Type: NetworkConfiguration structure
The network configuration for the agent runtime.
- protocolConfiguration
-
- Type: ProtocolConfiguration structure
The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
- roleArn
-
- Required: Yes
- Type: string
The IAM role ARN that provides permissions for the agent runtime.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the agent runtime.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetAgentRuntimeEndpoint
$result = $client->getAgentRuntimeEndpoint
([/* ... */]); $promise = $client->getAgentRuntimeEndpointAsync
([/* ... */]);
Gets information about an Amazon Secure AgentEndpoint.
Parameter Syntax
$result = $client->getAgentRuntimeEndpoint([ 'agentRuntimeId' => '<string>', // REQUIRED 'endpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime associated with the endpoint.
- endpointName
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint to retrieve.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeEndpointArn' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'failureReason' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'liveVersion' => '<string>', 'name' => '<string>', 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'targetVersion' => '<string>', ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime endpoint.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was created.
- description
-
- Type: string
The description of the agent runtime endpoint.
- failureReason
-
- Type: string
The reason for failure if the agent runtime endpoint is in a failed state.
- id
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime endpoint.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was last updated.
- liveVersion
-
- Type: string
The currently deployed version of the agent runtime on the endpoint.
- name
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime endpoint.
- targetVersion
-
- Type: string
The target version of the agent runtime for the endpoint.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetApiKeyCredentialProvider
$result = $client->getApiKeyCredentialProvider
([/* ... */]); $promise = $client->getApiKeyCredentialProviderAsync
([/* ... */]);
Retrieves information about an API key credential provider.
Parameter Syntax
$result = $client->getApiKeyCredentialProvider([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider to retrieve.
Result Syntax
[ 'apiKeySecretArn' => [ 'secretArn' => '<string>', ], 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', ]
Result Details
Members
- apiKeySecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the API key credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetBrowser
$result = $client->getBrowser
([/* ... */]); $promise = $client->getBrowserAsync
([/* ... */]);
Gets information about a custom browser.
Parameter Syntax
$result = $client->getBrowser([ 'browserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the browser to retrieve.
Result Syntax
[ 'browserArn' => '<string>', 'browserId' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'executionRoleArn' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'networkConfiguration' => [ 'networkMode' => 'PUBLIC', ], 'recording' => [ 'enabled' => true || false, 's3Location' => [ 'bucket' => '<string>', 'prefix' => '<string>', ], ], 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- browserArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the browser.
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the browser.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was created.
- description
-
- Type: string
The description of the browser.
- executionRoleArn
-
- Type: string
The IAM role ARN that provides permissions for the browser.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was last updated.
- name
-
- Required: Yes
- Type: string
The name of the browser.
- networkConfiguration
-
- Required: Yes
- Type: BrowserNetworkConfiguration structure
The network configuration for a browser. This structure defines how the browser connects to the network.
- recording
-
- Type: RecordingConfig structure
The recording configuration for a browser. This structure defines how browser sessions are recorded.
- status
-
- Required: Yes
- Type: string
The current status of the browser.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetCodeInterpreter
$result = $client->getCodeInterpreter
([/* ... */]); $promise = $client->getCodeInterpreterAsync
([/* ... */]);
Gets information about a custom code interpreter.
Parameter Syntax
$result = $client->getCodeInterpreter([ 'codeInterpreterId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the code interpreter to retrieve.
Result Syntax
[ 'codeInterpreterArn' => '<string>', 'codeInterpreterId' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'executionRoleArn' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'networkConfiguration' => [ 'networkMode' => 'PUBLIC|SANDBOX', ], 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ]
Result Details
Members
- codeInterpreterArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the code interpreter.
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the code interpreter.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was created.
- description
-
- Type: string
The description of the code interpreter.
- executionRoleArn
-
- Type: string
The IAM role ARN that provides permissions for the code interpreter.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was last updated.
- name
-
- Required: Yes
- Type: string
The name of the code interpreter.
- networkConfiguration
-
- Required: Yes
- Type: CodeInterpreterNetworkConfiguration structure
The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.
- status
-
- Required: Yes
- Type: string
The current status of the code interpreter.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetGateway
$result = $client->getGateway
([/* ... */]); $promise = $client->getGatewayAsync
([/* ... */]);
Retrieves information about a specific Gateway.
Parameter Syntax
$result = $client->getGateway([ 'gatewayIdentifier' => '<string>', // REQUIRED ]);
Parameter Details
Members
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway to retrieve. This can be either the gateway ID or the gateway ARN.
Result Syntax
[ 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', ], ], 'authorizerType' => 'CUSTOM_JWT', 'createdAt' => <DateTime>, 'description' => '<string>', 'exceptionLevel' => 'DEBUG', 'gatewayArn' => '<string>', 'gatewayId' => '<string>', 'gatewayUrl' => '<string>', 'kmsKeyArn' => '<string>', 'name' => '<string>', 'protocolConfiguration' => [ 'mcp' => [ 'instructions' => '<string>', 'searchType' => 'SEMANTIC', 'supportedVersions' => ['<string>', ...], ], ], 'protocolType' => 'MCP', 'roleArn' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'updatedAt' => <DateTime>, 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The authorizer configuration for the Gateway.
- authorizerType
-
- Required: Yes
- Type: string
Authorizer type for the gateway.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway was created.
- description
-
- Type: string
The description of the Gateway.
- exceptionLevel
-
- Type: string
The verbosity of exception messages. Use DEBUG mode to see granular exception messages from a Gateway. If this parameter is not set, exception messages are by default sanitized for presentation to end users.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the Gateway.
- gatewayUrl
-
- Type: string
An endpoint for invoking Gateway.
- kmsKeyArn
-
- Type: string
The ARN of the KMS key used to encrypt the Gateway.
- name
-
- Required: Yes
- Type: string
The name of the Gateway.
- protocolConfiguration
-
- Type: GatewayProtocolConfiguration structure
The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
- protocolType
-
- Required: Yes
- Type: string
Protocol applied to a Gateway.
- roleArn
-
- Type: string
The IAM role ARN that provides permissions for the Gateway.
- status
-
- Required: Yes
- Type: string
The current status of the Gateway.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the Gateway.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway was last updated.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the Gateway.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetGatewayTarget
$result = $client->getGatewayTarget
([/* ... */]); $promise = $client->getGatewayTargetAsync
([/* ... */]);
Retrieves information about a specific Gateway Target.
Parameter Syntax
$result = $client->getGatewayTarget([ 'gatewayIdentifier' => '<string>', // REQUIRED 'targetId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway that contains the target. This can be either the gateway ID or the gateway ARN.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the target to retrieve.
Result Syntax
[ 'createdAt' => <DateTime>, 'credentialProviderConfigurations' => [ [ 'credentialProvider' => [ 'apiKeyCredentialProvider' => [ 'credentialLocation' => 'HEADER|QUERY_PARAMETER', 'credentialParameterName' => '<string>', 'credentialPrefix' => '<string>', 'providerArn' => '<string>', ], 'oauthCredentialProvider' => [ 'customParameters' => ['<string>', ...], 'providerArn' => '<string>', 'scopes' => ['<string>', ...], ], ], 'credentialProviderType' => 'GATEWAY_IAM_ROLE|OAUTH|API_KEY', ], // ... ], 'description' => '<string>', 'gatewayArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'targetConfiguration' => [ 'mcp' => [ 'lambda' => [ 'lambdaArn' => '<string>', 'toolSchema' => [ 'inlinePayload' => [ [ 'description' => '<string>', 'inputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], 'name' => '<string>', 'outputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], ], // ... ], 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], 'openApiSchema' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], 'smithyModel' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], ], 'targetId' => '<string>', 'updatedAt' => <DateTime>, ]
Result Details
Members
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway Target was created.
- credentialProviderConfigurations
-
- Required: Yes
- Type: Array of CredentialProviderConfiguration structures
The credential provider configurations for the Gateway Target.
- description
-
- Type: string
The description of the Gateway Target.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Gateway.
- name
-
- Required: Yes
- Type: string
The name of the Gateway Target.
- status
-
- Required: Yes
- Type: string
The current status of the Gateway Target.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the Gateway Target.
- targetConfiguration
-
- Required: Yes
- Type: TargetConfiguration structure
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the Gateway Target.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway Target was last updated.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetMemory
$result = $client->getMemory
([/* ... */]); $promise = $client->getMemoryAsync
([/* ... */]);
Retrieve an existing memory.
Parameter Syntax
$result = $client->getMemory([ 'memoryId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- memoryId
-
- Required: Yes
- Type: string
The unique identifier of the memory to retrieve.
Result Syntax
[ 'memory' => [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'encryptionKeyArn' => '<string>', 'eventExpiryDuration' => <integer>, 'failureReason' => '<string>', 'id' => '<string>', 'memoryExecutionRoleArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|ACTIVE|FAILED|DELETING', 'strategies' => [ [ 'configuration' => [ 'consolidation' => [ 'customConsolidationConfiguration' => [ 'semanticConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'summaryConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'extraction' => [ 'customExtractionConfiguration' => [ 'semanticExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'type' => 'SEMANTIC_OVERRIDE|SUMMARY_OVERRIDE|USER_PREFERENCE_OVERRIDE', ], 'createdAt' => <DateTime>, 'description' => '<string>', 'name' => '<string>', 'namespaces' => ['<string>', ...], 'status' => 'CREATING|ACTIVE|DELETING|FAILED', 'strategyId' => '<string>', 'type' => 'SEMANTIC|SUMMARIZATION|USER_PREFERENCE|CUSTOM', 'updatedAt' => <DateTime>, ], // ... ], 'updatedAt' => <DateTime>, ], ]
Result Details
Members
- memory
-
- Required: Yes
- Type: Memory structure
The retrieved memory details.
Errors
- ServiceException:
An internal error occurred.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottledException:
API rate limit has been exceeded.
GetOauth2CredentialProvider
$result = $client->getOauth2CredentialProvider
([/* ... */]); $promise = $client->getOauth2CredentialProviderAsync
([/* ... */]);
Retrieves information about an OAuth2 credential provider.
Parameter Syntax
$result = $client->getOauth2CredentialProvider([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider to retrieve.
Result Syntax
[ 'clientSecretArn' => [ 'secretArn' => '<string>', ], 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'credentialProviderVendor' => 'GoogleOauth2|GithubOauth2|SlackOauth2|SalesforceOauth2|MicrosoftOauth2|CustomOauth2', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', 'oauth2ProviderConfigOutput' => [ 'customOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'githubOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'googleOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'microsoftOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'salesforceOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'slackOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], ], ]
Result Details
Members
- clientSecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
ARN of the credential provider requested.
- credentialProviderVendor
-
- Required: Yes
- Type: string
The vendor of the OAuth2 credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider.
- oauth2ProviderConfigOutput
-
- Required: Yes
- Type: Oauth2ProviderConfigOutput structure
The configuration output for the OAuth2 provider.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetTokenVault
$result = $client->getTokenVault
([/* ... */]); $promise = $client->getTokenVaultAsync
([/* ... */]);
Retrieves information about a token vault.
Parameter Syntax
$result = $client->getTokenVault([ 'tokenVaultId' => '<string>', ]);
Parameter Details
Members
- tokenVaultId
-
- Type: string
The unique identifier of the token vault to retrieve.
Result Syntax
[ 'kmsConfiguration' => [ 'keyType' => 'CustomerManagedKey|ServiceManagedKey', 'kmsKeyArn' => '<string>', ], 'lastModifiedDate' => <DateTime>, 'tokenVaultId' => '<string>', ]
Result Details
Members
- kmsConfiguration
-
- Required: Yes
- Type: KmsConfiguration structure
The KMS configuration for the token vault.
- lastModifiedDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the token vault was last modified.
- tokenVaultId
-
- Required: Yes
- Type: string
The ID of the token vault.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
GetWorkloadIdentity
$result = $client->getWorkloadIdentity
([/* ... */]); $promise = $client->getWorkloadIdentityAsync
([/* ... */]);
Retrieves information about a workload identity.
Parameter Syntax
$result = $client->getWorkloadIdentity([ 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- name
-
- Required: Yes
- Type: string
The name of the workload identity to retrieve.
Result Syntax
[ 'allowedResourceOauth2ReturnUrls' => ['<string>', ...], 'createdTime' => <DateTime>, 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', 'workloadIdentityArn' => '<string>', ]
Result Details
Members
- allowedResourceOauth2ReturnUrls
-
- Type: Array of strings
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the workload identity was created.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the workload identity was last updated.
- name
-
- Required: Yes
- Type: string
The name of the workload identity.
- workloadIdentityArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the workload identity.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListAgentRuntimeEndpoints
$result = $client->listAgentRuntimeEndpoints
([/* ... */]); $promise = $client->listAgentRuntimeEndpointsAsync
([/* ... */]);
Lists all endpoints for a specific Amazon Secure Agent.
Parameter Syntax
$result = $client->listAgentRuntimeEndpoints([ 'agentRuntimeId' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to list endpoints for.
- maxResults
-
- Type: int
The maximum number of results to return in the response.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Result Syntax
[ 'nextToken' => '<string>', 'runtimeEndpoints' => [ [ 'agentRuntimeArn' => '<string>', 'agentRuntimeEndpointArn' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'id' => '<string>', 'lastUpdatedAt' => <DateTime>, 'liveVersion' => '<string>', 'name' => '<string>', 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'targetVersion' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
A token to retrieve the next page of results.
- runtimeEndpoints
-
- Required: Yes
- Type: Array of AgentEndpoint structures
The list of agent runtime endpoints.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListAgentRuntimeVersions
$result = $client->listAgentRuntimeVersions
([/* ... */]); $promise = $client->listAgentRuntimeVersionsAsync
([/* ... */]);
Lists all versions of a specific Amazon Secure Agent.
Parameter Syntax
$result = $client->listAgentRuntimeVersions([ 'agentRuntimeId' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to list versions for.
- maxResults
-
- Type: int
The maximum number of results to return in the response.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Result Syntax
[ 'agentRuntimes' => [ [ 'agentRuntimeArn' => '<string>', 'agentRuntimeId' => '<string>', 'agentRuntimeName' => '<string>', 'agentRuntimeVersion' => '<string>', 'description' => '<string>', 'lastUpdatedAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- agentRuntimes
-
- Required: Yes
- Type: Array of Agent structures
The list of agent runtime versions.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListAgentRuntimes
$result = $client->listAgentRuntimes
([/* ... */]); $promise = $client->listAgentRuntimesAsync
([/* ... */]);
Lists all Amazon Secure Agents in your account.
Parameter Syntax
$result = $client->listAgentRuntimes([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return in the response.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Result Syntax
[ 'agentRuntimes' => [ [ 'agentRuntimeArn' => '<string>', 'agentRuntimeId' => '<string>', 'agentRuntimeName' => '<string>', 'agentRuntimeVersion' => '<string>', 'description' => '<string>', 'lastUpdatedAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- agentRuntimes
-
- Required: Yes
- Type: Array of Agent structures
The list of agent runtimes.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListApiKeyCredentialProviders
$result = $client->listApiKeyCredentialProviders
([/* ... */]); $promise = $client->listApiKeyCredentialProvidersAsync
([/* ... */]);
Lists all API key credential providers in your account.
Parameter Syntax
$result = $client->listApiKeyCredentialProviders([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
Maximum number of results to return.
- nextToken
-
- Type: string
Pagination token.
Result Syntax
[ 'credentialProviders' => [ [ 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- credentialProviders
-
- Required: Yes
- Type: Array of ApiKeyCredentialProviderItem structures
The list of API key credential providers.
- nextToken
-
- Type: string
Pagination token for the next page of results.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListBrowsers
$result = $client->listBrowsers
([/* ... */]); $promise = $client->listBrowsersAsync
([/* ... */]);
Lists all custom browsers in your account.
Parameter Syntax
$result = $client->listBrowsers([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'type' => 'SYSTEM|CUSTOM', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
- nextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- type
-
- Type: string
The type of browsers to list. If not specified, all browser types are returned.
Result Syntax
[ 'browserSummaries' => [ [ 'browserArn' => '<string>', 'browserId' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- browserSummaries
-
- Required: Yes
- Type: Array of BrowserSummary structures
The list of browser summaries.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListCodeInterpreters
$result = $client->listCodeInterpreters
([/* ... */]); $promise = $client->listCodeInterpretersAsync
([/* ... */]);
Lists all custom code interpreters in your account.
Parameter Syntax
$result = $client->listCodeInterpreters([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'type' => 'SYSTEM|CUSTOM', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return in the response.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
- type
-
- Type: string
The type of code interpreters to list.
Result Syntax
[ 'codeInterpreterSummaries' => [ [ 'codeInterpreterArn' => '<string>', 'codeInterpreterId' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'lastUpdatedAt' => <DateTime>, 'name' => '<string>', 'status' => 'CREATING|CREATE_FAILED|READY|DELETING|DELETE_FAILED|DELETED', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- codeInterpreterSummaries
-
- Required: Yes
- Type: Array of CodeInterpreterSummary structures
The list of code interpreter summaries.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Errors
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListGatewayTargets
$result = $client->listGatewayTargets
([/* ... */]); $promise = $client->listGatewayTargetsAsync
([/* ... */]);
Lists all targets for a specific Gateway.
Parameter Syntax
$result = $client->listGatewayTargets([ 'gatewayIdentifier' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway to list targets for. This can be either the gateway ID or the gateway ARN.
- maxResults
-
- Type: int
The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
- nextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'items' => [ [ 'createdAt' => <DateTime>, 'description' => '<string>', 'name' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'targetId' => '<string>', 'updatedAt' => <DateTime>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of TargetSummary structures
The list of Gateway Target summaries.
- nextToken
-
- Type: string
Opaque continuation token for the next paginated response.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListGateways
$result = $client->listGateways
([/* ... */]); $promise = $client->listGatewaysAsync
([/* ... */]);
Lists all Gateways in the account.
Parameter Syntax
$result = $client->listGateways([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
- nextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'items' => [ [ 'authorizerType' => 'CUSTOM_JWT', 'createdAt' => <DateTime>, 'description' => '<string>', 'gatewayId' => '<string>', 'name' => '<string>', 'protocolType' => 'MCP', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'updatedAt' => <DateTime>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- items
-
- Required: Yes
- Type: Array of GatewaySummary structures
The list of Gateway summaries.
- nextToken
-
- Type: string
Opaque continuation token for the next paginated response.
Errors
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListMemories
$result = $client->listMemories
([/* ... */]); $promise = $client->listMemoriesAsync
([/* ... */]);
Lists the memory present.
Parameter Syntax
$result = $client->listMemories([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
- nextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'memories' => [ [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'id' => '<string>', 'status' => 'CREATING|ACTIVE|FAILED|DELETING', 'updatedAt' => <DateTime>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- memories
-
- Required: Yes
- Type: Array of MemorySummary structures
The list of memory summaries.
- nextToken
-
- Type: string
A token to retrieve the next page of results.
Errors
- ServiceException:
An internal error occurred.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottledException:
API rate limit has been exceeded.
ListOauth2CredentialProviders
$result = $client->listOauth2CredentialProviders
([/* ... */]); $promise = $client->listOauth2CredentialProvidersAsync
([/* ... */]);
Lists all OAuth2 credential providers in your account.
Parameter Syntax
$result = $client->listOauth2CredentialProviders([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
Maximum number of results to return.
- nextToken
-
- Type: string
Pagination token.
Result Syntax
[ 'credentialProviders' => [ [ 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'credentialProviderVendor' => 'GoogleOauth2|GithubOauth2|SlackOauth2|SalesforceOauth2|MicrosoftOauth2|CustomOauth2', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- credentialProviders
-
- Required: Yes
- Type: Array of Oauth2CredentialProviderItem structures
The list of OAuth2 credential providers.
- nextToken
-
- Type: string
Pagination token for the next page of results.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
ListWorkloadIdentities
$result = $client->listWorkloadIdentities
([/* ... */]); $promise = $client->listWorkloadIdentitiesAsync
([/* ... */]);
Lists all workload identities in your account.
Parameter Syntax
$result = $client->listWorkloadIdentities([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
Maximum number of results to return.
- nextToken
-
- Type: string
Pagination token.
Result Syntax
[ 'nextToken' => '<string>', 'workloadIdentities' => [ [ 'name' => '<string>', 'workloadIdentityArn' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
Pagination token for the next page of results.
- workloadIdentities
-
- Required: Yes
- Type: Array of WorkloadIdentityType structures
The list of workload identities.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
SetTokenVaultCMK
$result = $client->setTokenVaultCMK
([/* ... */]); $promise = $client->setTokenVaultCMKAsync
([/* ... */]);
Sets the customer master key (CMK) for a token vault.
Parameter Syntax
$result = $client->setTokenVaultCMK([ 'kmsConfiguration' => [ // REQUIRED 'keyType' => 'CustomerManagedKey|ServiceManagedKey', // REQUIRED 'kmsKeyArn' => '<string>', ], 'tokenVaultId' => '<string>', ]);
Parameter Details
Members
- kmsConfiguration
-
- Required: Yes
- Type: KmsConfiguration structure
The KMS configuration for the token vault, including the key type and KMS key ARN.
- tokenVaultId
-
- Type: string
The unique identifier of the token vault to update.
Result Syntax
[ 'kmsConfiguration' => [ 'keyType' => 'CustomerManagedKey|ServiceManagedKey', 'kmsKeyArn' => '<string>', ], 'lastModifiedDate' => <DateTime>, 'tokenVaultId' => '<string>', ]
Result Details
Members
- kmsConfiguration
-
- Required: Yes
- Type: KmsConfiguration structure
The KMS configuration for the token vault.
- lastModifiedDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the token vault was last modified.
- tokenVaultId
-
- Required: Yes
- Type: string
The ID of the token vault.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ConcurrentModificationException:
Exception thrown when a resource is modified concurrently by multiple requests.
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
UpdateAgentRuntime
$result = $client->updateAgentRuntime
([/* ... */]); $promise = $client->updateAgentRuntimeAsync
([/* ... */]);
Updates an existing Amazon Secure Agent.
Parameter Syntax
$result = $client->updateAgentRuntime([ 'agentRuntimeArtifact' => [ // REQUIRED 'containerConfiguration' => [ 'containerUri' => '<string>', // REQUIRED ], ], 'agentRuntimeId' => '<string>', // REQUIRED 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', // REQUIRED ], ], 'clientToken' => '<string>', 'description' => '<string>', 'environmentVariables' => ['<string>', ...], 'networkConfiguration' => [ // REQUIRED 'networkMode' => 'PUBLIC', // REQUIRED ], 'protocolConfiguration' => [ 'serverProtocol' => 'MCP|HTTP', // REQUIRED ], 'roleArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeArtifact
-
- Required: Yes
- Type: AgentArtifact structure
The updated artifact of the agent runtime.
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime to update.
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The updated authorizer configuration for the agent runtime.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- description
-
- Type: string
The updated description of the agent runtime.
- environmentVariables
-
- Type: Associative array of custom strings keys (EnvironmentVariableKey) to strings
Updated environment variables to set in the agent runtime environment.
- networkConfiguration
-
- Required: Yes
- Type: NetworkConfiguration structure
The updated network configuration for the agent runtime.
- protocolConfiguration
-
- Type: ProtocolConfiguration structure
The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
- roleArn
-
- Required: Yes
- Type: string
The updated IAM role ARN that provides permissions for the agent runtime.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeId' => '<string>', 'agentRuntimeVersion' => '<string>', 'createdAt' => <DateTime>, 'lastUpdatedAt' => <DateTime>, 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the updated agent runtime.
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the updated agent runtime.
- agentRuntimeVersion
-
- Required: Yes
- Type: string
The version of the updated agent runtime.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was created.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was last updated.
- status
-
- Required: Yes
- Type: string
The current status of the updated agent runtime.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the updated agent runtime.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
UpdateAgentRuntimeEndpoint
$result = $client->updateAgentRuntimeEndpoint
([/* ... */]); $promise = $client->updateAgentRuntimeEndpointAsync
([/* ... */]);
Updates an existing Amazon Secure AgentEndpoint.
Parameter Syntax
$result = $client->updateAgentRuntimeEndpoint([ 'agentRuntimeId' => '<string>', // REQUIRED 'agentRuntimeVersion' => '<string>', 'clientToken' => '<string>', 'description' => '<string>', 'endpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime associated with the endpoint.
- agentRuntimeVersion
-
- Type: string
The updated version of the agent runtime for the endpoint.
- clientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the request.
- description
-
- Type: string
The updated description of the agent runtime endpoint.
- endpointName
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint to update.
Result Syntax
[ 'agentRuntimeArn' => '<string>', 'agentRuntimeEndpointArn' => '<string>', 'createdAt' => <DateTime>, 'lastUpdatedAt' => <DateTime>, 'liveVersion' => '<string>', 'status' => 'CREATING|CREATE_FAILED|UPDATING|UPDATE_FAILED|READY|DELETING', 'targetVersion' => '<string>', ]
Result Details
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime endpoint.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was created.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was last updated.
- liveVersion
-
- Type: string
The currently deployed version of the agent runtime on the endpoint.
- status
-
- Required: Yes
- Type: string
The current status of the updated agent runtime endpoint.
- targetVersion
-
- Type: string
The target version of the agent runtime for the endpoint.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
UpdateApiKeyCredentialProvider
$result = $client->updateApiKeyCredentialProvider
([/* ... */]); $promise = $client->updateApiKeyCredentialProviderAsync
([/* ... */]);
Updates an existing API key credential provider.
Parameter Syntax
$result = $client->updateApiKeyCredentialProvider([ 'apiKey' => '<string>', // REQUIRED 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- apiKey
-
- Required: Yes
- Type: string
The new API key to use for authentication. This value replaces the existing API key and is encrypted and stored securely.
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider to update.
Result Syntax
[ 'apiKeySecretArn' => [ 'secretArn' => '<string>', ], 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', ]
Result Details
Members
- apiKeySecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the API key secret in AWS Secrets Manager.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the API key credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
- EncryptionFailure:
Exception thrown when encryption of a secret fails.
UpdateGateway
$result = $client->updateGateway
([/* ... */]); $promise = $client->updateGatewayAsync
([/* ... */]);
Updates an existing Gateway.
Parameter Syntax
$result = $client->updateGateway([ 'authorizerConfiguration' => [ // REQUIRED 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', // REQUIRED ], ], 'authorizerType' => 'CUSTOM_JWT', // REQUIRED 'description' => '<string>', 'exceptionLevel' => 'DEBUG', 'gatewayIdentifier' => '<string>', // REQUIRED 'kmsKeyArn' => '<string>', 'name' => '<string>', // REQUIRED 'protocolConfiguration' => [ 'mcp' => [ 'instructions' => '<string>', 'searchType' => 'SEMANTIC', 'supportedVersions' => ['<string>', ...], ], ], 'protocolType' => 'MCP', // REQUIRED 'roleArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- authorizerConfiguration
-
- Required: Yes
- Type: AuthorizerConfiguration structure
The updated authorizer configuration for the Gateway.
- authorizerType
-
- Required: Yes
- Type: string
The updated authorizer type for the Gateway.
- description
-
- Type: string
The updated description for the Gateway.
- exceptionLevel
-
- Type: string
The verbosity of exception messages. Use DEBUG mode to see granular exception messages from a Gateway. If this parameter is not set, exception messages are by default sanitized for presentation to end users.
- gatewayIdentifier
-
- Required: Yes
- Type: string
The identifier of the gateway to update. This can be either the gateway ID or the gateway ARN.
- kmsKeyArn
-
- Type: string
The updated ARN of the KMS key used to encrypt the Gateway.
- name
-
- Required: Yes
- Type: string
The updated name for the Gateway.
- protocolConfiguration
-
- Type: GatewayProtocolConfiguration structure
The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
- protocolType
-
- Required: Yes
- Type: string
The updated protocol type for the Gateway.
- roleArn
-
- Required: Yes
- Type: string
The updated IAM role ARN that provides permissions for the Gateway.
Result Syntax
[ 'authorizerConfiguration' => [ 'customJWTAuthorizer' => [ 'allowedAudience' => ['<string>', ...], 'allowedClients' => ['<string>', ...], 'discoveryUrl' => '<string>', ], ], 'authorizerType' => 'CUSTOM_JWT', 'createdAt' => <DateTime>, 'description' => '<string>', 'exceptionLevel' => 'DEBUG', 'gatewayArn' => '<string>', 'gatewayId' => '<string>', 'gatewayUrl' => '<string>', 'kmsKeyArn' => '<string>', 'name' => '<string>', 'protocolConfiguration' => [ 'mcp' => [ 'instructions' => '<string>', 'searchType' => 'SEMANTIC', 'supportedVersions' => ['<string>', ...], ], ], 'protocolType' => 'MCP', 'roleArn' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'updatedAt' => <DateTime>, 'workloadIdentityDetails' => [ 'workloadIdentityArn' => '<string>', ], ]
Result Details
Members
- authorizerConfiguration
-
- Type: AuthorizerConfiguration structure
The updated authorizer configuration for the Gateway.
- authorizerType
-
- Required: Yes
- Type: string
The updated authorizer type for the Gateway.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway was created.
- description
-
- Type: string
The updated description of the Gateway.
- exceptionLevel
-
- Type: string
The verbosity of exception messages. Use DEBUG mode to see granular exception messages from a Gateway. If this parameter is not set, exception messages are by default sanitized for presentation to end users.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the updated Gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the updated Gateway.
- gatewayUrl
-
- Type: string
An endpoint for invoking the updated Gateway.
- kmsKeyArn
-
- Type: string
The updated ARN of the KMS key used to encrypt the Gateway.
- name
-
- Required: Yes
- Type: string
The updated name of the Gateway.
- protocolConfiguration
-
- Type: GatewayProtocolConfiguration structure
The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
- protocolType
-
- Required: Yes
- Type: string
The updated protocol type for the Gateway.
- roleArn
-
- Type: string
The updated IAM role ARN that provides permissions for the Gateway.
- status
-
- Required: Yes
- Type: string
The current status of the updated Gateway.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the updated Gateway.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway was last updated.
- workloadIdentityDetails
-
- Type: WorkloadIdentityDetails structure
The workload identity details for the updated Gateway.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
UpdateGatewayTarget
$result = $client->updateGatewayTarget
([/* ... */]); $promise = $client->updateGatewayTargetAsync
([/* ... */]);
Updates an existing Gateway Target.
Parameter Syntax
$result = $client->updateGatewayTarget([ 'credentialProviderConfigurations' => [ // REQUIRED [ 'credentialProvider' => [ 'apiKeyCredentialProvider' => [ 'credentialLocation' => 'HEADER|QUERY_PARAMETER', 'credentialParameterName' => '<string>', 'credentialPrefix' => '<string>', 'providerArn' => '<string>', // REQUIRED ], 'oauthCredentialProvider' => [ 'customParameters' => ['<string>', ...], 'providerArn' => '<string>', // REQUIRED 'scopes' => ['<string>', ...], // REQUIRED ], ], 'credentialProviderType' => 'GATEWAY_IAM_ROLE|OAUTH|API_KEY', // REQUIRED ], // ... ], 'description' => '<string>', 'gatewayIdentifier' => '<string>', // REQUIRED 'name' => '<string>', // REQUIRED 'targetConfiguration' => [ // REQUIRED 'mcp' => [ 'lambda' => [ 'lambdaArn' => '<string>', // REQUIRED 'toolSchema' => [ // REQUIRED 'inlinePayload' => [ [ 'description' => '<string>', // REQUIRED 'inputSchema' => [ // REQUIRED 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', // REQUIRED ], 'name' => '<string>', // REQUIRED 'outputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', // REQUIRED ], ], // ... ], 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], 'openApiSchema' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], 'smithyModel' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], ], 'targetId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- credentialProviderConfigurations
-
- Required: Yes
- Type: Array of CredentialProviderConfiguration structures
The updated credential provider configurations for the Gateway Target.
- description
-
- Type: string
The updated description for the Gateway Target.
- gatewayIdentifier
-
- Required: Yes
- Type: string
The unique identifier of the Gateway associated with the target.
- name
-
- Required: Yes
- Type: string
The updated name for the Gateway Target.
- targetConfiguration
-
- Required: Yes
- Type: TargetConfiguration structure
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the Gateway Target to update.
Result Syntax
[ 'createdAt' => <DateTime>, 'credentialProviderConfigurations' => [ [ 'credentialProvider' => [ 'apiKeyCredentialProvider' => [ 'credentialLocation' => 'HEADER|QUERY_PARAMETER', 'credentialParameterName' => '<string>', 'credentialPrefix' => '<string>', 'providerArn' => '<string>', ], 'oauthCredentialProvider' => [ 'customParameters' => ['<string>', ...], 'providerArn' => '<string>', 'scopes' => ['<string>', ...], ], ], 'credentialProviderType' => 'GATEWAY_IAM_ROLE|OAUTH|API_KEY', ], // ... ], 'description' => '<string>', 'gatewayArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|UPDATING|UPDATE_UNSUCCESSFUL|DELETING|READY|FAILED', 'statusReasons' => ['<string>', ...], 'targetConfiguration' => [ 'mcp' => [ 'lambda' => [ 'lambdaArn' => '<string>', 'toolSchema' => [ 'inlinePayload' => [ [ 'description' => '<string>', 'inputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], 'name' => '<string>', 'outputSchema' => [ 'description' => '<string>', 'items' => [...], // RECURSIVE 'properties' => [ '<String>' => [...], // RECURSIVE // ... ], 'required' => ['<string>', ...], 'type' => 'string|number|object|array|boolean|integer', ], ], // ... ], 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], 'openApiSchema' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], 'smithyModel' => [ 'inlinePayload' => '<string>', 's3' => [ 'bucketOwnerAccountId' => '<string>', 'uri' => '<string>', ], ], ], ], 'targetId' => '<string>', 'updatedAt' => <DateTime>, ]
Result Details
Members
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway Target was created.
- credentialProviderConfigurations
-
- Required: Yes
- Type: Array of CredentialProviderConfiguration structures
The updated credential provider configurations for the Gateway Target.
- description
-
- Type: string
The updated description of the Gateway Target.
- gatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Gateway.
- name
-
- Required: Yes
- Type: string
The updated name of the Gateway Target.
- status
-
- Required: Yes
- Type: string
The current status of the updated Gateway Target.
- statusReasons
-
- Type: Array of strings
The reasons for the current status of the updated Gateway Target.
- targetConfiguration
-
- Required: Yes
- Type: TargetConfiguration structure
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the updated Gateway Target.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Gateway Target was last updated.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
UpdateMemory
$result = $client->updateMemory
([/* ... */]); $promise = $client->updateMemoryAsync
([/* ... */]);
Update memory.
Parameter Syntax
$result = $client->updateMemory([ 'clientToken' => '<string>', 'description' => '<string>', 'eventExpiryDuration' => <integer>, 'memoryExecutionRoleArn' => '<string>', 'memoryId' => '<string>', // REQUIRED 'memoryStrategies' => [ 'addMemoryStrategies' => [ [ 'customMemoryStrategy' => [ 'configuration' => [ 'semanticOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'extraction' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], 'summaryOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], 'userPreferenceOverride' => [ 'consolidation' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'extraction' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], ], 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'semanticMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'summaryMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], 'userPreferenceMemoryStrategy' => [ 'description' => '<string>', 'name' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], ], // ... ], 'deleteMemoryStrategies' => [ [ 'memoryStrategyId' => '<string>', // REQUIRED ], // ... ], 'modifyMemoryStrategies' => [ [ 'configuration' => [ 'consolidation' => [ 'customConsolidationConfiguration' => [ 'semanticConsolidationOverride' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'summaryConsolidationOverride' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'userPreferenceConsolidationOverride' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], ], 'extraction' => [ 'customExtractionConfiguration' => [ 'semanticExtractionOverride' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], 'userPreferenceExtractionOverride' => [ 'appendToPrompt' => '<string>', // REQUIRED 'modelId' => '<string>', // REQUIRED ], ], ], ], 'description' => '<string>', 'memoryStrategyId' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], ], // ... ], ], ]);
Parameter Details
Members
- clientToken
-
- Type: string
A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.
- description
-
- Type: string
The updated description of the memory.
- eventExpiryDuration
-
- Type: int
The number of days after which memory events will expire, between 7 and 365 days.
- memoryExecutionRoleArn
-
- Type: string
The ARN of the IAM role that provides permissions for the memory.
- memoryId
-
- Required: Yes
- Type: string
The unique identifier of the memory to update.
- memoryStrategies
-
- Type: ModifyMemoryStrategies structure
The memory strategies to add, modify, or delete.
Result Syntax
[ 'memory' => [ 'arn' => '<string>', 'createdAt' => <DateTime>, 'description' => '<string>', 'encryptionKeyArn' => '<string>', 'eventExpiryDuration' => <integer>, 'failureReason' => '<string>', 'id' => '<string>', 'memoryExecutionRoleArn' => '<string>', 'name' => '<string>', 'status' => 'CREATING|ACTIVE|FAILED|DELETING', 'strategies' => [ [ 'configuration' => [ 'consolidation' => [ 'customConsolidationConfiguration' => [ 'semanticConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'summaryConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceConsolidationOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'extraction' => [ 'customExtractionConfiguration' => [ 'semanticExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], 'userPreferenceExtractionOverride' => [ 'appendToPrompt' => '<string>', 'modelId' => '<string>', ], ], ], 'type' => 'SEMANTIC_OVERRIDE|SUMMARY_OVERRIDE|USER_PREFERENCE_OVERRIDE', ], 'createdAt' => <DateTime>, 'description' => '<string>', 'name' => '<string>', 'namespaces' => ['<string>', ...], 'status' => 'CREATING|ACTIVE|DELETING|FAILED', 'strategyId' => '<string>', 'type' => 'SEMANTIC|SUMMARIZATION|USER_PREFERENCE|CUSTOM', 'updatedAt' => <DateTime>, ], // ... ], 'updatedAt' => <DateTime>, ], ]
Result Details
Members
- memory
-
- Type: Memory structure
The updated memory details.
Errors
- ServiceException:
An internal error occurred.
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottledException:
API rate limit has been exceeded.
UpdateOauth2CredentialProvider
$result = $client->updateOauth2CredentialProvider
([/* ... */]); $promise = $client->updateOauth2CredentialProviderAsync
([/* ... */]);
Updates an existing OAuth2 credential provider.
Parameter Syntax
$result = $client->updateOauth2CredentialProvider([ 'credentialProviderVendor' => 'GoogleOauth2|GithubOauth2|SlackOauth2|SalesforceOauth2|MicrosoftOauth2|CustomOauth2', // REQUIRED 'name' => '<string>', // REQUIRED 'oauth2ProviderConfigInput' => [ // REQUIRED 'customOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED 'oauthDiscovery' => [ // REQUIRED 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', // REQUIRED 'issuer' => '<string>', // REQUIRED 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', // REQUIRED ], 'discoveryUrl' => '<string>', ], ], 'githubOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'googleOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'microsoftOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'salesforceOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], 'slackOauth2ProviderConfig' => [ 'clientId' => '<string>', // REQUIRED 'clientSecret' => '<string>', // REQUIRED ], ], ]);
Parameter Details
Members
- credentialProviderVendor
-
- Required: Yes
- Type: string
The vendor of the OAuth2 credential provider.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider to update.
- oauth2ProviderConfigInput
-
- Required: Yes
- Type: Oauth2ProviderConfigInput structure
The configuration input for the OAuth2 provider.
Result Syntax
[ 'clientSecretArn' => [ 'secretArn' => '<string>', ], 'createdTime' => <DateTime>, 'credentialProviderArn' => '<string>', 'credentialProviderVendor' => 'GoogleOauth2|GithubOauth2|SlackOauth2|SalesforceOauth2|MicrosoftOauth2|CustomOauth2', 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', 'oauth2ProviderConfigOutput' => [ 'customOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'githubOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'googleOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'microsoftOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'salesforceOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], 'slackOauth2ProviderConfig' => [ 'oauthDiscovery' => [ 'authorizationServerMetadata' => [ 'authorizationEndpoint' => '<string>', 'issuer' => '<string>', 'responseTypes' => ['<string>', ...], 'tokenEndpoint' => '<string>', ], 'discoveryUrl' => '<string>', ], ], ], ]
Result Details
Members
- clientSecretArn
-
- Required: Yes
- Type: Secret structure
The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the OAuth2 credential provider.
- credentialProviderVendor
-
- Required: Yes
- Type: string
The vendor of the OAuth2 credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider.
- oauth2ProviderConfigOutput
-
- Required: Yes
- Type: Oauth2ProviderConfigOutput structure
The configuration output for the OAuth2 provider.
Errors
- ServiceQuotaExceededException:
This exception is thrown when a request is made beyond the service quota
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ConflictException:
This exception is thrown when there is a conflict performing an operation
- DecryptionFailure:
Exception thrown when decryption of a secret fails.
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
- EncryptionFailure:
Exception thrown when encryption of a secret fails.
UpdateWorkloadIdentity
$result = $client->updateWorkloadIdentity
([/* ... */]); $promise = $client->updateWorkloadIdentityAsync
([/* ... */]);
Updates an existing workload identity.
Parameter Syntax
$result = $client->updateWorkloadIdentity([ 'allowedResourceOauth2ReturnUrls' => ['<string>', ...], 'name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- allowedResourceOauth2ReturnUrls
-
- Type: Array of strings
The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.
- name
-
- Required: Yes
- Type: string
The name of the workload identity to update.
Result Syntax
[ 'allowedResourceOauth2ReturnUrls' => ['<string>', ...], 'createdTime' => <DateTime>, 'lastUpdatedTime' => <DateTime>, 'name' => '<string>', 'workloadIdentityArn' => '<string>', ]
Result Details
Members
- allowedResourceOauth2ReturnUrls
-
- Type: Array of strings
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the workload identity was created.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the workload identity was last updated.
- name
-
- Required: Yes
- Type: string
The name of the workload identity.
- workloadIdentityArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the workload identity.
Errors
- UnauthorizedException:
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
- ValidationException:
The input fails to satisfy the constraints specified by the service.
- AccessDeniedException:
This exception is thrown when a request is denied per access permissions
- ResourceNotFoundException:
This exception is thrown when a resource referenced by the operation does not exist
- ThrottlingException:
This exception is thrown when the number of requests exceeds the limit
- InternalServerException:
This exception is thrown if there was an unexpected error during processing of request
Shapes
AccessDeniedException
Description
This exception is thrown when a request is denied per access permissions
Members
- message
-
- Type: string
Agent
Description
Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime.
- agentRuntimeId
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime.
- agentRuntimeName
-
- Required: Yes
- Type: string
The name of the agent runtime.
- agentRuntimeVersion
-
- Required: Yes
- Type: string
The version of the agent runtime.
- description
-
- Required: Yes
- Type: string
The description of the agent runtime.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime was last updated.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime.
AgentArtifact
Description
The artifact of the agent.
Members
- containerConfiguration
-
- Type: ContainerConfiguration structure
The container configuration for the agent artifact.
AgentEndpoint
Description
Contains information about an agent runtime endpoint. An endpoint provides a way to connect to and interact with an agent runtime.
Members
- agentRuntimeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime associated with the endpoint.
- agentRuntimeEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the agent runtime endpoint.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was created.
- description
-
- Type: string
The description of the agent runtime endpoint.
- id
-
- Required: Yes
- Type: string
The unique identifier of the agent runtime endpoint.
- lastUpdatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the agent runtime endpoint was last updated.
- liveVersion
-
- Type: string
The live version of the agent runtime endpoint. This is the version that is currently serving requests.
- name
-
- Required: Yes
- Type: string
The name of the agent runtime endpoint.
- status
-
- Required: Yes
- Type: string
The current status of the agent runtime endpoint.
- targetVersion
-
- Type: string
The target version of the agent runtime endpoint. This is the version that the endpoint is being updated to.
ApiKeyCredentialProvider
Description
An API key credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint using an API key.
Members
- credentialLocation
-
- Type: string
The location of the API key credential. This field specifies where in the request the API key should be placed.
- credentialParameterName
-
- Type: string
The name of the credential parameter for the API key. This parameter name is used when sending the API key to the target endpoint.
- credentialPrefix
-
- Type: string
The prefix for the API key credential. This prefix is added to the API key when sending it to the target endpoint.
- providerArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the API key credential provider. This ARN identifies the provider in Amazon Web Services.
ApiKeyCredentialProviderItem
Description
Contains information about an API key credential provider.
Members
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the API key credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the API key credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the API key credential provider.
ApiSchemaConfiguration
Description
Configuration for API schema.
Members
- inlinePayload
-
- Type: string
The inline payload containing the API schema definition.
- s3
-
- Type: S3Configuration structure
The Amazon S3 configuration for a gateway. This structure defines how the gateway accesses files in Amazon S3.
AuthorizerConfiguration
Description
Represents inbound authorization configuration options used to authenticate incoming requests.
Members
- customJWTAuthorizer
-
- Type: CustomJWTAuthorizerConfiguration structure
The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
BrowserNetworkConfiguration
Description
The network configuration for a browser. This structure defines how the browser connects to the network.
Members
- networkMode
-
- Required: Yes
- Type: string
The network mode for the browser. This field specifies how the browser connects to the network.
BrowserSummary
Description
Contains summary information about a browser. A browser enables Amazon Bedrock Agent to interact with web content.
Members
- browserArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the browser.
- browserId
-
- Required: Yes
- Type: string
The unique identifier of the browser.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was created.
- description
-
- Type: string
The description of the browser.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the browser was last updated.
- name
-
- Type: string
The name of the browser.
- status
-
- Required: Yes
- Type: string
The current status of the browser.
CodeInterpreterNetworkConfiguration
Description
The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.
Members
- networkMode
-
- Required: Yes
- Type: string
The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.
CodeInterpreterSummary
Description
Contains summary information about a code interpreter. A code interpreter enables Amazon Bedrock Agent to execute code.
Members
- codeInterpreterArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the code interpreter.
- codeInterpreterId
-
- Required: Yes
- Type: string
The unique identifier of the code interpreter.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was created.
- description
-
- Type: string
The description of the code interpreter.
- lastUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the code interpreter was last updated.
- name
-
- Type: string
The name of the code interpreter.
- status
-
- Required: Yes
- Type: string
The current status of the code interpreter.
ConcurrentModificationException
Description
Exception thrown when a resource is modified concurrently by multiple requests.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
Description
This exception is thrown when there is a conflict performing an operation
Members
- message
-
- Type: string
ConsolidationConfiguration
Description
Contains consolidation configuration information for a memory strategy.
Members
- customConsolidationConfiguration
-
- Type: CustomConsolidationConfiguration structure
The custom consolidation configuration.
ContainerConfiguration
Description
Representation of a container configuration.
Members
- containerUri
-
- Required: Yes
- Type: string
The ECR URI of the container.
CredentialProvider
Description
A credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint.
Members
- apiKeyCredentialProvider
-
- Type: ApiKeyCredentialProvider structure
The API key credential provider. This provider uses an API key to authenticate with the target endpoint.
- oauthCredentialProvider
-
- Type: OAuthCredentialProvider structure
The OAuth credential provider. This provider uses OAuth authentication to access the target endpoint.
CredentialProviderConfiguration
Description
The configuration for a credential provider. This structure defines how the gateway authenticates with the target endpoint.
Members
- credentialProvider
-
- Type: CredentialProvider structure
The credential provider. This field contains the specific configuration for the credential provider type.
- credentialProviderType
-
- Required: Yes
- Type: string
The type of credential provider. This field specifies which authentication method the gateway uses.
CustomConfigurationInput
Description
Input for custom configuration of a memory strategy.
Members
- semanticOverride
-
- Type: SemanticOverrideConfigurationInput structure
The semantic override configuration for a custom memory strategy.
- summaryOverride
-
- Type: SummaryOverrideConfigurationInput structure
The summary override configuration for a custom memory strategy.
- userPreferenceOverride
-
- Type: UserPreferenceOverrideConfigurationInput structure
The user preference override configuration for a custom memory strategy.
CustomConsolidationConfiguration
Description
Contains custom consolidation configuration information.
Members
- semanticConsolidationOverride
-
- Type: SemanticConsolidationOverride structure
The semantic consolidation override configuration.
- summaryConsolidationOverride
-
- Type: SummaryConsolidationOverride structure
The summary consolidation override configuration.
- userPreferenceConsolidationOverride
-
- Type: UserPreferenceConsolidationOverride structure
The user preference consolidation override configuration.
CustomConsolidationConfigurationInput
Description
Input for a custom consolidation configuration.
Members
- semanticConsolidationOverride
-
- Type: SemanticOverrideConsolidationConfigurationInput structure
The semantic consolidation override configuration input.
- summaryConsolidationOverride
-
- Type: SummaryOverrideConsolidationConfigurationInput structure
The summary consolidation override configuration input.
- userPreferenceConsolidationOverride
-
- Type: UserPreferenceOverrideConsolidationConfigurationInput structure
The user preference consolidation override configuration input.
CustomExtractionConfiguration
Description
Contains custom extraction configuration information.
Members
- semanticExtractionOverride
-
- Type: SemanticExtractionOverride structure
The semantic extraction override configuration.
- userPreferenceExtractionOverride
-
- Type: UserPreferenceExtractionOverride structure
The user preference extraction override configuration.
CustomExtractionConfigurationInput
Description
Input for a custom extraction configuration.
Members
- semanticExtractionOverride
-
- Type: SemanticOverrideExtractionConfigurationInput structure
The semantic extraction override configuration input.
- userPreferenceExtractionOverride
-
- Type: UserPreferenceOverrideExtractionConfigurationInput structure
The user preference extraction override configuration input.
CustomJWTAuthorizerConfiguration
Description
Configuration for inbound JWT-based authorization, specifying how incoming requests should be authenticated.
Members
- allowedAudience
-
- Type: Array of strings
Represents individual audience values that are validated in the incoming JWT token validation process.
- allowedClients
-
- Type: Array of strings
Represents individual client IDs that are validated in the incoming JWT token validation process.
- discoveryUrl
-
- Required: Yes
- Type: string
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
CustomMemoryStrategyInput
Description
Input for creating a custom memory strategy.
Members
- configuration
-
- Type: CustomConfigurationInput structure
The configuration for the custom memory strategy.
- description
-
- Type: string
The description of the custom memory strategy.
- name
-
- Required: Yes
- Type: string
The name of the custom memory strategy.
- namespaces
-
- Type: Array of strings
The namespaces associated with the custom memory strategy.
CustomOauth2ProviderConfigInput
Description
Input configuration for a custom OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the custom OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the custom OAuth2 provider.
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the custom provider.
CustomOauth2ProviderConfigOutput
Description
Output configuration for a custom OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the custom provider.
DecryptionFailure
Description
Exception thrown when decryption of a secret fails.
Members
- message
-
- Required: Yes
- Type: string
DeleteMemoryStrategyInput
Description
Input for deleting a memory strategy.
Members
- memoryStrategyId
-
- Required: Yes
- Type: string
The unique identifier of the memory strategy to delete.
EncryptionFailure
Description
Exception thrown when encryption of a secret fails.
Members
- message
-
- Required: Yes
- Type: string
ExtractionConfiguration
Description
Contains extraction configuration information for a memory strategy.
Members
- customExtractionConfiguration
-
- Type: CustomExtractionConfiguration structure
The custom extraction configuration.
GatewayProtocolConfiguration
Description
The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
Members
- mcp
-
- Type: MCPGatewayConfiguration structure
The configuration for the Model Context Protocol (MCP). This protocol enables communication between Amazon Bedrock Agent and external tools.
GatewaySummary
Description
Contains summary information about a gateway.
Members
- authorizerType
-
- Required: Yes
- Type: string
The type of authorizer used by the gateway.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the gateway was created.
- description
-
- Type: string
The description of the gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- name
-
- Required: Yes
- Type: string
The name of the gateway.
- protocolType
-
- Required: Yes
- Type: string
The protocol type used by the gateway.
- status
-
- Required: Yes
- Type: string
The current status of the gateway.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the gateway was last updated.
GithubOauth2ProviderConfigInput
Description
Input configuration for a GitHub OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the GitHub OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the GitHub OAuth2 provider.
GithubOauth2ProviderConfigOutput
Description
Output configuration for a GitHub OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the GitHub provider.
GoogleOauth2ProviderConfigInput
Description
Input configuration for a Google OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the Google OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the Google OAuth2 provider.
GoogleOauth2ProviderConfigOutput
Description
Output configuration for a Google OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the Google provider.
InternalServerException
Description
This exception is thrown if there was an unexpected error during processing of request
Members
- message
-
- Type: string
KmsConfiguration
Description
Contains the KMS configuration for a resource.
Members
- keyType
-
- Required: Yes
- Type: string
The type of KMS key (CustomerManagedKey or ServiceManagedKey).
- kmsKeyArn
-
- Type: string
The Amazon Resource Name (ARN) of the KMS key.
MCPGatewayConfiguration
Description
The configuration for a Model Context Protocol (MCP) gateway. This structure defines how the gateway implements the MCP protocol.
Members
- instructions
-
- Type: string
The instructions for using the Model Context Protocol gateway. These instructions provide guidance on how to interact with the gateway.
- searchType
-
- Type: string
The search type for the Model Context Protocol gateway. This field specifies how the gateway handles search operations.
- supportedVersions
-
- Type: Array of strings
The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use.
McpLambdaTargetConfiguration
Description
The Lambda configuration for a Model Context Protocol target. This structure defines how the gateway uses a Lambda function to communicate with the target.
Members
- lambdaArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.
- toolSchema
-
- Required: Yes
- Type: ToolSchema structure
The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.
McpTargetConfiguration
Description
The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.
Members
- lambda
-
- Type: McpLambdaTargetConfiguration structure
The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.
- openApiSchema
-
- Type: ApiSchemaConfiguration structure
The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.
- smithyModel
-
- Type: ApiSchemaConfiguration structure
The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.
Memory
Description
Contains information about a memory resource.
Members
- arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the memory.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory was created.
- description
-
- Type: string
The description of the memory.
- encryptionKeyArn
-
- Type: string
The ARN of the KMS key used to encrypt the memory.
- eventExpiryDuration
-
- Required: Yes
- Type: int
The number of days after which memory events will expire.
- failureReason
-
- Type: string
The reason for failure if the memory is in a failed state.
- id
-
- Required: Yes
- Type: string
The unique identifier of the memory.
- memoryExecutionRoleArn
-
- Type: string
The ARN of the IAM role that provides permissions for the memory.
- name
-
- Required: Yes
- Type: string
The name of the memory.
- status
-
- Required: Yes
- Type: string
The current status of the memory.
- strategies
-
- Type: Array of MemoryStrategy structures
The list of memory strategies associated with this memory.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory was last updated.
MemoryStrategy
Description
Contains information about a memory strategy.
Members
- configuration
-
- Type: StrategyConfiguration structure
The configuration of the memory strategy.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory strategy was created.
- description
-
- Type: string
The description of the memory strategy.
- name
-
- Required: Yes
- Type: string
The name of the memory strategy.
- namespaces
-
- Required: Yes
- Type: Array of strings
The namespaces associated with the memory strategy.
- status
-
- Type: string
The current status of the memory strategy.
- strategyId
-
- Required: Yes
- Type: string
The unique identifier of the memory strategy.
- type
-
- Required: Yes
- Type: string
The type of the memory strategy.
- updatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory strategy was last updated.
MemoryStrategyInput
Description
Contains input information for creating a memory strategy.
Members
- customMemoryStrategy
-
- Type: CustomMemoryStrategyInput structure
Input for creating a custom memory strategy.
- semanticMemoryStrategy
-
- Type: SemanticMemoryStrategyInput structure
Input for creating a semantic memory strategy.
- summaryMemoryStrategy
-
- Type: SummaryMemoryStrategyInput structure
Input for creating a summary memory strategy.
- userPreferenceMemoryStrategy
-
- Type: UserPreferenceMemoryStrategyInput structure
Input for creating a user preference memory strategy.
MemorySummary
Description
Contains summary information about a memory resource.
Members
- arn
-
- Type: string
The Amazon Resource Name (ARN) of the memory.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory was created.
- id
-
- Type: string
The unique identifier of the memory.
- status
-
- Type: string
The current status of the memory.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the memory was last updated.
MicrosoftOauth2ProviderConfigInput
Description
Input configuration for a Microsoft OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the Microsoft OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the Microsoft OAuth2 provider.
MicrosoftOauth2ProviderConfigOutput
Description
Output configuration for a Microsoft OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the Microsoft provider.
ModifyConsolidationConfiguration
Description
Contains information for modifying a consolidation configuration.
Members
- customConsolidationConfiguration
-
- Type: CustomConsolidationConfigurationInput structure
The updated custom consolidation configuration.
ModifyExtractionConfiguration
Description
Contains information for modifying an extraction configuration.
Members
- customExtractionConfiguration
-
- Type: CustomExtractionConfigurationInput structure
The updated custom extraction configuration.
ModifyMemoryStrategies
Description
Contains information for modifying memory strategies.
Members
- addMemoryStrategies
-
- Type: Array of MemoryStrategyInput structures
The list of memory strategies to add.
- deleteMemoryStrategies
-
- Type: Array of DeleteMemoryStrategyInput structures
The list of memory strategies to delete.
- modifyMemoryStrategies
-
- Type: Array of ModifyMemoryStrategyInput structures
The list of memory strategies to modify.
ModifyMemoryStrategyInput
Description
Input for modifying a memory strategy.
Members
- configuration
-
- Type: ModifyStrategyConfiguration structure
The updated configuration for the memory strategy.
- description
-
- Type: string
The updated description of the memory strategy.
- memoryStrategyId
-
- Required: Yes
- Type: string
The unique identifier of the memory strategy to modify.
- namespaces
-
- Type: Array of strings
The updated namespaces for the memory strategy.
ModifyStrategyConfiguration
Description
Contains information for modifying a strategy configuration.
Members
- consolidation
-
- Type: ModifyConsolidationConfiguration structure
The updated consolidation configuration.
- extraction
-
- Type: ModifyExtractionConfiguration structure
The updated extraction configuration.
NetworkConfiguration
Description
SecurityConfig for the Agent.
Members
- networkMode
-
- Required: Yes
- Type: string
The network mode for the agent runtime.
OAuthCredentialProvider
Description
An OAuth credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint using OAuth.
Members
- customParameters
-
- Type: Associative array of custom strings keys (OAuthCustomParametersKey) to strings
The custom parameters for the OAuth credential provider. These parameters provide additional configuration for the OAuth authentication process.
- providerArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the OAuth credential provider. This ARN identifies the provider in Amazon Web Services.
- scopes
-
- Required: Yes
- Type: Array of strings
The OAuth scopes for the credential provider. These scopes define the level of access requested from the OAuth provider.
Oauth2AuthorizationServerMetadata
Description
Contains the authorization server metadata for an OAuth2 provider.
Members
- authorizationEndpoint
-
- Required: Yes
- Type: string
The authorization endpoint URL for the OAuth2 authorization server.
- issuer
-
- Required: Yes
- Type: string
The issuer URL for the OAuth2 authorization server.
- responseTypes
-
- Type: Array of strings
The supported response types for the OAuth2 authorization server.
- tokenEndpoint
-
- Required: Yes
- Type: string
The token endpoint URL for the OAuth2 authorization server.
Oauth2CredentialProviderItem
Description
Contains information about an OAuth2 credential provider.
Members
- createdTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was created.
- credentialProviderArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the OAuth2 credential provider.
- credentialProviderVendor
-
- Required: Yes
- Type: string
The vendor of the OAuth2 credential provider.
- lastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the OAuth2 credential provider was last updated.
- name
-
- Required: Yes
- Type: string
The name of the OAuth2 credential provider.
Oauth2Discovery
Description
Contains the discovery information for an OAuth2 provider.
Members
- authorizationServerMetadata
-
- Type: Oauth2AuthorizationServerMetadata structure
The authorization server metadata for the OAuth2 provider.
- discoveryUrl
-
- Type: string
The discovery URL for the OAuth2 provider.
Oauth2ProviderConfigInput
Description
Contains the input configuration for an OAuth2 provider.
Members
- customOauth2ProviderConfig
-
- Type: CustomOauth2ProviderConfigInput structure
The configuration for a custom OAuth2 provider.
- githubOauth2ProviderConfig
-
- Type: GithubOauth2ProviderConfigInput structure
The configuration for a GitHub OAuth2 provider.
- googleOauth2ProviderConfig
-
- Type: GoogleOauth2ProviderConfigInput structure
The configuration for a Google OAuth2 provider.
- microsoftOauth2ProviderConfig
-
- Type: MicrosoftOauth2ProviderConfigInput structure
The configuration for a Microsoft OAuth2 provider.
- salesforceOauth2ProviderConfig
-
- Type: SalesforceOauth2ProviderConfigInput structure
The configuration for a Salesforce OAuth2 provider.
- slackOauth2ProviderConfig
-
- Type: SlackOauth2ProviderConfigInput structure
The configuration for a Slack OAuth2 provider.
Oauth2ProviderConfigOutput
Description
Contains the output configuration for an OAuth2 provider.
Members
- customOauth2ProviderConfig
-
- Type: CustomOauth2ProviderConfigOutput structure
The output configuration for a custom OAuth2 provider.
- githubOauth2ProviderConfig
-
- Type: GithubOauth2ProviderConfigOutput structure
The output configuration for a GitHub OAuth2 provider.
- googleOauth2ProviderConfig
-
- Type: GoogleOauth2ProviderConfigOutput structure
The output configuration for a Google OAuth2 provider.
- microsoftOauth2ProviderConfig
-
- Type: MicrosoftOauth2ProviderConfigOutput structure
The output configuration for a Microsoft OAuth2 provider.
- salesforceOauth2ProviderConfig
-
- Type: SalesforceOauth2ProviderConfigOutput structure
The output configuration for a Salesforce OAuth2 provider.
- slackOauth2ProviderConfig
-
- Type: SlackOauth2ProviderConfigOutput structure
The output configuration for a Slack OAuth2 provider.
ProtocolConfiguration
Description
The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
Members
- serverProtocol
-
- Required: Yes
- Type: string
The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
RecordingConfig
Description
The recording configuration for a browser. This structure defines how browser sessions are recorded.
Members
- enabled
-
- Type: boolean
Indicates whether recording is enabled for the browser. When set to true, browser sessions are recorded.
- s3Location
-
- Type: S3Location structure
The Amazon S3 location where browser recordings are stored. This location contains the recorded browser sessions.
ResourceLimitExceededException
Description
Exception thrown when a resource limit is exceeded.
Members
- message
-
- Type: string
ResourceNotFoundException
Description
This exception is thrown when a resource referenced by the operation does not exist
Members
- message
-
- Type: string
S3Configuration
Description
The Amazon S3 configuration for a gateway. This structure defines how the gateway accesses files in Amazon S3.
Members
- bucketOwnerAccountId
-
- Type: string
The account ID of the Amazon S3 bucket owner. This ID is used for cross-account access to the bucket.
- uri
-
- Type: string
The URI of the Amazon S3 object. This URI specifies the location of the object in Amazon S3.
S3Location
Description
The Amazon S3 location for storing data. This structure defines where in Amazon S3 data is stored.
Members
- bucket
-
- Required: Yes
- Type: string
The name of the Amazon S3 bucket. This bucket contains the stored data.
- prefix
-
- Required: Yes
- Type: string
The prefix for objects in the Amazon S3 bucket. This prefix is added to the object keys to organize the data.
SalesforceOauth2ProviderConfigInput
Description
Input configuration for a Salesforce OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the Salesforce OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the Salesforce OAuth2 provider.
SalesforceOauth2ProviderConfigOutput
Description
Output configuration for a Salesforce OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the Salesforce provider.
SchemaDefinition
Description
A schema definition for a gateway target. This structure defines the structure of the API that the target exposes.
Members
- description
-
- Type: string
The description of the schema definition. This description provides information about the purpose and usage of the schema.
- items
-
- Type: SchemaDefinition structure
The items in the schema definition. This field is used for array types to define the structure of the array elements.
- properties
-
- Type: Associative array of custom strings keys (String) to SchemaDefinition structures
The properties of the schema definition. These properties define the fields in the schema.
- required
-
- Type: Array of strings
The required fields in the schema definition. These fields must be provided when using the schema.
- type
-
- Required: Yes
- Type: string
The type of the schema definition. This field specifies the data type of the schema.
Secret
Description
Contains information about a secret in AWS Secrets Manager.
Members
- secretArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the secret in AWS Secrets Manager.
SemanticConsolidationOverride
Description
Contains semantic consolidation override configuration.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for semantic consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for semantic consolidation.
SemanticExtractionOverride
Description
Contains semantic extraction override configuration.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for semantic extraction.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for semantic extraction.
SemanticMemoryStrategyInput
Description
Input for creating a semantic memory strategy.
Members
- description
-
- Type: string
The description of the semantic memory strategy.
- name
-
- Required: Yes
- Type: string
The name of the semantic memory strategy.
- namespaces
-
- Type: Array of strings
The namespaces associated with the semantic memory strategy.
SemanticOverrideConfigurationInput
Description
Input for semantic override configuration in a memory strategy.
Members
- consolidation
-
- Type: SemanticOverrideConsolidationConfigurationInput structure
The consolidation configuration for a semantic override.
- extraction
-
- Type: SemanticOverrideExtractionConfigurationInput structure
The extraction configuration for a semantic override.
SemanticOverrideConsolidationConfigurationInput
Description
Input for semantic override consolidation configuration in a memory strategy.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for semantic consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for semantic consolidation.
SemanticOverrideExtractionConfigurationInput
Description
Input for semantic override extraction configuration in a memory strategy.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for semantic extraction.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for semantic extraction.
ServiceException
Description
An internal error occurred.
Members
- message
-
- Type: string
ServiceQuotaExceededException
Description
This exception is thrown when a request is made beyond the service quota
Members
- message
-
- Type: string
SlackOauth2ProviderConfigInput
Description
Input configuration for a Slack OAuth2 provider.
Members
- clientId
-
- Required: Yes
- Type: string
The client ID for the Slack OAuth2 provider.
- clientSecret
-
- Required: Yes
- Type: string
The client secret for the Slack OAuth2 provider.
SlackOauth2ProviderConfigOutput
Description
Output configuration for a Slack OAuth2 provider.
Members
- oauthDiscovery
-
- Required: Yes
- Type: Oauth2Discovery structure
The OAuth2 discovery information for the Slack provider.
StrategyConfiguration
Description
Contains configuration information for a memory strategy.
Members
- consolidation
-
- Type: ConsolidationConfiguration structure
The consolidation configuration for the memory strategy.
- extraction
-
- Type: ExtractionConfiguration structure
The extraction configuration for the memory strategy.
- type
-
- Type: string
The type of override for the strategy configuration.
SummaryConsolidationOverride
Description
Contains summary consolidation override configuration.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for summary consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for summary consolidation.
SummaryMemoryStrategyInput
Description
Input for creating a summary memory strategy.
Members
- description
-
- Type: string
The description of the summary memory strategy.
- name
-
- Required: Yes
- Type: string
The name of the summary memory strategy.
- namespaces
-
- Type: Array of strings
The namespaces associated with the summary memory strategy.
SummaryOverrideConfigurationInput
Description
Input for summary override configuration in a memory strategy.
Members
- consolidation
-
- Type: SummaryOverrideConsolidationConfigurationInput structure
The consolidation configuration for a summary override.
SummaryOverrideConsolidationConfigurationInput
Description
Input for summary override consolidation configuration in a memory strategy.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for summary consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for summary consolidation.
TargetConfiguration
Description
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
Members
- mcp
-
- Type: McpTargetConfiguration structure
The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.
TargetSummary
Description
Contains summary information about a gateway target. A target represents an endpoint that the gateway can connect to.
Members
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the target was created.
- description
-
- Type: string
The description of the target.
- name
-
- Required: Yes
- Type: string
The name of the target.
- status
-
- Required: Yes
- Type: string
The current status of the target.
- targetId
-
- Required: Yes
- Type: string
The unique identifier of the target.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the target was last updated.
ThrottledException
Description
API rate limit has been exceeded.
Members
- message
-
- Type: string
ThrottlingException
Description
This exception is thrown when the number of requests exceeds the limit
Members
- message
-
- Type: string
ToolDefinition
Description
A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.
Members
- description
-
- Required: Yes
- Type: string
The description of the tool. This description provides information about the purpose and usage of the tool.
- inputSchema
-
- Required: Yes
- Type: SchemaDefinition structure
The input schema for the tool. This schema defines the structure of the input that the tool accepts.
- name
-
- Required: Yes
- Type: string
The name of the tool. This name identifies the tool in the Model Context Protocol.
- outputSchema
-
- Type: SchemaDefinition structure
The output schema for the tool. This schema defines the structure of the output that the tool produces.
ToolSchema
Description
A tool schema for a gateway target. This structure defines the schema for a tool that the target exposes through the Model Context Protocol.
Members
- inlinePayload
-
- Type: Array of ToolDefinition structures
The inline payload of the tool schema. This payload contains the schema definition directly in the request.
- s3
-
- Type: S3Configuration structure
The Amazon S3 location of the tool schema. This location contains the schema definition file.
UnauthorizedException
Description
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
Members
- message
-
- Type: string
UserPreferenceConsolidationOverride
Description
Contains user preference consolidation override configuration.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for user preference consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for user preference consolidation.
UserPreferenceExtractionOverride
Description
Contains user preference extraction override configuration.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for user preference extraction.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for user preference extraction.
UserPreferenceMemoryStrategyInput
Description
Input for creating a user preference memory strategy.
Members
- description
-
- Type: string
The description of the user preference memory strategy.
- name
-
- Required: Yes
- Type: string
The name of the user preference memory strategy.
- namespaces
-
- Type: Array of strings
The namespaces associated with the user preference memory strategy.
UserPreferenceOverrideConfigurationInput
Description
Input for user preference override configuration in a memory strategy.
Members
- consolidation
-
- Type: UserPreferenceOverrideConsolidationConfigurationInput structure
The consolidation configuration for a user preference override.
- extraction
-
- Type: UserPreferenceOverrideExtractionConfigurationInput structure
The extraction configuration for a user preference override.
UserPreferenceOverrideConsolidationConfigurationInput
Description
Input for user preference override consolidation configuration in a memory strategy.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for user preference consolidation.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for user preference consolidation.
UserPreferenceOverrideExtractionConfigurationInput
Description
Input for user preference override extraction configuration in a memory strategy.
Members
- appendToPrompt
-
- Required: Yes
- Type: string
The text to append to the prompt for user preference extraction.
- modelId
-
- Required: Yes
- Type: string
The model ID to use for user preference extraction.
ValidationException
Description
The input fails to satisfy the constraints specified by the service.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
- message
-
- Required: Yes
- Type: string
- reason
-
- Required: Yes
- Type: string
ValidationExceptionField
Description
Stores information about a field passed inside a request that resulted in an exception.
Members
- message
-
- Required: Yes
- Type: string
A message describing why this field failed validation.
- name
-
- Required: Yes
- Type: string
The name of the field.
WorkloadIdentityDetails
Description
The information about the workload identity.
Members
- workloadIdentityArn
-
- Required: Yes
- Type: string
The ARN associated with the workload identity.
WorkloadIdentityType
Description
Contains information about a workload identity.
Members
- name
-
- Required: Yes
- Type: string
The name of the workload identity.
- workloadIdentityArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the workload identity.