@aws-sdk/client-agent-registry-control 3.1105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +286 -0
- package/dist-cjs/index.js +1536 -0
- package/dist-es/AgentRegistryControl.js +49 -0
- package/dist-es/AgentRegistryControlClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateRegistryCommand.js +4 -0
- package/dist-es/commands/CreateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryRecordCommand.js +4 -0
- package/dist-es/commands/GetRegistryCommand.js +4 -0
- package/dist-es/commands/GetRegistryRecordCommand.js +4 -0
- package/dist-es/commands/ListRegistriesCommand.js +4 -0
- package/dist-es/commands/ListRegistryRecordsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/SubmitRegistryRecordForApprovalCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordStatusCommand.js +4 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +9 -0
- package/dist-es/endpoint/bdd.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/AgentRegistryControlServiceException.js +8 -0
- package/dist-es/models/enums.js +69 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRegistriesPaginator.js +4 -0
- package/dist-es/pagination/ListRegistryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +783 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForRegistryReady.js +58 -0
- package/dist-es/waiters/waitForRegistryRecordApproved.js +58 -0
- package/dist-types/AgentRegistryControl.d.ts +143 -0
- package/dist-types/AgentRegistryControlClient.d.ts +201 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +172 -0
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +212 -0
- package/dist-types/commands/DeleteRegistryCommand.d.ts +89 -0
- package/dist-types/commands/DeleteRegistryRecordCommand.d.ts +88 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +173 -0
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +211 -0
- package/dist-types/commands/ListRegistriesCommand.d.ts +179 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +266 -0
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +375 -0
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AgentRegistryControlServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +173 -0
- package/dist-types/models/errors.d.ts +98 -0
- package/dist-types/models/models_0.d.ts +1886 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRegistriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRegistryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +118 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +295 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +187 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/AgentRegistryControlServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +90 -0
- package/dist-types/ts3.4/models/errors.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +528 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListRegistriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRegistryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +118 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForRegistryReady.d.ts +12 -0
- package/dist-types/ts3.4/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForRegistryReady.d.ts +15 -0
- package/dist-types/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/package.json +69 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRegistryRequest, GetRegistryResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRegistryCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRegistryCommandInput extends GetRegistryRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRegistryCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRegistryCommandOutput extends GetRegistryResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRegistryCommand_base: {
|
|
22
|
+
new (input: GetRegistryCommandInput): import("@smithy/core/client").CommandImpl<GetRegistryCommandInput, GetRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRegistryCommandInput): import("@smithy/core/client").CommandImpl<GetRegistryCommandInput, GetRegistryCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Gets a registry by identifier (ARN or ID)</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, GetRegistryCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, GetRegistryCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // GetRegistryRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetRegistryCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetRegistryResponse
|
|
42
|
+
* // name: "STRING_VALUE", // required
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // registryId: "STRING_VALUE", // required
|
|
45
|
+
* // registryArn: "STRING_VALUE", // required
|
|
46
|
+
* // discoveryConfiguration: { // DiscoveryConfiguration
|
|
47
|
+
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
48
|
+
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
49
|
+
* // discoveryUrl: "STRING_VALUE", // required
|
|
50
|
+
* // allowedAudience: [ // AllowedAudienceList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // allowedClients: [ // AllowedClientsList
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
60
|
+
* // { // CustomClaimValidationType
|
|
61
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
62
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
63
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
64
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
65
|
+
* // matchValueString: "STRING_VALUE",
|
|
66
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
75
|
+
* // selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
76
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // managedVpcResource: { // ManagedVpcResource
|
|
79
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
80
|
+
* // subnetIds: [ // SubnetIds // required
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
84
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // tags: { // TagsMap
|
|
88
|
+
* // "<keys>": "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // routingDomain: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // privateEndpointOverrides: [ // PrivateEndpointOverrides
|
|
94
|
+
* // { // PrivateEndpointOverride
|
|
95
|
+
* // domain: "STRING_VALUE", // required
|
|
96
|
+
* // privateEndpoint: {// Union: only one key present
|
|
97
|
+
* // selfManagedLatticeResource: {// Union: only one key present
|
|
98
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // managedVpcResource: {
|
|
101
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
102
|
+
* // subnetIds: [ // required
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
106
|
+
* // securityGroupIds: [
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // tags: {
|
|
110
|
+
* // "<keys>": "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // routingDomain: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM",
|
|
120
|
+
* // },
|
|
121
|
+
* // approvalConfiguration: { // ApprovalConfiguration
|
|
122
|
+
* // autoApprovalRules: [ // AutoApprovalRuleList
|
|
123
|
+
* // "APPROVE_ALL",
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // status: "CREATING" || "READY" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", // required
|
|
127
|
+
* // statusReason: "STRING_VALUE",
|
|
128
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
129
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
130
|
+
* // };
|
|
131
|
+
*
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* @param GetRegistryCommandInput - {@link GetRegistryCommandInput}
|
|
135
|
+
* @returns {@link GetRegistryCommandOutput}
|
|
136
|
+
* @see {@link GetRegistryCommandInput} for command's `input` shape.
|
|
137
|
+
* @see {@link GetRegistryCommandOutput} for command's `response` shape.
|
|
138
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
141
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link InternalServerException} (server fault)
|
|
144
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
147
|
+
* <p>The requested resource was not found.</p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
150
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link ValidationException} (client fault)
|
|
153
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
156
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export declare class GetRegistryCommand extends GetRegistryCommand_base {
|
|
162
|
+
/** @internal type navigation helper, not in runtime. */
|
|
163
|
+
protected static __types: {
|
|
164
|
+
api: {
|
|
165
|
+
input: GetRegistryRequest;
|
|
166
|
+
output: GetRegistryResponse;
|
|
167
|
+
};
|
|
168
|
+
sdk: {
|
|
169
|
+
input: GetRegistryCommandInput;
|
|
170
|
+
output: GetRegistryCommandOutput;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRegistryRecordRequest, GetRegistryRecordResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRegistryRecordCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRegistryRecordCommandInput extends GetRegistryRecordRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRegistryRecordCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRegistryRecordCommandOutput extends GetRegistryRecordResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRegistryRecordCommand_base: {
|
|
22
|
+
new (input: GetRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<GetRegistryRecordCommandInput, GetRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRegistryRecordCommandInput): import("@smithy/core/client").CommandImpl<GetRegistryRecordCommandInput, GetRegistryRecordCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of a registry record</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, GetRegistryRecordCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, GetRegistryRecordCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // GetRegistryRecordRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* recordId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetRegistryRecordCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetRegistryRecordResponse
|
|
43
|
+
* // registryArn: "STRING_VALUE", // required
|
|
44
|
+
* // recordArn: "STRING_VALUE", // required
|
|
45
|
+
* // recordId: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // displayName: "STRING_VALUE",
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL", // required
|
|
50
|
+
* // descriptors: { // Descriptors
|
|
51
|
+
* // mcpServer: { // McpServerDescriptor
|
|
52
|
+
* // data: "STRING_VALUE",
|
|
53
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
54
|
+
* // additionalData: { // McpServerAdditionalData
|
|
55
|
+
* // tools: { // McpToolsDescriptor
|
|
56
|
+
* // data: "STRING_VALUE",
|
|
57
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // source: { // DescriptorSource
|
|
61
|
+
* // fromUrl: { // DescriptorSourceFromUrl
|
|
62
|
+
* // url: "STRING_VALUE", // required
|
|
63
|
+
* // credentialProviderConfigurations: [ // RegistryRecordCredentialProviderConfigurationList
|
|
64
|
+
* // { // RegistryRecordCredentialProviderConfiguration
|
|
65
|
+
* // credentialProviderType: "OAUTH" || "IAM", // required
|
|
66
|
+
* // credentialProvider: { // RegistryRecordCredentialProviderUnion Union: only one key present
|
|
67
|
+
* // oauthCredentialProvider: { // RegistryRecordOAuthCredentialProvider
|
|
68
|
+
* // providerArn: "STRING_VALUE", // required
|
|
69
|
+
* // grantType: "CLIENT_CREDENTIALS",
|
|
70
|
+
* // scopes: [ // ScopeList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // customParameters: { // CustomParameterMap
|
|
74
|
+
* // "<keys>": "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // iamCredentialProvider: { // RegistryRecordIamCredentialProvider
|
|
78
|
+
* // roleArn: "STRING_VALUE",
|
|
79
|
+
* // service: "STRING_VALUE",
|
|
80
|
+
* // region: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // a2aAgentCard: { // A2aAgentCardDescriptor
|
|
89
|
+
* // data: "STRING_VALUE",
|
|
90
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
91
|
+
* // source: {
|
|
92
|
+
* // fromUrl: {
|
|
93
|
+
* // url: "STRING_VALUE", // required
|
|
94
|
+
* // credentialProviderConfigurations: [
|
|
95
|
+
* // {
|
|
96
|
+
* // credentialProviderType: "OAUTH" || "IAM", // required
|
|
97
|
+
* // credentialProvider: {// Union: only one key present
|
|
98
|
+
* // oauthCredentialProvider: {
|
|
99
|
+
* // providerArn: "STRING_VALUE", // required
|
|
100
|
+
* // grantType: "CLIENT_CREDENTIALS",
|
|
101
|
+
* // scopes: [
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // customParameters: {
|
|
105
|
+
* // "<keys>": "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // iamCredentialProvider: {
|
|
109
|
+
* // roleArn: "STRING_VALUE",
|
|
110
|
+
* // service: "STRING_VALUE",
|
|
111
|
+
* // region: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // agentSkillsDefinition: { // AgentSkillsDefinitionDescriptor
|
|
120
|
+
* // data: "STRING_VALUE",
|
|
121
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
122
|
+
* // additionalData: { // AgentSkillsAdditionalData
|
|
123
|
+
* // skillMd: { // AgentSkillsMdDescriptor
|
|
124
|
+
* // data: "STRING_VALUE",
|
|
125
|
+
* // dataSchemaVersion: "STRING_VALUE",
|
|
126
|
+
* // source: {
|
|
127
|
+
* // fromUrl: {
|
|
128
|
+
* // url: "STRING_VALUE", // required
|
|
129
|
+
* // credentialProviderConfigurations: [
|
|
130
|
+
* // {
|
|
131
|
+
* // credentialProviderType: "OAUTH" || "IAM", // required
|
|
132
|
+
* // credentialProvider: {// Union: only one key present
|
|
133
|
+
* // oauthCredentialProvider: {
|
|
134
|
+
* // providerArn: "STRING_VALUE", // required
|
|
135
|
+
* // grantType: "CLIENT_CREDENTIALS",
|
|
136
|
+
* // scopes: [
|
|
137
|
+
* // "STRING_VALUE",
|
|
138
|
+
* // ],
|
|
139
|
+
* // customParameters: {
|
|
140
|
+
* // "<keys>": "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // iamCredentialProvider: {
|
|
144
|
+
* // roleArn: "STRING_VALUE",
|
|
145
|
+
* // service: "STRING_VALUE",
|
|
146
|
+
* // region: "STRING_VALUE",
|
|
147
|
+
* // },
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // custom: { // CustomDescriptor
|
|
157
|
+
* // data: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
160
|
+
* // recordVersion: "STRING_VALUE",
|
|
161
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
162
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
163
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
164
|
+
* // statusReason: "STRING_VALUE",
|
|
165
|
+
* // };
|
|
166
|
+
*
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @param GetRegistryRecordCommandInput - {@link GetRegistryRecordCommandInput}
|
|
170
|
+
* @returns {@link GetRegistryRecordCommandOutput}
|
|
171
|
+
* @see {@link GetRegistryRecordCommandInput} for command's `input` shape.
|
|
172
|
+
* @see {@link GetRegistryRecordCommandOutput} for command's `response` shape.
|
|
173
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
176
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link ConflictException} (client fault)
|
|
179
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link InternalServerException} (server fault)
|
|
182
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
185
|
+
* <p>The requested resource was not found.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
188
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link ValidationException} (client fault)
|
|
191
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
194
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
195
|
+
*
|
|
196
|
+
*
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export declare class GetRegistryRecordCommand extends GetRegistryRecordCommand_base {
|
|
200
|
+
/** @internal type navigation helper, not in runtime. */
|
|
201
|
+
protected static __types: {
|
|
202
|
+
api: {
|
|
203
|
+
input: GetRegistryRecordRequest;
|
|
204
|
+
output: GetRegistryRecordResponse;
|
|
205
|
+
};
|
|
206
|
+
sdk: {
|
|
207
|
+
input: GetRegistryRecordCommandInput;
|
|
208
|
+
output: GetRegistryRecordCommandOutput;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRegistriesRequest, ListRegistriesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRegistriesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRegistriesCommandInput extends ListRegistriesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRegistriesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRegistriesCommandOutput extends ListRegistriesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRegistriesCommand_base: {
|
|
22
|
+
new (input: ListRegistriesCommandInput): import("@smithy/core/client").CommandImpl<ListRegistriesCommandInput, ListRegistriesCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListRegistriesCommandInput]): import("@smithy/core/client").CommandImpl<ListRegistriesCommandInput, ListRegistriesCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the registries in the caller's account and Region, with optional filtering by status and discovery authorizer type</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, ListRegistriesCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, ListRegistriesCommand } = require("@aws-sdk/client-agent-registry-control"); // CommonJS import
|
|
33
|
+
* // import type { AgentRegistryControlClientConfig } from "@aws-sdk/client-agent-registry-control";
|
|
34
|
+
* const config = {}; // type is AgentRegistryControlClientConfig
|
|
35
|
+
* const client = new AgentRegistryControlClient(config);
|
|
36
|
+
* const input = { // ListRegistriesRequest
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* filters: [ // RegistryFilterList
|
|
40
|
+
* { // RegistryFilter
|
|
41
|
+
* name: "status" || "discoveryConfiguration.authorizerType", // required
|
|
42
|
+
* values: [ // FilterValues // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListRegistriesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListRegistriesResponse
|
|
51
|
+
* // registries: [ // RegistrySummaryList // required
|
|
52
|
+
* // { // RegistrySummary
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // registryId: "STRING_VALUE", // required
|
|
56
|
+
* // registryArn: "STRING_VALUE", // required
|
|
57
|
+
* // discoveryConfiguration: { // DiscoveryConfiguration
|
|
58
|
+
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
59
|
+
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
60
|
+
* // discoveryUrl: "STRING_VALUE", // required
|
|
61
|
+
* // allowedAudience: [ // AllowedAudienceList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // allowedClients: [ // AllowedClientsList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
71
|
+
* // { // CustomClaimValidationType
|
|
72
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
73
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
74
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
75
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
76
|
+
* // matchValueString: "STRING_VALUE",
|
|
77
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
86
|
+
* // selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
87
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // managedVpcResource: { // ManagedVpcResource
|
|
90
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
91
|
+
* // subnetIds: [ // SubnetIds // required
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
95
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // tags: { // TagsMap
|
|
99
|
+
* // "<keys>": "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // routingDomain: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // privateEndpointOverrides: [ // PrivateEndpointOverrides
|
|
105
|
+
* // { // PrivateEndpointOverride
|
|
106
|
+
* // domain: "STRING_VALUE", // required
|
|
107
|
+
* // privateEndpoint: {// Union: only one key present
|
|
108
|
+
* // selfManagedLatticeResource: {// Union: only one key present
|
|
109
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // managedVpcResource: {
|
|
112
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
113
|
+
* // subnetIds: [ // required
|
|
114
|
+
* // "STRING_VALUE",
|
|
115
|
+
* // ],
|
|
116
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
117
|
+
* // securityGroupIds: [
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // tags: {
|
|
121
|
+
* // "<keys>": "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // routingDomain: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM",
|
|
131
|
+
* // },
|
|
132
|
+
* // status: "CREATING" || "READY" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", // required
|
|
133
|
+
* // statusReason: "STRING_VALUE",
|
|
134
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
135
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // nextToken: "STRING_VALUE",
|
|
139
|
+
* // };
|
|
140
|
+
*
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @param ListRegistriesCommandInput - {@link ListRegistriesCommandInput}
|
|
144
|
+
* @returns {@link ListRegistriesCommandOutput}
|
|
145
|
+
* @see {@link ListRegistriesCommandInput} for command's `input` shape.
|
|
146
|
+
* @see {@link ListRegistriesCommandOutput} for command's `response` shape.
|
|
147
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
150
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link InternalServerException} (server fault)
|
|
153
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
156
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link ValidationException} (client fault)
|
|
159
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
162
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
163
|
+
*
|
|
164
|
+
*
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class ListRegistriesCommand extends ListRegistriesCommand_base {
|
|
168
|
+
/** @internal type navigation helper, not in runtime. */
|
|
169
|
+
protected static __types: {
|
|
170
|
+
api: {
|
|
171
|
+
input: ListRegistriesRequest;
|
|
172
|
+
output: ListRegistriesResponse;
|
|
173
|
+
};
|
|
174
|
+
sdk: {
|
|
175
|
+
input: ListRegistriesCommandInput;
|
|
176
|
+
output: ListRegistriesCommandOutput;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
}
|