@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,114 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRegistryRecordsRequest, ListRegistryRecordsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRegistryRecordsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRegistryRecordsCommandInput extends ListRegistryRecordsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRegistryRecordsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRegistryRecordsCommandOutput extends ListRegistryRecordsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRegistryRecordsCommand_base: {
|
|
22
|
+
new (input: ListRegistryRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListRegistryRecordsCommandInput, ListRegistryRecordsCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListRegistryRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListRegistryRecordsCommandInput, ListRegistryRecordsCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the registry records within a registry, with optional filtering by name, status, and record 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, ListRegistryRecordsCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, ListRegistryRecordsCommand } = 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 = { // ListRegistryRecordsRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* filters: [ // RegistryRecordFilterList
|
|
41
|
+
* { // RegistryRecordFilter
|
|
42
|
+
* name: "name" || "status" || "recordType", // required
|
|
43
|
+
* values: [ // FilterValues // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListRegistryRecordsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListRegistryRecordsResponse
|
|
52
|
+
* // registryRecords: [ // RegistryRecordSummaryList // required
|
|
53
|
+
* // { // RegistryRecordSummary
|
|
54
|
+
* // registryArn: "STRING_VALUE", // required
|
|
55
|
+
* // recordArn: "STRING_VALUE", // required
|
|
56
|
+
* // recordId: "STRING_VALUE", // required
|
|
57
|
+
* // name: "STRING_VALUE", // required
|
|
58
|
+
* // displayName: "STRING_VALUE",
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL", // required
|
|
61
|
+
* // recordVersion: "STRING_VALUE", // required
|
|
62
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
63
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListRegistryRecordsCommandInput - {@link ListRegistryRecordsCommandInput}
|
|
73
|
+
* @returns {@link ListRegistryRecordsCommandOutput}
|
|
74
|
+
* @see {@link ListRegistryRecordsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListRegistryRecordsCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ConflictException} (client fault)
|
|
82
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p>The requested resource was not found.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListRegistryRecordsCommand extends ListRegistryRecordsCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: ListRegistryRecordsRequest;
|
|
107
|
+
output: ListRegistryRecordsResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: ListRegistryRecordsCommandInput;
|
|
111
|
+
output: ListRegistryRecordsCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListTagsForResourceCommand_base: {
|
|
22
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* List the tags on a resource
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, ListTagsForResourceCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceRequest
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTagsForResourceResponse
|
|
42
|
+
* // tags: { // ResourceTagsMap
|
|
43
|
+
* // "<keys>": "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
50
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
51
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The requested resource was not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: ListTagsForResourceRequest;
|
|
81
|
+
output: ListTagsForResourceResponse;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: ListTagsForResourceCommandInput;
|
|
85
|
+
output: ListTagsForResourceCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { SubmitRegistryRecordForApprovalRequest, SubmitRegistryRecordForApprovalResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link SubmitRegistryRecordForApprovalCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface SubmitRegistryRecordForApprovalCommandInput extends SubmitRegistryRecordForApprovalRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link SubmitRegistryRecordForApprovalCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface SubmitRegistryRecordForApprovalCommandOutput extends SubmitRegistryRecordForApprovalResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const SubmitRegistryRecordForApprovalCommand_base: {
|
|
22
|
+
new (input: SubmitRegistryRecordForApprovalCommandInput): import("@smithy/core/client").CommandImpl<SubmitRegistryRecordForApprovalCommandInput, SubmitRegistryRecordForApprovalCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: SubmitRegistryRecordForApprovalCommandInput): import("@smithy/core/client").CommandImpl<SubmitRegistryRecordForApprovalCommandInput, SubmitRegistryRecordForApprovalCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Submits a DRAFT registry record for approval, moving it into the registry's approval workflow. Depending on the registry's approval configuration, the record is either auto-approved or set to PENDING_APPROVAL for a curator to approve or reject.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, SubmitRegistryRecordForApprovalCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, SubmitRegistryRecordForApprovalCommand } = 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 = { // SubmitRegistryRecordForApprovalRequest
|
|
37
|
+
* registryId: "STRING_VALUE", // required
|
|
38
|
+
* recordId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new SubmitRegistryRecordForApprovalCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // SubmitRegistryRecordForApprovalResponse
|
|
43
|
+
* // registryArn: "STRING_VALUE", // required
|
|
44
|
+
* // recordArn: "STRING_VALUE", // required
|
|
45
|
+
* // recordId: "STRING_VALUE", // required
|
|
46
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
47
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param SubmitRegistryRecordForApprovalCommandInput - {@link SubmitRegistryRecordForApprovalCommandInput}
|
|
53
|
+
* @returns {@link SubmitRegistryRecordForApprovalCommandOutput}
|
|
54
|
+
* @see {@link SubmitRegistryRecordForApprovalCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link SubmitRegistryRecordForApprovalCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The requested resource was not found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class SubmitRegistryRecordForApprovalCommand extends SubmitRegistryRecordForApprovalCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: SubmitRegistryRecordForApprovalRequest;
|
|
87
|
+
output: SubmitRegistryRecordForApprovalResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: SubmitRegistryRecordForApprovalCommandInput;
|
|
91
|
+
output: SubmitRegistryRecordForApprovalCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link TagResourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link TagResourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const TagResourceCommand_base: {
|
|
22
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Tag a resource with key-value pairs
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, TagResourceCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, TagResourceCommand } = 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 = { // TagResourceRequest
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* tags: { // TagsMap // required
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
42
|
+
* const command = new TagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
49
|
+
* @returns {@link TagResourceCommandOutput}
|
|
50
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The requested resource was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
+
* <p>The request would exceed a service quota.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: TagResourceRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: TagResourceCommandInput;
|
|
87
|
+
output: TagResourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UntagResourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UntagResourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UntagResourceCommand_base: {
|
|
22
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AgentRegistryControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Remove tags from a resource by key
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AgentRegistryControlClient, UntagResourceCommand } from "@aws-sdk/client-agent-registry-control"; // ES Modules import
|
|
32
|
+
* // const { AgentRegistryControlClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* tagKeys: [ // TagKeyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link AgentRegistryControlClientResolvedConfig | config} for AgentRegistryControlClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The requested resource was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AgentRegistryControlServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from AgentRegistryControl service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: UntagResourceRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: UntagResourceCommandInput;
|
|
84
|
+
output: UntagResourceCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|