@aws-sdk/client-bedrock-agentcore-control 3.940.0 → 3.943.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 +216 -0
- package/dist-cjs/index.js +2140 -143
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- package/dist-es/commands/CreateEvaluatorCommand.js +16 -0
- package/dist-es/commands/CreateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/CreatePolicyCommand.js +16 -0
- package/dist-es/commands/CreatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluatorCommand.js +16 -0
- package/dist-es/commands/DeleteOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/DeletePolicyCommand.js +16 -0
- package/dist-es/commands/DeletePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetEvaluatorCommand.js +16 -0
- package/dist-es/commands/GetOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyEngineCommand.js +16 -0
- package/dist-es/commands/GetPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/ListEvaluatorsCommand.js +16 -0
- package/dist-es/commands/ListOnlineEvaluationConfigsCommand.js +16 -0
- package/dist-es/commands/ListPoliciesCommand.js +16 -0
- package/dist-es/commands/ListPolicyEnginesCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationAssetsCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluatorCommand.js +16 -0
- package/dist-es/commands/UpdateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/models/enums.js +104 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListEvaluatorsPaginator.js +4 -0
- package/dist-es/pagination/ListOnlineEvaluationConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyEnginesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationAssetsPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/schemas/schemas_0.js +1320 -97
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForPolicyActive.js +58 -0
- package/dist-es/waiters/waitForPolicyDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyEngineActive.js +58 -0
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +58 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +192 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +29 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +52 -5
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +140 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +119 -0
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +103 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +94 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +108 -0
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +101 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +19 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +22 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +26 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +27 -5
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +137 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetPolicyEngineCommand.d.ts +98 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +103 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +100 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +113 -0
- package/dist-types/commands/ListPolicyEnginesCommand.d.ts +101 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +109 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +109 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +26 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +73 -8
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +138 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +115 -0
- package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +102 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyEnginesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluatorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPolicyEngineCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEvaluatorsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ListPolicyEnginesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +132 -0
- package/dist-types/ts3.4/models/models_0.d.ts +835 -188
- package/dist-types/ts3.4/models/models_1.d.ts +331 -0
- package/dist-types/ts3.4/pagination/ListEvaluatorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyEnginesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForPolicyActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +14 -0
- package/package.json +5 -5
|
@@ -0,0 +1,1009 @@
|
|
|
1
|
+
import { PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
|
|
2
|
+
import { ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CredentialProviderConfiguration, KmsConfiguration, McpServerTargetConfiguration, PolicyDefinition, S3Configuration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Represents a complete policy resource within the AgentCore Policy system. Policies are ARN-able resources that contain Cedar policy statements and associated metadata for controlling agent behavior and access decisions. Each policy belongs to a policy engine and defines fine-grained authorization rules that are evaluated in real-time as agents interact with tools through Gateway. Policies use the Cedar policy language to specify who (principals based on OAuth claims like username, role, or scope) can perform what actions (tool calls) on which resources (Gateways), with optional conditions for attribute-based access control. Multiple policies can apply to a single request, with Cedar's forbid-wins semantics ensuring that security restrictions are never accidentally overridden.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface Policy {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier for the policy. This system-generated identifier consists of the user name plus a 10-character generated suffix and serves as the primary key for policy operations.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
policyId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The customer-assigned immutable name for the policy. This human-readable identifier must be unique within the account and cannot exceed 48 characters.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
name: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The identifier of the policy engine that manages this policy. This establishes the policy engine context for policy evaluation and management.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
policyEngineId: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The Cedar policy statement that defines the access control rules. This contains the actual policy logic used for agent behavior control and access decisions.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
definition: PolicyDefinition | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>A human-readable description of the policy's purpose and functionality. Limited to 4,096 characters, this helps administrators understand and manage the policy.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
description?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The timestamp when the policy was originally created. This is automatically set by the service and used for auditing and lifecycle management.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
createdAt: Date | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The timestamp when the policy was last modified. This tracks the most recent changes to the policy configuration or metadata.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
updatedAt: Date | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The Amazon Resource Name (ARN) of the policy. This globally unique identifier can be used for cross-service references and IAM policy statements.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
policyArn: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The current status of the policy.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
status: PolicyStatus | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>Additional information about the policy status. This provides details about any failures or the current state of the policy lifecycle.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
statusReasons: string[] | undefined;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export interface ListPoliciesResponse {
|
|
63
|
+
/**
|
|
64
|
+
* <p>An array of policy objects that match the specified criteria. Each policy object contains the policy metadata, status, and key identifiers for further operations.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
policies: Policy[] | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>A pagination token that can be used in subsequent ListPolicies calls to retrieve additional results. This token is only present when there are more results available.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
nextToken?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface UpdatePolicyRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>The identifier of the policy engine that manages the policy to be updated. This ensures the policy is updated within the correct policy engine context.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
policyEngineId: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The unique identifier of the policy to be updated. This must be a valid policy ID that exists within the specified policy engine.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
policyId: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The new human-readable description for the policy. This optional field allows updating the policy's documentation while keeping the same policy logic.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
description?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The new Cedar policy statement that defines the access control rules. This replaces the existing policy definition with new logic while maintaining the policy's identity.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
definition: PolicyDefinition | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The validation mode for the policy update. Determines how Cedar analyzer validation results are handled during policy updates. FAIL_ON_ANY_FINDINGS runs the Cedar analyzer and fails the update if validation issues are detected, ensuring the policy conforms to the Cedar schema and tool context. IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows updates despite validation warnings. Use FAIL_ON_ANY_FINDINGS to ensure policy correctness during updates, especially when modifying policy logic or conditions.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
validationMode?: PolicyValidationMode | undefined;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export interface UpdatePolicyResponse {
|
|
108
|
+
/**
|
|
109
|
+
* <p>The unique identifier of the updated policy.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
policyId: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The name of the updated policy.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
name: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The identifier of the policy engine managing the updated policy.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
policyEngineId: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The updated Cedar policy statement.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
definition: PolicyDefinition | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The updated description of the policy.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
description?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>The original creation timestamp of the policy.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
createdAt: Date | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* <p>The timestamp when the policy was last updated.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
updatedAt: Date | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The ARN of the updated policy.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
policyArn: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The current status of the updated policy.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
status: PolicyStatus | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>Additional information about the update status.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
statusReasons: string[] | undefined;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export interface PutResourcePolicyRequest {
|
|
163
|
+
/**
|
|
164
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
resourceArn: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>The resource policy to create or update.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
policy: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface PutResourcePolicyResponse {
|
|
178
|
+
/**
|
|
179
|
+
* <p>The resource policy that was created or updated.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
policy: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export interface SetTokenVaultCMKRequest {
|
|
188
|
+
/**
|
|
189
|
+
* <p>The unique identifier of the token vault to update.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
tokenVaultId?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* <p>The KMS configuration for the token vault, including the key type and KMS key ARN.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
kmsConfiguration: KmsConfiguration | undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export interface SetTokenVaultCMKResponse {
|
|
203
|
+
/**
|
|
204
|
+
* <p>The ID of the token vault.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
tokenVaultId: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>The KMS configuration for the token vault.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
kmsConfiguration: KmsConfiguration | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>The timestamp when the token vault was last modified.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
lastModifiedDate: Date | undefined;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
export interface TagResourceRequest {
|
|
223
|
+
/**
|
|
224
|
+
* <p>The Amazon Resource Name (ARN) of the resource that you want to tag.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
resourceArn: string | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* <p>The tags to add to the resource. A tag is a key-value pair.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
tags: Record<string, string> | undefined;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export interface TagResourceResponse {
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export interface UntagResourceRequest {
|
|
243
|
+
/**
|
|
244
|
+
* <p>The Amazon Resource Name (ARN) of the resource that you want to untag.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
resourceArn: string | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The tag keys of the tags to remove from the resource.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
tagKeys: string[] | undefined;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export interface UntagResourceResponse {
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export interface CreateWorkloadIdentityRequest {
|
|
263
|
+
/**
|
|
264
|
+
* <p>The name of the workload identity. The name must be unique within your account.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
name: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
tags?: Record<string, string> | undefined;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
export interface CreateWorkloadIdentityResponse {
|
|
283
|
+
/**
|
|
284
|
+
* <p>The name of the workload identity.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
name: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
workloadIdentityArn: string | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export interface DeleteWorkloadIdentityRequest {
|
|
303
|
+
/**
|
|
304
|
+
* <p>The name of the workload identity to delete.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
name: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export interface DeleteWorkloadIdentityResponse {
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export interface GetWorkloadIdentityRequest {
|
|
318
|
+
/**
|
|
319
|
+
* <p>The name of the workload identity to retrieve.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
name: string | undefined;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface GetWorkloadIdentityResponse {
|
|
328
|
+
/**
|
|
329
|
+
* <p>The name of the workload identity.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
name: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
workloadIdentityArn: string | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The timestamp when the workload identity was created.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
createdTime: Date | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p>The timestamp when the workload identity was last updated.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
lastUpdatedTime: Date | undefined;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export interface ListWorkloadIdentitiesRequest {
|
|
358
|
+
/**
|
|
359
|
+
* <p>Pagination token.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
nextToken?: string | undefined;
|
|
363
|
+
/**
|
|
364
|
+
* <p>Maximum number of results to return.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
maxResults?: number | undefined;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* <p>Contains information about a workload identity.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface WorkloadIdentityType {
|
|
374
|
+
/**
|
|
375
|
+
* <p>The name of the workload identity.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
name: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
workloadIdentityArn: string | undefined;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
export interface ListWorkloadIdentitiesResponse {
|
|
389
|
+
/**
|
|
390
|
+
* <p>The list of workload identities.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
workloadIdentities: WorkloadIdentityType[] | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>Pagination token for the next page of results.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
nextToken?: string | undefined;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
export interface UpdateWorkloadIdentityRequest {
|
|
404
|
+
/**
|
|
405
|
+
* <p>The name of the workload identity to update.</p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
name: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.</p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
export interface UpdateWorkloadIdentityResponse {
|
|
419
|
+
/**
|
|
420
|
+
* <p>The name of the workload identity.</p>
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
name: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
workloadIdentityArn: string | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* <p>The timestamp when the workload identity was created.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
createdTime: Date | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* <p>The timestamp when the workload identity was last updated.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
lastUpdatedTime: Date | undefined;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* <p>A schema definition for a gateway target. This structure defines the structure of the API that the target exposes.</p>
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export interface SchemaDefinition {
|
|
450
|
+
/**
|
|
451
|
+
* <p>The type of the schema definition. This field specifies the data type of the schema.</p>
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
type: SchemaType | undefined;
|
|
455
|
+
/**
|
|
456
|
+
* <p>The properties of the schema definition. These properties define the fields in the schema.</p>
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
properties?: Record<string, SchemaDefinition> | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* <p>The required fields in the schema definition. These fields must be provided when using the schema.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
required?: string[] | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* <p>The items in the schema definition. This field is used for array types to define the structure of the array elements.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
items?: SchemaDefinition | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>The description of the schema definition. This description provides information about the purpose and usage of the schema.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
description?: string | undefined;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* <p>A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.</p>
|
|
478
|
+
* @public
|
|
479
|
+
*/
|
|
480
|
+
export interface ToolDefinition {
|
|
481
|
+
/**
|
|
482
|
+
* <p>The name of the tool. This name identifies the tool in the Model Context Protocol.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
name: string | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* <p>The description of the tool. This description provides information about the purpose and usage of the tool.</p>
|
|
488
|
+
* @public
|
|
489
|
+
*/
|
|
490
|
+
description: string | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* <p>The input schema for the tool. This schema defines the structure of the input that the tool accepts.</p>
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
inputSchema: SchemaDefinition | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* <p>The output schema for the tool. This schema defines the structure of the output that the tool produces.</p>
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
outputSchema?: SchemaDefinition | undefined;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* <p>A tool schema for a gateway target. This structure defines the schema for a tool that the target exposes through the Model Context Protocol.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export type ToolSchema = ToolSchema.InlinePayloadMember | ToolSchema.S3Member | ToolSchema.$UnknownMember;
|
|
507
|
+
/**
|
|
508
|
+
* @public
|
|
509
|
+
*/
|
|
510
|
+
export declare namespace ToolSchema {
|
|
511
|
+
/**
|
|
512
|
+
* <p>The Amazon S3 location of the tool schema. This location contains the schema definition file.</p>
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
interface S3Member {
|
|
516
|
+
s3: S3Configuration;
|
|
517
|
+
inlinePayload?: never;
|
|
518
|
+
$unknown?: never;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* <p>The inline payload of the tool schema. This payload contains the schema definition directly in the request.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
interface InlinePayloadMember {
|
|
525
|
+
s3?: never;
|
|
526
|
+
inlinePayload: ToolDefinition[];
|
|
527
|
+
$unknown?: never;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
interface $UnknownMember {
|
|
533
|
+
s3?: never;
|
|
534
|
+
inlinePayload?: never;
|
|
535
|
+
$unknown: [string, any];
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* @deprecated unused in schema-serde mode.
|
|
539
|
+
*
|
|
540
|
+
*/
|
|
541
|
+
interface Visitor<T> {
|
|
542
|
+
s3: (value: S3Configuration) => T;
|
|
543
|
+
inlinePayload: (value: ToolDefinition[]) => T;
|
|
544
|
+
_: (name: string, value: any) => T;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* <p>The Lambda configuration for a Model Context Protocol target. This structure defines how the gateway uses a Lambda function to communicate with the target.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
export interface McpLambdaTargetConfiguration {
|
|
552
|
+
/**
|
|
553
|
+
* <p>The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.</p>
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
lambdaArn: string | undefined;
|
|
557
|
+
/**
|
|
558
|
+
* <p>The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.</p>
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
toolSchema: ToolSchema | undefined;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* <p>The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
export type McpTargetConfiguration = McpTargetConfiguration.ApiGatewayMember | McpTargetConfiguration.LambdaMember | McpTargetConfiguration.McpServerMember | McpTargetConfiguration.OpenApiSchemaMember | McpTargetConfiguration.SmithyModelMember | McpTargetConfiguration.$UnknownMember;
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
export declare namespace McpTargetConfiguration {
|
|
572
|
+
/**
|
|
573
|
+
* <p>The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.</p>
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
interface OpenApiSchemaMember {
|
|
577
|
+
openApiSchema: ApiSchemaConfiguration;
|
|
578
|
+
smithyModel?: never;
|
|
579
|
+
lambda?: never;
|
|
580
|
+
mcpServer?: never;
|
|
581
|
+
apiGateway?: never;
|
|
582
|
+
$unknown?: never;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* <p>The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
interface SmithyModelMember {
|
|
589
|
+
openApiSchema?: never;
|
|
590
|
+
smithyModel: ApiSchemaConfiguration;
|
|
591
|
+
lambda?: never;
|
|
592
|
+
mcpServer?: never;
|
|
593
|
+
apiGateway?: never;
|
|
594
|
+
$unknown?: never;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* <p>The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
interface LambdaMember {
|
|
601
|
+
openApiSchema?: never;
|
|
602
|
+
smithyModel?: never;
|
|
603
|
+
lambda: McpLambdaTargetConfiguration;
|
|
604
|
+
mcpServer?: never;
|
|
605
|
+
apiGateway?: never;
|
|
606
|
+
$unknown?: never;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* <p>The MCP server specified as the gateway target.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
interface McpServerMember {
|
|
613
|
+
openApiSchema?: never;
|
|
614
|
+
smithyModel?: never;
|
|
615
|
+
lambda?: never;
|
|
616
|
+
mcpServer: McpServerTargetConfiguration;
|
|
617
|
+
apiGateway?: never;
|
|
618
|
+
$unknown?: never;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* <p>The configuration for an Amazon API Gateway target.</p>
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
interface ApiGatewayMember {
|
|
625
|
+
openApiSchema?: never;
|
|
626
|
+
smithyModel?: never;
|
|
627
|
+
lambda?: never;
|
|
628
|
+
mcpServer?: never;
|
|
629
|
+
apiGateway: ApiGatewayTargetConfiguration;
|
|
630
|
+
$unknown?: never;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
interface $UnknownMember {
|
|
636
|
+
openApiSchema?: never;
|
|
637
|
+
smithyModel?: never;
|
|
638
|
+
lambda?: never;
|
|
639
|
+
mcpServer?: never;
|
|
640
|
+
apiGateway?: never;
|
|
641
|
+
$unknown: [string, any];
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* @deprecated unused in schema-serde mode.
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
interface Visitor<T> {
|
|
648
|
+
openApiSchema: (value: ApiSchemaConfiguration) => T;
|
|
649
|
+
smithyModel: (value: ApiSchemaConfiguration) => T;
|
|
650
|
+
lambda: (value: McpLambdaTargetConfiguration) => T;
|
|
651
|
+
mcpServer: (value: McpServerTargetConfiguration) => T;
|
|
652
|
+
apiGateway: (value: ApiGatewayTargetConfiguration) => T;
|
|
653
|
+
_: (name: string, value: any) => T;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
export type TargetConfiguration = TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export declare namespace TargetConfiguration {
|
|
665
|
+
/**
|
|
666
|
+
* <p>The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.</p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
interface McpMember {
|
|
670
|
+
mcp: McpTargetConfiguration;
|
|
671
|
+
$unknown?: never;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
interface $UnknownMember {
|
|
677
|
+
mcp?: never;
|
|
678
|
+
$unknown: [string, any];
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* @deprecated unused in schema-serde mode.
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
interface Visitor<T> {
|
|
685
|
+
mcp: (value: McpTargetConfiguration) => T;
|
|
686
|
+
_: (name: string, value: any) => T;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
export interface CreateGatewayTargetRequest {
|
|
693
|
+
/**
|
|
694
|
+
* <p>The identifier of the gateway to create a target for.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
gatewayIdentifier: string | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* <p>The name of the gateway target. The name must be unique within the gateway.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
name: string | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* <p>The description of the gateway target.</p>
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
description?: string | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
clientToken?: string | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* <p>The configuration settings for the target, including endpoint information and schema definitions.</p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* <p>The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.</p>
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
credentialProviderConfigurations?: CredentialProviderConfiguration[] | undefined;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
export interface CreateGatewayTargetResponse {
|
|
728
|
+
/**
|
|
729
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
gatewayArn: string | undefined;
|
|
733
|
+
/**
|
|
734
|
+
* <p>The unique identifier of the created target.</p>
|
|
735
|
+
* @public
|
|
736
|
+
*/
|
|
737
|
+
targetId: string | undefined;
|
|
738
|
+
/**
|
|
739
|
+
* <p>The timestamp when the target was created.</p>
|
|
740
|
+
* @public
|
|
741
|
+
*/
|
|
742
|
+
createdAt: Date | undefined;
|
|
743
|
+
/**
|
|
744
|
+
* <p>The timestamp when the target was last updated.</p>
|
|
745
|
+
* @public
|
|
746
|
+
*/
|
|
747
|
+
updatedAt: Date | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* <p>The current status of the target.</p>
|
|
750
|
+
* @public
|
|
751
|
+
*/
|
|
752
|
+
status: TargetStatus | undefined;
|
|
753
|
+
/**
|
|
754
|
+
* <p>The reasons for the current status of the target.</p>
|
|
755
|
+
* @public
|
|
756
|
+
*/
|
|
757
|
+
statusReasons?: string[] | undefined;
|
|
758
|
+
/**
|
|
759
|
+
* <p>The name of the target.</p>
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
name: string | undefined;
|
|
763
|
+
/**
|
|
764
|
+
* <p>The description of the target.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
description?: string | undefined;
|
|
768
|
+
/**
|
|
769
|
+
* <p>The configuration settings for the target.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* <p>The credential provider configurations for the target.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The last synchronization of the target.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
lastSynchronizedAt?: Date | undefined;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* <p>The gateway target.</p>
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
export interface GatewayTarget {
|
|
789
|
+
/**
|
|
790
|
+
* <p>The Amazon Resource Name (ARN) of the gateway target.</p>
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
gatewayArn: string | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* <p>The target ID.</p>
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
targetId: string | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* <p>The date and time at which the target was created.</p>
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
createdAt: Date | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* <p>The date and time at which the target was updated.</p>
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
updatedAt: Date | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* <p>The status of the gateway target.</p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
status: TargetStatus | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* <p>The status reasons for the target status.</p>
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
statusReasons?: string[] | undefined;
|
|
819
|
+
/**
|
|
820
|
+
* <p>The name of the gateway target.</p>
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
name: string | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* <p>The description for the gateway target.</p>
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
828
|
+
description?: string | undefined;
|
|
829
|
+
/**
|
|
830
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
834
|
+
/**
|
|
835
|
+
* <p>The provider configurations.</p>
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
838
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
839
|
+
/**
|
|
840
|
+
* <p>The last synchronization time.</p>
|
|
841
|
+
* @public
|
|
842
|
+
*/
|
|
843
|
+
lastSynchronizedAt?: Date | undefined;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
export interface GetGatewayTargetResponse {
|
|
849
|
+
/**
|
|
850
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
gatewayArn: string | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* <p>The unique identifier of the gateway target.</p>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
targetId: string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* <p>The timestamp when the gateway target was created.</p>
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
createdAt: Date | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* <p>The timestamp when the gateway target was last updated.</p>
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
updatedAt: Date | undefined;
|
|
869
|
+
/**
|
|
870
|
+
* <p>The current status of the gateway target.</p>
|
|
871
|
+
* @public
|
|
872
|
+
*/
|
|
873
|
+
status: TargetStatus | undefined;
|
|
874
|
+
/**
|
|
875
|
+
* <p>The reasons for the current status of the gateway target.</p>
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
statusReasons?: string[] | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* <p>The name of the gateway target.</p>
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
name: string | undefined;
|
|
884
|
+
/**
|
|
885
|
+
* <p>The description of the gateway target.</p>
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
description?: string | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
894
|
+
/**
|
|
895
|
+
* <p>The credential provider configurations for the gateway target.</p>
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
899
|
+
/**
|
|
900
|
+
* <p>The last synchronization of the target.</p>
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
lastSynchronizedAt?: Date | undefined;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
export interface UpdateGatewayTargetRequest {
|
|
909
|
+
/**
|
|
910
|
+
* <p>The unique identifier of the gateway associated with the target.</p>
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
gatewayIdentifier: string | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* <p>The unique identifier of the gateway target to update.</p>
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
targetId: string | undefined;
|
|
919
|
+
/**
|
|
920
|
+
* <p>The updated name for the gateway target.</p>
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
name: string | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* <p>The updated description for the gateway target.</p>
|
|
926
|
+
* @public
|
|
927
|
+
*/
|
|
928
|
+
description?: string | undefined;
|
|
929
|
+
/**
|
|
930
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
934
|
+
/**
|
|
935
|
+
* <p>The updated credential provider configurations for the gateway target.</p>
|
|
936
|
+
* @public
|
|
937
|
+
*/
|
|
938
|
+
credentialProviderConfigurations?: CredentialProviderConfiguration[] | undefined;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
export interface UpdateGatewayTargetResponse {
|
|
944
|
+
/**
|
|
945
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
gatewayArn: string | undefined;
|
|
949
|
+
/**
|
|
950
|
+
* <p>The unique identifier of the updated gateway target.</p>
|
|
951
|
+
* @public
|
|
952
|
+
*/
|
|
953
|
+
targetId: string | undefined;
|
|
954
|
+
/**
|
|
955
|
+
* <p>The timestamp when the gateway target was created.</p>
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
958
|
+
createdAt: Date | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* <p>The timestamp when the gateway target was last updated.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
updatedAt: Date | undefined;
|
|
964
|
+
/**
|
|
965
|
+
* <p>The current status of the updated gateway target.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
status: TargetStatus | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>The reasons for the current status of the updated gateway target.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
statusReasons?: string[] | undefined;
|
|
974
|
+
/**
|
|
975
|
+
* <p>The updated name of the gateway target.</p>
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
name: string | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* <p>The updated description of the gateway target.</p>
|
|
981
|
+
* @public
|
|
982
|
+
*/
|
|
983
|
+
description?: string | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
989
|
+
/**
|
|
990
|
+
* <p>The updated credential provider configurations for the gateway target.</p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
994
|
+
/**
|
|
995
|
+
* <p>The date and time at which the targets were last synchronized.</p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
lastSynchronizedAt?: Date | undefined;
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
export interface SynchronizeGatewayTargetsResponse {
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>The gateway targets for synchronization.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
targets?: GatewayTarget[] | undefined;
|
|
1009
|
+
}
|