BedrockAgentCoreControl / Client / get_registry
get_registry¶
- BedrockAgentCoreControl.Client.get_registry(**kwargs)¶
Retrieves information about a specific registry.
See also: AWS API Documentation
Request Syntax
response = client.get_registry( registryId='string' )
- Parameters:
registryId (string) –
[REQUIRED]
The identifier of the registry to retrieve. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
- Return type:
dict
- Returns:
Response Syntax
{ 'name': 'string', 'description': 'string', 'registryId': 'string', 'registryArn': 'string', 'authorizerType': 'CUSTOM_JWT'|'AWS_IAM', 'authorizerConfiguration': { 'customJWTAuthorizer': { 'discoveryUrl': 'string', 'allowedAudience': [ 'string', ], 'allowedClients': [ 'string', ], 'allowedScopes': [ 'string', ], 'customClaims': [ { 'inboundTokenClaimName': 'string', 'inboundTokenClaimValueType': 'STRING'|'STRING_ARRAY', 'authorizingClaimMatchValue': { 'claimMatchValue': { 'matchValueString': 'string', 'matchValueStringList': [ 'string', ] }, 'claimMatchOperator': 'EQUALS'|'CONTAINS'|'CONTAINS_ANY' } }, ] } }, 'approvalConfiguration': { 'autoApproval': True|False }, 'status': 'CREATING'|'READY'|'UPDATING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED', 'statusReason': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
name (string) –
The name of the registry.
description (string) –
The description of the registry.
registryId (string) –
The unique identifier of the registry.
registryArn (string) –
The Amazon Resource Name (ARN) of the registry.
authorizerType (string) –
The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.
CUSTOM_JWT- Authorize with a bearer token.AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
authorizerConfiguration (dict) –
The authorizer configuration for the registry. For details, see the
AuthorizerConfigurationdata type.Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
customJWTAuthorizer. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
customJWTAuthorizer (dict) –
The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
discoveryUrl (string) –
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
allowedAudience (list) –
Represents individual audience values that are validated in the incoming JWT token validation process.
(string) –
allowedClients (list) –
Represents individual client IDs that are validated in the incoming JWT token validation process.
(string) –
allowedScopes (list) –
An array of scopes that are allowed to access the token.
(string) –
customClaims (list) –
An array of objects that define a custom claim validation name, value, and operation
(dict) –
Defines the name of a custom claim field and rules for finding matches to authenticate its value.
inboundTokenClaimName (string) –
The name of the custom claim field to check.
inboundTokenClaimValueType (string) –
The data type of the claim value to check for.
Use
STRINGif you want to find an exact match to a string you define.Use
STRING_ARRAYif you want to fnd a match to at least one value in an array you define.
authorizingClaimMatchValue (dict) –
Defines the value or values to match for and the relationship of the match.
claimMatchValue (dict) –
The value or values to match for.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
matchValueString,matchValueStringList. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
matchValueString (string) –
The string value to match for.
matchValueStringList (list) –
An array of strings to check for a match.
(string) –
claimMatchOperator (string) –
Defines the relationship between the claim field value and the value or values you’re matching for.
approvalConfiguration (dict) –
The approval configuration for registry records. For details, see the
ApprovalConfigurationdata type.autoApproval (boolean) –
Whether registry records are auto-approved. When set to
true, records are automatically approved upon creation. When set tofalse(the default), records require explicit approval for security purposes.
status (string) –
The current status of the registry. Possible values include
CREATING,READY,UPDATING,CREATE_FAILED,UPDATE_FAILED,DELETING, andDELETE_FAILED.statusReason (string) –
The reason for the current status, typically set when the status is a failure state.
createdAt (datetime) –
The timestamp when the registry was created.
updatedAt (datetime) –
The timestamp when the registry was last updated.
Exceptions
BedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException