@aws-sdk/client-bedrock-agentcore-control 3.1104.0 → 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/README.md +84 -0
- package/dist-cjs/index.js +728 -90
- package/dist-es/BedrockAgentCoreControl.js +30 -0
- package/dist-es/commands/BatchPutGatewayRateLimitsCommand.js +4 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +4 -0
- package/dist-es/commands/CreateGatewayRateLimitCommand.js +4 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +4 -0
- package/dist-es/commands/DeleteGatewayRateLimitCommand.js +4 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +4 -0
- package/dist-es/commands/GetGatewayRateLimitCommand.js +4 -0
- package/dist-es/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.js +4 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +4 -0
- package/dist-es/commands/ListGatewayRateLimitsCommand.js +4 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +4 -0
- package/dist-es/commands/UpdateGatewayRateLimitCommand.js +4 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +47 -0
- package/dist-es/models/errors.js +13 -0
- package/dist-es/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayRateLimitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +531 -90
- package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
- package/dist-types/commands/BatchPutGatewayRateLimitsCommand.d.ts +164 -0
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +7 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +189 -0
- package/dist-types/commands/CreateGatewayRateLimitCommand.d.ts +156 -0
- package/dist-types/commands/CreateHarnessCommand.d.ts +8 -0
- package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -1
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +94 -0
- package/dist-types/commands/DeleteGatewayRateLimitCommand.d.ts +91 -0
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHarnessCommand.d.ts +4 -0
- package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +7 -0
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +180 -0
- package/dist-types/commands/GetGatewayRateLimitCommand.d.ts +120 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetHarnessCommand.d.ts +4 -0
- package/dist-types/commands/GetHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTokenVaultCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +92 -0
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +93 -0
- package/dist-types/commands/ListGatewayRateLimitsCommand.d.ts +126 -0
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +7 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +101 -0
- package/dist-types/commands/UpdateGatewayRateLimitCommand.d.ts +149 -0
- package/dist-types/commands/UpdateHarnessCommand.d.ts +8 -0
- package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +111 -0
- package/dist-types/models/errors.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +2568 -2358
- package/dist-types/models/models_1.d.ts +4322 -4707
- package/dist-types/models/models_2.d.ts +1440 -3
- package/dist-types/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayRateLimitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +61 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/BatchPutGatewayRateLimitsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateGatewayRateLimitCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteGatewayRateLimitCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetGatewayRateLimitCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPolicySummaryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTokenVaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListGatewayRateLimitsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPolicySummariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateGatewayRateLimitCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +345 -323
- package/dist-types/ts3.4/models/models_1.d.ts +325 -404
- package/dist-types/ts3.4/models/models_2.d.ts +403 -13
- package/dist-types/ts3.4/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayRateLimitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DescriptorType,
|
|
3
|
+
EnforcementMode,
|
|
4
|
+
FindingType,
|
|
5
|
+
PolicyGenerationStatus,
|
|
6
|
+
PolicyStatus,
|
|
7
|
+
PolicyValidationMode,
|
|
3
8
|
RegistryAuthorizerType,
|
|
9
|
+
RegistryRecordCredentialProviderType,
|
|
10
|
+
RegistryRecordOAuthGrantType,
|
|
4
11
|
RegistryRecordStatus,
|
|
5
12
|
RegistryStatus,
|
|
6
13
|
SchemaType,
|
|
@@ -10,32 +17,415 @@ import {
|
|
|
10
17
|
} from "./enums";
|
|
11
18
|
import {
|
|
12
19
|
A2aDescriptor,
|
|
13
|
-
|
|
20
|
+
AgentSkillsDescriptor,
|
|
14
21
|
ApiSchemaConfiguration,
|
|
15
|
-
AuthorizationData,
|
|
16
22
|
AuthorizerConfiguration,
|
|
17
|
-
ConnectorTargetConfiguration,
|
|
18
23
|
CredentialProviderConfiguration,
|
|
19
24
|
HttpTargetConfiguration,
|
|
20
|
-
InferenceTargetConfiguration,
|
|
21
|
-
KmsConfiguration,
|
|
22
|
-
ManagedResourceDetails,
|
|
23
|
-
McpServerTargetConfiguration,
|
|
24
25
|
MetadataConfiguration,
|
|
25
26
|
PrivateEndpoint,
|
|
26
27
|
S3Configuration,
|
|
27
28
|
SkillDefinition,
|
|
28
29
|
SkillMdDefinition,
|
|
30
|
+
UpdatedDescription,
|
|
29
31
|
} from "./models_0";
|
|
30
32
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
ApiGatewayTargetConfiguration,
|
|
34
|
+
AuthorizationData,
|
|
35
|
+
ConnectorTargetConfiguration,
|
|
36
|
+
InferenceTargetConfiguration,
|
|
37
|
+
KmsConfiguration,
|
|
38
|
+
ManagedResourceDetails,
|
|
39
|
+
McpServerTargetConfiguration,
|
|
36
40
|
UpdatedAuthorizerConfiguration,
|
|
37
|
-
UpdatedDescription,
|
|
38
41
|
} from "./models_1";
|
|
42
|
+
export type Resource = Resource.ArnMember | Resource.$UnknownMember;
|
|
43
|
+
export declare namespace Resource {
|
|
44
|
+
interface ArnMember {
|
|
45
|
+
arn: string;
|
|
46
|
+
$unknown?: never;
|
|
47
|
+
}
|
|
48
|
+
interface $UnknownMember {
|
|
49
|
+
arn?: never;
|
|
50
|
+
$unknown: [string, any];
|
|
51
|
+
}
|
|
52
|
+
interface Visitor<T> {
|
|
53
|
+
arn: (value: string) => T;
|
|
54
|
+
_: (name: string, value: any) => T;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export interface GetPolicyGenerationResponse {
|
|
58
|
+
policyEngineId: string | undefined;
|
|
59
|
+
policyGenerationId: string | undefined;
|
|
60
|
+
name: string | undefined;
|
|
61
|
+
policyGenerationArn: string | undefined;
|
|
62
|
+
resource: Resource | undefined;
|
|
63
|
+
createdAt: Date | undefined;
|
|
64
|
+
updatedAt: Date | undefined;
|
|
65
|
+
status: PolicyGenerationStatus | undefined;
|
|
66
|
+
findings?: string | undefined;
|
|
67
|
+
statusReasons: string[] | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface GetPolicyGenerationSummaryRequest {
|
|
70
|
+
policyGenerationId: string | undefined;
|
|
71
|
+
policyEngineId: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface GetPolicyGenerationSummaryResponse {
|
|
74
|
+
policyEngineId: string | undefined;
|
|
75
|
+
policyGenerationId: string | undefined;
|
|
76
|
+
name: string | undefined;
|
|
77
|
+
policyGenerationArn: string | undefined;
|
|
78
|
+
resource: Resource | undefined;
|
|
79
|
+
createdAt: Date | undefined;
|
|
80
|
+
updatedAt: Date | undefined;
|
|
81
|
+
status: PolicyGenerationStatus | undefined;
|
|
82
|
+
findings?: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface ListPolicyGenerationAssetsRequest {
|
|
85
|
+
policyGenerationId: string | undefined;
|
|
86
|
+
policyEngineId: string | undefined;
|
|
87
|
+
nextToken?: string | undefined;
|
|
88
|
+
maxResults?: number | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface CedarPolicy {
|
|
91
|
+
statement: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface PolicyStatement {
|
|
94
|
+
statement: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface PolicyGenerationDetails {
|
|
97
|
+
policyGenerationId: string | undefined;
|
|
98
|
+
policyGenerationAssetId: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export type PolicyDefinition =
|
|
101
|
+
| PolicyDefinition.CedarMember
|
|
102
|
+
| PolicyDefinition.PolicyMember
|
|
103
|
+
| PolicyDefinition.PolicyGenerationMember
|
|
104
|
+
| PolicyDefinition.$UnknownMember;
|
|
105
|
+
export declare namespace PolicyDefinition {
|
|
106
|
+
interface CedarMember {
|
|
107
|
+
cedar: CedarPolicy;
|
|
108
|
+
policyGeneration?: never;
|
|
109
|
+
policy?: never;
|
|
110
|
+
$unknown?: never;
|
|
111
|
+
}
|
|
112
|
+
interface PolicyGenerationMember {
|
|
113
|
+
cedar?: never;
|
|
114
|
+
policyGeneration: PolicyGenerationDetails;
|
|
115
|
+
policy?: never;
|
|
116
|
+
$unknown?: never;
|
|
117
|
+
}
|
|
118
|
+
interface PolicyMember {
|
|
119
|
+
cedar?: never;
|
|
120
|
+
policyGeneration?: never;
|
|
121
|
+
policy: PolicyStatement;
|
|
122
|
+
$unknown?: never;
|
|
123
|
+
}
|
|
124
|
+
interface $UnknownMember {
|
|
125
|
+
cedar?: never;
|
|
126
|
+
policyGeneration?: never;
|
|
127
|
+
policy?: never;
|
|
128
|
+
$unknown: [string, any];
|
|
129
|
+
}
|
|
130
|
+
interface Visitor<T> {
|
|
131
|
+
cedar: (value: CedarPolicy) => T;
|
|
132
|
+
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
133
|
+
policy: (value: PolicyStatement) => T;
|
|
134
|
+
_: (name: string, value: any) => T;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
export interface Finding {
|
|
138
|
+
type?: FindingType | undefined;
|
|
139
|
+
description?: string | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface PolicyGenerationAsset {
|
|
142
|
+
policyGenerationAssetId: string | undefined;
|
|
143
|
+
definition?: PolicyDefinition | undefined;
|
|
144
|
+
rawTextFragment: string | undefined;
|
|
145
|
+
findings: Finding[] | undefined;
|
|
146
|
+
}
|
|
147
|
+
export interface ListPolicyGenerationAssetsResponse {
|
|
148
|
+
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
149
|
+
nextToken?: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface ListPolicyGenerationsRequest {
|
|
152
|
+
nextToken?: string | undefined;
|
|
153
|
+
maxResults?: number | undefined;
|
|
154
|
+
policyEngineId: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface PolicyGeneration {
|
|
157
|
+
policyEngineId: string | undefined;
|
|
158
|
+
policyGenerationId: string | undefined;
|
|
159
|
+
name: string | undefined;
|
|
160
|
+
policyGenerationArn: string | undefined;
|
|
161
|
+
resource: Resource | undefined;
|
|
162
|
+
createdAt: Date | undefined;
|
|
163
|
+
updatedAt: Date | undefined;
|
|
164
|
+
status: PolicyGenerationStatus | undefined;
|
|
165
|
+
findings?: string | undefined;
|
|
166
|
+
statusReasons: string[] | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface ListPolicyGenerationsResponse {
|
|
169
|
+
policyGenerations: PolicyGeneration[] | undefined;
|
|
170
|
+
nextToken?: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface ListPolicyGenerationSummariesRequest {
|
|
173
|
+
nextToken?: string | undefined;
|
|
174
|
+
maxResults?: number | undefined;
|
|
175
|
+
policyEngineId: string | undefined;
|
|
176
|
+
}
|
|
177
|
+
export interface PolicyGenerationSummary {
|
|
178
|
+
policyEngineId: string | undefined;
|
|
179
|
+
policyGenerationId: string | undefined;
|
|
180
|
+
name: string | undefined;
|
|
181
|
+
policyGenerationArn: string | undefined;
|
|
182
|
+
resource: Resource | undefined;
|
|
183
|
+
createdAt: Date | undefined;
|
|
184
|
+
updatedAt: Date | undefined;
|
|
185
|
+
status: PolicyGenerationStatus | undefined;
|
|
186
|
+
findings?: string | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface ListPolicyGenerationSummariesResponse {
|
|
189
|
+
policyGenerations: PolicyGenerationSummary[] | undefined;
|
|
190
|
+
nextToken?: string | undefined;
|
|
191
|
+
}
|
|
192
|
+
export type Content = Content.RawTextMember | Content.$UnknownMember;
|
|
193
|
+
export declare namespace Content {
|
|
194
|
+
interface RawTextMember {
|
|
195
|
+
rawText: string;
|
|
196
|
+
$unknown?: never;
|
|
197
|
+
}
|
|
198
|
+
interface $UnknownMember {
|
|
199
|
+
rawText?: never;
|
|
200
|
+
$unknown: [string, any];
|
|
201
|
+
}
|
|
202
|
+
interface Visitor<T> {
|
|
203
|
+
rawText: (value: string) => T;
|
|
204
|
+
_: (name: string, value: any) => T;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
export interface StartPolicyGenerationRequest {
|
|
208
|
+
policyEngineId: string | undefined;
|
|
209
|
+
resource: Resource | undefined;
|
|
210
|
+
content: Content | undefined;
|
|
211
|
+
name: string | undefined;
|
|
212
|
+
clientToken?: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface StartPolicyGenerationResponse {
|
|
215
|
+
policyEngineId: string | undefined;
|
|
216
|
+
policyGenerationId: string | undefined;
|
|
217
|
+
name: string | undefined;
|
|
218
|
+
policyGenerationArn: string | undefined;
|
|
219
|
+
resource: Resource | undefined;
|
|
220
|
+
createdAt: Date | undefined;
|
|
221
|
+
updatedAt: Date | undefined;
|
|
222
|
+
status: PolicyGenerationStatus | undefined;
|
|
223
|
+
findings?: string | undefined;
|
|
224
|
+
statusReasons: string[] | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface CreatePolicyRequest {
|
|
227
|
+
name: string | undefined;
|
|
228
|
+
definition: PolicyDefinition | undefined;
|
|
229
|
+
description?: string | undefined;
|
|
230
|
+
validationMode?: PolicyValidationMode | undefined;
|
|
231
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
232
|
+
policyEngineId: string | undefined;
|
|
233
|
+
clientToken?: string | undefined;
|
|
234
|
+
}
|
|
235
|
+
export interface CreatePolicyResponse {
|
|
236
|
+
policyId: string | undefined;
|
|
237
|
+
name: string | undefined;
|
|
238
|
+
policyEngineId: string | undefined;
|
|
239
|
+
createdAt: Date | undefined;
|
|
240
|
+
updatedAt: Date | undefined;
|
|
241
|
+
policyArn: string | undefined;
|
|
242
|
+
status: PolicyStatus | undefined;
|
|
243
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
244
|
+
definition: PolicyDefinition | undefined;
|
|
245
|
+
description?: string | undefined;
|
|
246
|
+
statusReasons: string[] | undefined;
|
|
247
|
+
}
|
|
248
|
+
export interface DeletePolicyRequest {
|
|
249
|
+
policyEngineId: string | undefined;
|
|
250
|
+
policyId: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface DeletePolicyResponse {
|
|
253
|
+
policyId: string | undefined;
|
|
254
|
+
name: string | undefined;
|
|
255
|
+
policyEngineId: string | undefined;
|
|
256
|
+
createdAt: Date | undefined;
|
|
257
|
+
updatedAt: Date | undefined;
|
|
258
|
+
policyArn: string | undefined;
|
|
259
|
+
status: PolicyStatus | undefined;
|
|
260
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
261
|
+
definition: PolicyDefinition | undefined;
|
|
262
|
+
description?: string | undefined;
|
|
263
|
+
statusReasons: string[] | undefined;
|
|
264
|
+
}
|
|
265
|
+
export interface GetPolicyRequest {
|
|
266
|
+
policyEngineId: string | undefined;
|
|
267
|
+
policyId: string | undefined;
|
|
268
|
+
}
|
|
269
|
+
export interface GetPolicyResponse {
|
|
270
|
+
policyId: string | undefined;
|
|
271
|
+
name: string | undefined;
|
|
272
|
+
policyEngineId: string | undefined;
|
|
273
|
+
createdAt: Date | undefined;
|
|
274
|
+
updatedAt: Date | undefined;
|
|
275
|
+
policyArn: string | undefined;
|
|
276
|
+
status: PolicyStatus | undefined;
|
|
277
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
278
|
+
definition: PolicyDefinition | undefined;
|
|
279
|
+
description?: string | undefined;
|
|
280
|
+
statusReasons: string[] | undefined;
|
|
281
|
+
}
|
|
282
|
+
export interface GetPolicySummaryRequest {
|
|
283
|
+
policyEngineId: string | undefined;
|
|
284
|
+
policyId: string | undefined;
|
|
285
|
+
}
|
|
286
|
+
export interface GetPolicySummaryResponse {
|
|
287
|
+
policyId: string | undefined;
|
|
288
|
+
name: string | undefined;
|
|
289
|
+
policyEngineId: string | undefined;
|
|
290
|
+
createdAt: Date | undefined;
|
|
291
|
+
updatedAt: Date | undefined;
|
|
292
|
+
policyArn: string | undefined;
|
|
293
|
+
status: PolicyStatus | undefined;
|
|
294
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
295
|
+
}
|
|
296
|
+
export interface ListPoliciesRequest {
|
|
297
|
+
nextToken?: string | undefined;
|
|
298
|
+
maxResults?: number | undefined;
|
|
299
|
+
policyEngineId: string | undefined;
|
|
300
|
+
targetResourceScope?: string | undefined;
|
|
301
|
+
}
|
|
302
|
+
export interface Policy {
|
|
303
|
+
policyId: string | undefined;
|
|
304
|
+
name: string | undefined;
|
|
305
|
+
policyEngineId: string | undefined;
|
|
306
|
+
createdAt: Date | undefined;
|
|
307
|
+
updatedAt: Date | undefined;
|
|
308
|
+
policyArn: string | undefined;
|
|
309
|
+
status: PolicyStatus | undefined;
|
|
310
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
311
|
+
definition: PolicyDefinition | undefined;
|
|
312
|
+
description?: string | undefined;
|
|
313
|
+
statusReasons: string[] | undefined;
|
|
314
|
+
}
|
|
315
|
+
export interface ListPoliciesResponse {
|
|
316
|
+
policies: Policy[] | undefined;
|
|
317
|
+
nextToken?: string | undefined;
|
|
318
|
+
}
|
|
319
|
+
export interface ListPolicySummariesRequest {
|
|
320
|
+
nextToken?: string | undefined;
|
|
321
|
+
maxResults?: number | undefined;
|
|
322
|
+
policyEngineId: string | undefined;
|
|
323
|
+
targetResourceScope?: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
export interface PolicySummary {
|
|
326
|
+
policyId: string | undefined;
|
|
327
|
+
name: string | undefined;
|
|
328
|
+
policyEngineId: string | undefined;
|
|
329
|
+
createdAt: Date | undefined;
|
|
330
|
+
updatedAt: Date | undefined;
|
|
331
|
+
policyArn: string | undefined;
|
|
332
|
+
status: PolicyStatus | undefined;
|
|
333
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface ListPolicySummariesResponse {
|
|
336
|
+
policies: PolicySummary[] | undefined;
|
|
337
|
+
nextToken?: string | undefined;
|
|
338
|
+
}
|
|
339
|
+
export interface UpdatePolicyRequest {
|
|
340
|
+
policyEngineId: string | undefined;
|
|
341
|
+
policyId: string | undefined;
|
|
342
|
+
description?: UpdatedDescription | undefined;
|
|
343
|
+
definition?: PolicyDefinition | undefined;
|
|
344
|
+
validationMode?: PolicyValidationMode | undefined;
|
|
345
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
346
|
+
}
|
|
347
|
+
export interface UpdatePolicyResponse {
|
|
348
|
+
policyId: string | undefined;
|
|
349
|
+
name: string | undefined;
|
|
350
|
+
policyEngineId: string | undefined;
|
|
351
|
+
createdAt: Date | undefined;
|
|
352
|
+
updatedAt: Date | undefined;
|
|
353
|
+
policyArn: string | undefined;
|
|
354
|
+
status: PolicyStatus | undefined;
|
|
355
|
+
enforcementMode?: EnforcementMode | undefined;
|
|
356
|
+
definition: PolicyDefinition | undefined;
|
|
357
|
+
description?: string | undefined;
|
|
358
|
+
statusReasons: string[] | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface PutResourcePolicyRequest {
|
|
361
|
+
resourceArn: string | undefined;
|
|
362
|
+
policy: string | undefined;
|
|
363
|
+
}
|
|
364
|
+
export interface PutResourcePolicyResponse {
|
|
365
|
+
policy: string | undefined;
|
|
366
|
+
}
|
|
367
|
+
export interface CustomDescriptor {
|
|
368
|
+
inlineContent?: string | undefined;
|
|
369
|
+
}
|
|
370
|
+
export interface ServerDefinition {
|
|
371
|
+
schemaVersion?: string | undefined;
|
|
372
|
+
inlineContent?: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
export interface ToolsDefinition {
|
|
375
|
+
protocolVersion?: string | undefined;
|
|
376
|
+
inlineContent?: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface McpDescriptor {
|
|
379
|
+
server?: ServerDefinition | undefined;
|
|
380
|
+
tools?: ToolsDefinition | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface Descriptors {
|
|
383
|
+
mcp?: McpDescriptor | undefined;
|
|
384
|
+
a2a?: A2aDescriptor | undefined;
|
|
385
|
+
custom?: CustomDescriptor | undefined;
|
|
386
|
+
agentSkills?: AgentSkillsDescriptor | undefined;
|
|
387
|
+
}
|
|
388
|
+
export interface RegistryRecordIamCredentialProvider {
|
|
389
|
+
roleArn?: string | undefined;
|
|
390
|
+
service?: string | undefined;
|
|
391
|
+
region?: string | undefined;
|
|
392
|
+
}
|
|
393
|
+
export interface RegistryRecordOAuthCredentialProvider {
|
|
394
|
+
providerArn: string | undefined;
|
|
395
|
+
grantType?: RegistryRecordOAuthGrantType | undefined;
|
|
396
|
+
scopes?: string[] | undefined;
|
|
397
|
+
customParameters?: Record<string, string> | undefined;
|
|
398
|
+
}
|
|
399
|
+
export type RegistryRecordCredentialProviderUnion =
|
|
400
|
+
| RegistryRecordCredentialProviderUnion.IamCredentialProviderMember
|
|
401
|
+
| RegistryRecordCredentialProviderUnion.OauthCredentialProviderMember
|
|
402
|
+
| RegistryRecordCredentialProviderUnion.$UnknownMember;
|
|
403
|
+
export declare namespace RegistryRecordCredentialProviderUnion {
|
|
404
|
+
interface OauthCredentialProviderMember {
|
|
405
|
+
oauthCredentialProvider: RegistryRecordOAuthCredentialProvider;
|
|
406
|
+
iamCredentialProvider?: never;
|
|
407
|
+
$unknown?: never;
|
|
408
|
+
}
|
|
409
|
+
interface IamCredentialProviderMember {
|
|
410
|
+
oauthCredentialProvider?: never;
|
|
411
|
+
iamCredentialProvider: RegistryRecordIamCredentialProvider;
|
|
412
|
+
$unknown?: never;
|
|
413
|
+
}
|
|
414
|
+
interface $UnknownMember {
|
|
415
|
+
oauthCredentialProvider?: never;
|
|
416
|
+
iamCredentialProvider?: never;
|
|
417
|
+
$unknown: [string, any];
|
|
418
|
+
}
|
|
419
|
+
interface Visitor<T> {
|
|
420
|
+
oauthCredentialProvider: (value: RegistryRecordOAuthCredentialProvider) => T;
|
|
421
|
+
iamCredentialProvider: (value: RegistryRecordIamCredentialProvider) => T;
|
|
422
|
+
_: (name: string, value: any) => T;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
export interface RegistryRecordCredentialProviderConfiguration {
|
|
426
|
+
credentialProviderType: RegistryRecordCredentialProviderType | undefined;
|
|
427
|
+
credentialProvider: RegistryRecordCredentialProviderUnion | undefined;
|
|
428
|
+
}
|
|
39
429
|
export interface FromUrlSynchronizationConfiguration {
|
|
40
430
|
url: string | undefined;
|
|
41
431
|
credentialProviderConfigurations?: RegistryRecordCredentialProviderConfiguration[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAgentRuntimeVersionsByCapacityProviderCommandInput,
|
|
4
|
+
ListAgentRuntimeVersionsByCapacityProviderCommandOutput,
|
|
5
|
+
} from "../commands/ListAgentRuntimeVersionsByCapacityProviderCommand";
|
|
6
|
+
import { BedrockAgentCoreControlPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAgentRuntimeVersionsByCapacityProvider: (
|
|
8
|
+
config: BedrockAgentCoreControlPaginationConfiguration,
|
|
9
|
+
input: ListAgentRuntimeVersionsByCapacityProviderCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAgentRuntimeVersionsByCapacityProviderCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCapacityProvidersCommandInput,
|
|
4
|
+
ListCapacityProvidersCommandOutput,
|
|
5
|
+
} from "../commands/ListCapacityProvidersCommand";
|
|
6
|
+
import { BedrockAgentCoreControlPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListCapacityProviders: (
|
|
8
|
+
config: BedrockAgentCoreControlPaginationConfiguration,
|
|
9
|
+
input: ListCapacityProvidersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCapacityProvidersCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListGatewayRateLimitsCommandInput,
|
|
4
|
+
ListGatewayRateLimitsCommandOutput,
|
|
5
|
+
} from "../commands/ListGatewayRateLimitsCommand";
|
|
6
|
+
import { BedrockAgentCoreControlPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListGatewayRateLimits: (
|
|
8
|
+
config: BedrockAgentCoreControlPaginationConfiguration,
|
|
9
|
+
input: ListGatewayRateLimitsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListGatewayRateLimitsCommandOutput>;
|
|
@@ -2,9 +2,11 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAgentRuntimeEndpointsPaginator";
|
|
3
3
|
export * from "./ListAgentRuntimesPaginator";
|
|
4
4
|
export * from "./ListAgentRuntimeVersionsPaginator";
|
|
5
|
+
export * from "./ListAgentRuntimeVersionsByCapacityProviderPaginator";
|
|
5
6
|
export * from "./ListApiKeyCredentialProvidersPaginator";
|
|
6
7
|
export * from "./ListBrowserProfilesPaginator";
|
|
7
8
|
export * from "./ListBrowsersPaginator";
|
|
9
|
+
export * from "./ListCapacityProvidersPaginator";
|
|
8
10
|
export * from "./ListCodeInterpretersPaginator";
|
|
9
11
|
export * from "./ListConfigurationBundlesPaginator";
|
|
10
12
|
export * from "./ListConfigurationBundleVersionsPaginator";
|
|
@@ -12,6 +14,7 @@ export * from "./ListDatasetExamplesPaginator";
|
|
|
12
14
|
export * from "./ListDatasetsPaginator";
|
|
13
15
|
export * from "./ListDatasetVersionsPaginator";
|
|
14
16
|
export * from "./ListEvaluatorsPaginator";
|
|
17
|
+
export * from "./ListGatewayRateLimitsPaginator";
|
|
15
18
|
export * from "./ListGatewayRulesPaginator";
|
|
16
19
|
export * from "./ListGatewaysPaginator";
|
|
17
20
|
export * from "./ListGatewayTargetsPaginator";
|