@aws-sdk/client-bedrock-agentcore-control 3.1034.0 → 3.1035.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 +35 -0
- package/dist-cjs/index.js +99 -0
- package/dist-cjs/schemas/schemas_0.js +473 -133
- package/dist-es/BedrockAgentCoreControl.js +12 -0
- package/dist-es/commands/CreateHarnessCommand.js +16 -0
- package/dist-es/commands/DeleteHarnessCommand.js +16 -0
- package/dist-es/commands/GetHarnessCommand.js +16 -0
- package/dist-es/commands/ListHarnessesCommand.js +16 -0
- package/dist-es/commands/UpdateHarnessCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/pagination/ListHarnessesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +462 -123
- package/dist-types/BedrockAgentCoreControl.d.ts +43 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +7 -2
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/commands/CreateHarnessCommand.d.ts +451 -0
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/DeleteHarnessCommand.d.ts +276 -0
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -0
- package/dist-types/commands/GetHarnessCommand.d.ts +272 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -0
- package/dist-types/commands/ListHarnessesCommand.d.ts +97 -0
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +2 -3
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHarnessCommand.d.ts +454 -0
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +46 -0
- package/dist-types/models/models_0.d.ts +1952 -1926
- package/dist-types/models/models_1.d.ts +1246 -13
- package/dist-types/pagination/ListHarnessesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +93 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHarnessCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHarnessesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +470 -566
- package/dist-types/ts3.4/models/models_1.d.ts +574 -6
- package/dist-types/ts3.4/pagination/ListHarnessesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +45 -0
- package/package.json +5 -5
|
@@ -1,5 +1,1249 @@
|
|
|
1
|
-
import type { DescriptorType, FindingType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SchemaType, SynchronizationType, TargetStatus } from "./enums";
|
|
2
|
-
import type { A2aDescriptor, AgentSkillsDescriptor, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AuthorizationData, AuthorizerConfiguration, CredentialProviderConfiguration,
|
|
1
|
+
import type { CredentialProviderVendorType, DescriptorType, FilterOperator, FindingType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SchemaType, SynchronizationType, TargetStatus } from "./enums";
|
|
2
|
+
import type { A2aDescriptor, AgentSkillsDescriptor, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AtlassianOauth2ProviderConfigInput, AuthorizationData, AuthorizerConfiguration, CredentialProviderConfiguration, CustomOauth2ProviderConfigInput, GithubOauth2ProviderConfigInput, GoogleOauth2ProviderConfigInput, IncludedOauth2ProviderConfigInput, KmsConfiguration, LinkedinOauth2ProviderConfigInput, ManagedResourceDetails, McpServerTargetConfiguration, MetadataConfiguration, MicrosoftOauth2ProviderConfigInput, Oauth2Discovery, PrivateEndpoint, S3Configuration, Secret, SkillDefinition, SkillMdDefinition, UpdatedAuthorizerConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Input configuration for a Salesforce OAuth2 provider.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface SalesforceOauth2ProviderConfigInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The client ID for the Salesforce OAuth2 provider.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
clientId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The client secret for the Salesforce OAuth2 provider.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
clientSecret: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Input configuration for a Slack OAuth2 provider.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface SlackOauth2ProviderConfigInput {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The client ID for the Slack OAuth2 provider.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
clientId: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The client secret for the Slack OAuth2 provider.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
clientSecret: string | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>Contains the input configuration for an OAuth2 provider.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type Oauth2ProviderConfigInput = Oauth2ProviderConfigInput.AtlassianOauth2ProviderConfigMember | Oauth2ProviderConfigInput.CustomOauth2ProviderConfigMember | Oauth2ProviderConfigInput.GithubOauth2ProviderConfigMember | Oauth2ProviderConfigInput.GoogleOauth2ProviderConfigMember | Oauth2ProviderConfigInput.IncludedOauth2ProviderConfigMember | Oauth2ProviderConfigInput.LinkedinOauth2ProviderConfigMember | Oauth2ProviderConfigInput.MicrosoftOauth2ProviderConfigMember | Oauth2ProviderConfigInput.SalesforceOauth2ProviderConfigMember | Oauth2ProviderConfigInput.SlackOauth2ProviderConfigMember | Oauth2ProviderConfigInput.$UnknownMember;
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare namespace Oauth2ProviderConfigInput {
|
|
44
|
+
/**
|
|
45
|
+
* <p>The configuration for a custom OAuth2 provider.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
interface CustomOauth2ProviderConfigMember {
|
|
49
|
+
customOauth2ProviderConfig: CustomOauth2ProviderConfigInput;
|
|
50
|
+
googleOauth2ProviderConfig?: never;
|
|
51
|
+
githubOauth2ProviderConfig?: never;
|
|
52
|
+
slackOauth2ProviderConfig?: never;
|
|
53
|
+
salesforceOauth2ProviderConfig?: never;
|
|
54
|
+
microsoftOauth2ProviderConfig?: never;
|
|
55
|
+
atlassianOauth2ProviderConfig?: never;
|
|
56
|
+
linkedinOauth2ProviderConfig?: never;
|
|
57
|
+
includedOauth2ProviderConfig?: never;
|
|
58
|
+
$unknown?: never;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>The configuration for a Google OAuth2 provider.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
interface GoogleOauth2ProviderConfigMember {
|
|
65
|
+
customOauth2ProviderConfig?: never;
|
|
66
|
+
googleOauth2ProviderConfig: GoogleOauth2ProviderConfigInput;
|
|
67
|
+
githubOauth2ProviderConfig?: never;
|
|
68
|
+
slackOauth2ProviderConfig?: never;
|
|
69
|
+
salesforceOauth2ProviderConfig?: never;
|
|
70
|
+
microsoftOauth2ProviderConfig?: never;
|
|
71
|
+
atlassianOauth2ProviderConfig?: never;
|
|
72
|
+
linkedinOauth2ProviderConfig?: never;
|
|
73
|
+
includedOauth2ProviderConfig?: never;
|
|
74
|
+
$unknown?: never;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <p>The configuration for a GitHub OAuth2 provider.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
interface GithubOauth2ProviderConfigMember {
|
|
81
|
+
customOauth2ProviderConfig?: never;
|
|
82
|
+
googleOauth2ProviderConfig?: never;
|
|
83
|
+
githubOauth2ProviderConfig: GithubOauth2ProviderConfigInput;
|
|
84
|
+
slackOauth2ProviderConfig?: never;
|
|
85
|
+
salesforceOauth2ProviderConfig?: never;
|
|
86
|
+
microsoftOauth2ProviderConfig?: never;
|
|
87
|
+
atlassianOauth2ProviderConfig?: never;
|
|
88
|
+
linkedinOauth2ProviderConfig?: never;
|
|
89
|
+
includedOauth2ProviderConfig?: never;
|
|
90
|
+
$unknown?: never;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* <p>The configuration for a Slack OAuth2 provider.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
interface SlackOauth2ProviderConfigMember {
|
|
97
|
+
customOauth2ProviderConfig?: never;
|
|
98
|
+
googleOauth2ProviderConfig?: never;
|
|
99
|
+
githubOauth2ProviderConfig?: never;
|
|
100
|
+
slackOauth2ProviderConfig: SlackOauth2ProviderConfigInput;
|
|
101
|
+
salesforceOauth2ProviderConfig?: never;
|
|
102
|
+
microsoftOauth2ProviderConfig?: never;
|
|
103
|
+
atlassianOauth2ProviderConfig?: never;
|
|
104
|
+
linkedinOauth2ProviderConfig?: never;
|
|
105
|
+
includedOauth2ProviderConfig?: never;
|
|
106
|
+
$unknown?: never;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>The configuration for a Salesforce OAuth2 provider.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
interface SalesforceOauth2ProviderConfigMember {
|
|
113
|
+
customOauth2ProviderConfig?: never;
|
|
114
|
+
googleOauth2ProviderConfig?: never;
|
|
115
|
+
githubOauth2ProviderConfig?: never;
|
|
116
|
+
slackOauth2ProviderConfig?: never;
|
|
117
|
+
salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigInput;
|
|
118
|
+
microsoftOauth2ProviderConfig?: never;
|
|
119
|
+
atlassianOauth2ProviderConfig?: never;
|
|
120
|
+
linkedinOauth2ProviderConfig?: never;
|
|
121
|
+
includedOauth2ProviderConfig?: never;
|
|
122
|
+
$unknown?: never;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* <p>The configuration for a Microsoft OAuth2 provider.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
interface MicrosoftOauth2ProviderConfigMember {
|
|
129
|
+
customOauth2ProviderConfig?: never;
|
|
130
|
+
googleOauth2ProviderConfig?: never;
|
|
131
|
+
githubOauth2ProviderConfig?: never;
|
|
132
|
+
slackOauth2ProviderConfig?: never;
|
|
133
|
+
salesforceOauth2ProviderConfig?: never;
|
|
134
|
+
microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInput;
|
|
135
|
+
atlassianOauth2ProviderConfig?: never;
|
|
136
|
+
linkedinOauth2ProviderConfig?: never;
|
|
137
|
+
includedOauth2ProviderConfig?: never;
|
|
138
|
+
$unknown?: never;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>Configuration settings for Atlassian OAuth2 provider integration.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
interface AtlassianOauth2ProviderConfigMember {
|
|
145
|
+
customOauth2ProviderConfig?: never;
|
|
146
|
+
googleOauth2ProviderConfig?: never;
|
|
147
|
+
githubOauth2ProviderConfig?: never;
|
|
148
|
+
slackOauth2ProviderConfig?: never;
|
|
149
|
+
salesforceOauth2ProviderConfig?: never;
|
|
150
|
+
microsoftOauth2ProviderConfig?: never;
|
|
151
|
+
atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigInput;
|
|
152
|
+
linkedinOauth2ProviderConfig?: never;
|
|
153
|
+
includedOauth2ProviderConfig?: never;
|
|
154
|
+
$unknown?: never;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* <p>Configuration settings for LinkedIn OAuth2 provider integration.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
interface LinkedinOauth2ProviderConfigMember {
|
|
161
|
+
customOauth2ProviderConfig?: never;
|
|
162
|
+
googleOauth2ProviderConfig?: never;
|
|
163
|
+
githubOauth2ProviderConfig?: never;
|
|
164
|
+
slackOauth2ProviderConfig?: never;
|
|
165
|
+
salesforceOauth2ProviderConfig?: never;
|
|
166
|
+
microsoftOauth2ProviderConfig?: never;
|
|
167
|
+
atlassianOauth2ProviderConfig?: never;
|
|
168
|
+
linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigInput;
|
|
169
|
+
includedOauth2ProviderConfig?: never;
|
|
170
|
+
$unknown?: never;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>The configuration for a non-custom OAuth2 provider. This includes settings for supported OAuth2 providers that have built-in integration support.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
interface IncludedOauth2ProviderConfigMember {
|
|
177
|
+
customOauth2ProviderConfig?: never;
|
|
178
|
+
googleOauth2ProviderConfig?: never;
|
|
179
|
+
githubOauth2ProviderConfig?: never;
|
|
180
|
+
slackOauth2ProviderConfig?: never;
|
|
181
|
+
salesforceOauth2ProviderConfig?: never;
|
|
182
|
+
microsoftOauth2ProviderConfig?: never;
|
|
183
|
+
atlassianOauth2ProviderConfig?: never;
|
|
184
|
+
linkedinOauth2ProviderConfig?: never;
|
|
185
|
+
includedOauth2ProviderConfig: IncludedOauth2ProviderConfigInput;
|
|
186
|
+
$unknown?: never;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
interface $UnknownMember {
|
|
192
|
+
customOauth2ProviderConfig?: never;
|
|
193
|
+
googleOauth2ProviderConfig?: never;
|
|
194
|
+
githubOauth2ProviderConfig?: never;
|
|
195
|
+
slackOauth2ProviderConfig?: never;
|
|
196
|
+
salesforceOauth2ProviderConfig?: never;
|
|
197
|
+
microsoftOauth2ProviderConfig?: never;
|
|
198
|
+
atlassianOauth2ProviderConfig?: never;
|
|
199
|
+
linkedinOauth2ProviderConfig?: never;
|
|
200
|
+
includedOauth2ProviderConfig?: never;
|
|
201
|
+
$unknown: [string, any];
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @deprecated unused in schema-serde mode.
|
|
205
|
+
*
|
|
206
|
+
*/
|
|
207
|
+
interface Visitor<T> {
|
|
208
|
+
customOauth2ProviderConfig: (value: CustomOauth2ProviderConfigInput) => T;
|
|
209
|
+
googleOauth2ProviderConfig: (value: GoogleOauth2ProviderConfigInput) => T;
|
|
210
|
+
githubOauth2ProviderConfig: (value: GithubOauth2ProviderConfigInput) => T;
|
|
211
|
+
slackOauth2ProviderConfig: (value: SlackOauth2ProviderConfigInput) => T;
|
|
212
|
+
salesforceOauth2ProviderConfig: (value: SalesforceOauth2ProviderConfigInput) => T;
|
|
213
|
+
microsoftOauth2ProviderConfig: (value: MicrosoftOauth2ProviderConfigInput) => T;
|
|
214
|
+
atlassianOauth2ProviderConfig: (value: AtlassianOauth2ProviderConfigInput) => T;
|
|
215
|
+
linkedinOauth2ProviderConfig: (value: LinkedinOauth2ProviderConfigInput) => T;
|
|
216
|
+
includedOauth2ProviderConfig: (value: IncludedOauth2ProviderConfigInput) => T;
|
|
217
|
+
_: (name: string, value: any) => T;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export interface CreateOauth2CredentialProviderRequest {
|
|
224
|
+
/**
|
|
225
|
+
* <p>The name of the OAuth2 credential provider. The name must be unique within your account.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
name: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
credentialProviderVendor: CredentialProviderVendorType | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* <p>The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.</p>
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
oauth2ProviderConfigInput: Oauth2ProviderConfigInput | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* <p>A map of tag keys and values to assign to the OAuth2 credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
tags?: Record<string, string> | undefined;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* <p>The configuration details returned for an Atlassian OAuth2 provider, including the client ID and OAuth2 discovery information.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export interface AtlassianOauth2ProviderConfigOutput {
|
|
250
|
+
/**
|
|
251
|
+
* <p>Contains the discovery information for an OAuth2 provider.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The client ID for the Atlassian OAuth2 provider.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
clientId?: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* <p>Output configuration for a custom OAuth2 provider.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export interface CustomOauth2ProviderConfigOutput {
|
|
266
|
+
/**
|
|
267
|
+
* <p>The OAuth2 discovery information for the custom provider.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The client ID for the custom OAuth2 provider.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
clientId?: string | undefined;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* <p>Output configuration for a GitHub OAuth2 provider.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
export interface GithubOauth2ProviderConfigOutput {
|
|
282
|
+
/**
|
|
283
|
+
* <p>The OAuth2 discovery information for the GitHub provider.</p>
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* <p>The client ID for the GitHub OAuth2 provider.</p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
clientId?: string | undefined;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* <p>Output configuration for a Google OAuth2 provider.</p>
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
export interface GoogleOauth2ProviderConfigOutput {
|
|
298
|
+
/**
|
|
299
|
+
* <p>The OAuth2 discovery information for the Google provider.</p>
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* <p>The client ID for the Google OAuth2 provider.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
clientId?: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* <p>The configuration details returned for a supported OAuth2 provider, including client credentials and OAuth2 discovery information.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export interface IncludedOauth2ProviderConfigOutput {
|
|
314
|
+
/**
|
|
315
|
+
* <p>Contains the discovery information for an OAuth2 provider.</p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* <p>The client ID for the supported OAuth2 provider.</p>
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
clientId?: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* <p>The configuration details returned for a LinkedIn OAuth2 provider, including the client ID and OAuth2 discovery information.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export interface LinkedinOauth2ProviderConfigOutput {
|
|
330
|
+
/**
|
|
331
|
+
* <p>Contains the discovery information for an OAuth2 provider.</p>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* <p>The client ID for the LinkedIn OAuth2 provider.</p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
clientId?: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* <p>Output configuration for a Microsoft OAuth2 provider.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
export interface MicrosoftOauth2ProviderConfigOutput {
|
|
346
|
+
/**
|
|
347
|
+
* <p>The OAuth2 discovery information for the Microsoft provider.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p>The client ID for the Microsoft OAuth2 provider.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
clientId?: string | undefined;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* <p>Output configuration for a Salesforce OAuth2 provider.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export interface SalesforceOauth2ProviderConfigOutput {
|
|
362
|
+
/**
|
|
363
|
+
* <p>The OAuth2 discovery information for the Salesforce provider.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The client ID for the Salesforce OAuth2 provider.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
clientId?: string | undefined;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* <p>Output configuration for a Slack OAuth2 provider.</p>
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
export interface SlackOauth2ProviderConfigOutput {
|
|
378
|
+
/**
|
|
379
|
+
* <p>The OAuth2 discovery information for the Slack provider.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
oauthDiscovery: Oauth2Discovery | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* <p>The client ID for the Slack OAuth2 provider.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
clientId?: string | undefined;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* <p>Contains the output configuration for an OAuth2 provider.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export type Oauth2ProviderConfigOutput = Oauth2ProviderConfigOutput.AtlassianOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.CustomOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.GithubOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.GoogleOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.IncludedOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.LinkedinOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.MicrosoftOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.SalesforceOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.SlackOauth2ProviderConfigMember | Oauth2ProviderConfigOutput.$UnknownMember;
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export declare namespace Oauth2ProviderConfigOutput {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The output configuration for a custom OAuth2 provider.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
interface CustomOauth2ProviderConfigMember {
|
|
403
|
+
customOauth2ProviderConfig: CustomOauth2ProviderConfigOutput;
|
|
404
|
+
googleOauth2ProviderConfig?: never;
|
|
405
|
+
githubOauth2ProviderConfig?: never;
|
|
406
|
+
slackOauth2ProviderConfig?: never;
|
|
407
|
+
salesforceOauth2ProviderConfig?: never;
|
|
408
|
+
microsoftOauth2ProviderConfig?: never;
|
|
409
|
+
atlassianOauth2ProviderConfig?: never;
|
|
410
|
+
linkedinOauth2ProviderConfig?: never;
|
|
411
|
+
includedOauth2ProviderConfig?: never;
|
|
412
|
+
$unknown?: never;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* <p>The output configuration for a Google OAuth2 provider.</p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
interface GoogleOauth2ProviderConfigMember {
|
|
419
|
+
customOauth2ProviderConfig?: never;
|
|
420
|
+
googleOauth2ProviderConfig: GoogleOauth2ProviderConfigOutput;
|
|
421
|
+
githubOauth2ProviderConfig?: never;
|
|
422
|
+
slackOauth2ProviderConfig?: never;
|
|
423
|
+
salesforceOauth2ProviderConfig?: never;
|
|
424
|
+
microsoftOauth2ProviderConfig?: never;
|
|
425
|
+
atlassianOauth2ProviderConfig?: never;
|
|
426
|
+
linkedinOauth2ProviderConfig?: never;
|
|
427
|
+
includedOauth2ProviderConfig?: never;
|
|
428
|
+
$unknown?: never;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* <p>The output configuration for a GitHub OAuth2 provider.</p>
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
interface GithubOauth2ProviderConfigMember {
|
|
435
|
+
customOauth2ProviderConfig?: never;
|
|
436
|
+
googleOauth2ProviderConfig?: never;
|
|
437
|
+
githubOauth2ProviderConfig: GithubOauth2ProviderConfigOutput;
|
|
438
|
+
slackOauth2ProviderConfig?: never;
|
|
439
|
+
salesforceOauth2ProviderConfig?: never;
|
|
440
|
+
microsoftOauth2ProviderConfig?: never;
|
|
441
|
+
atlassianOauth2ProviderConfig?: never;
|
|
442
|
+
linkedinOauth2ProviderConfig?: never;
|
|
443
|
+
includedOauth2ProviderConfig?: never;
|
|
444
|
+
$unknown?: never;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* <p>The output configuration for a Slack OAuth2 provider.</p>
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
interface SlackOauth2ProviderConfigMember {
|
|
451
|
+
customOauth2ProviderConfig?: never;
|
|
452
|
+
googleOauth2ProviderConfig?: never;
|
|
453
|
+
githubOauth2ProviderConfig?: never;
|
|
454
|
+
slackOauth2ProviderConfig: SlackOauth2ProviderConfigOutput;
|
|
455
|
+
salesforceOauth2ProviderConfig?: never;
|
|
456
|
+
microsoftOauth2ProviderConfig?: never;
|
|
457
|
+
atlassianOauth2ProviderConfig?: never;
|
|
458
|
+
linkedinOauth2ProviderConfig?: never;
|
|
459
|
+
includedOauth2ProviderConfig?: never;
|
|
460
|
+
$unknown?: never;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* <p>The output configuration for a Salesforce OAuth2 provider.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
interface SalesforceOauth2ProviderConfigMember {
|
|
467
|
+
customOauth2ProviderConfig?: never;
|
|
468
|
+
googleOauth2ProviderConfig?: never;
|
|
469
|
+
githubOauth2ProviderConfig?: never;
|
|
470
|
+
slackOauth2ProviderConfig?: never;
|
|
471
|
+
salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigOutput;
|
|
472
|
+
microsoftOauth2ProviderConfig?: never;
|
|
473
|
+
atlassianOauth2ProviderConfig?: never;
|
|
474
|
+
linkedinOauth2ProviderConfig?: never;
|
|
475
|
+
includedOauth2ProviderConfig?: never;
|
|
476
|
+
$unknown?: never;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* <p>The output configuration for a Microsoft OAuth2 provider.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
interface MicrosoftOauth2ProviderConfigMember {
|
|
483
|
+
customOauth2ProviderConfig?: never;
|
|
484
|
+
googleOauth2ProviderConfig?: never;
|
|
485
|
+
githubOauth2ProviderConfig?: never;
|
|
486
|
+
slackOauth2ProviderConfig?: never;
|
|
487
|
+
salesforceOauth2ProviderConfig?: never;
|
|
488
|
+
microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigOutput;
|
|
489
|
+
atlassianOauth2ProviderConfig?: never;
|
|
490
|
+
linkedinOauth2ProviderConfig?: never;
|
|
491
|
+
includedOauth2ProviderConfig?: never;
|
|
492
|
+
$unknown?: never;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* <p>The configuration details for the Atlassian OAuth2 provider.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
interface AtlassianOauth2ProviderConfigMember {
|
|
499
|
+
customOauth2ProviderConfig?: never;
|
|
500
|
+
googleOauth2ProviderConfig?: never;
|
|
501
|
+
githubOauth2ProviderConfig?: never;
|
|
502
|
+
slackOauth2ProviderConfig?: never;
|
|
503
|
+
salesforceOauth2ProviderConfig?: never;
|
|
504
|
+
microsoftOauth2ProviderConfig?: never;
|
|
505
|
+
atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigOutput;
|
|
506
|
+
linkedinOauth2ProviderConfig?: never;
|
|
507
|
+
includedOauth2ProviderConfig?: never;
|
|
508
|
+
$unknown?: never;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* <p>The configuration details for the LinkedIn OAuth2 provider.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
interface LinkedinOauth2ProviderConfigMember {
|
|
515
|
+
customOauth2ProviderConfig?: never;
|
|
516
|
+
googleOauth2ProviderConfig?: never;
|
|
517
|
+
githubOauth2ProviderConfig?: never;
|
|
518
|
+
slackOauth2ProviderConfig?: never;
|
|
519
|
+
salesforceOauth2ProviderConfig?: never;
|
|
520
|
+
microsoftOauth2ProviderConfig?: never;
|
|
521
|
+
atlassianOauth2ProviderConfig?: never;
|
|
522
|
+
linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigOutput;
|
|
523
|
+
includedOauth2ProviderConfig?: never;
|
|
524
|
+
$unknown?: never;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* <p>The configuration for a non-custom OAuth2 provider. This includes the configuration details for supported OAuth2 providers that have built-in integration support.</p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
interface IncludedOauth2ProviderConfigMember {
|
|
531
|
+
customOauth2ProviderConfig?: never;
|
|
532
|
+
googleOauth2ProviderConfig?: never;
|
|
533
|
+
githubOauth2ProviderConfig?: never;
|
|
534
|
+
slackOauth2ProviderConfig?: never;
|
|
535
|
+
salesforceOauth2ProviderConfig?: never;
|
|
536
|
+
microsoftOauth2ProviderConfig?: never;
|
|
537
|
+
atlassianOauth2ProviderConfig?: never;
|
|
538
|
+
linkedinOauth2ProviderConfig?: never;
|
|
539
|
+
includedOauth2ProviderConfig: IncludedOauth2ProviderConfigOutput;
|
|
540
|
+
$unknown?: never;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
interface $UnknownMember {
|
|
546
|
+
customOauth2ProviderConfig?: never;
|
|
547
|
+
googleOauth2ProviderConfig?: never;
|
|
548
|
+
githubOauth2ProviderConfig?: never;
|
|
549
|
+
slackOauth2ProviderConfig?: never;
|
|
550
|
+
salesforceOauth2ProviderConfig?: never;
|
|
551
|
+
microsoftOauth2ProviderConfig?: never;
|
|
552
|
+
atlassianOauth2ProviderConfig?: never;
|
|
553
|
+
linkedinOauth2ProviderConfig?: never;
|
|
554
|
+
includedOauth2ProviderConfig?: never;
|
|
555
|
+
$unknown: [string, any];
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* @deprecated unused in schema-serde mode.
|
|
559
|
+
*
|
|
560
|
+
*/
|
|
561
|
+
interface Visitor<T> {
|
|
562
|
+
customOauth2ProviderConfig: (value: CustomOauth2ProviderConfigOutput) => T;
|
|
563
|
+
googleOauth2ProviderConfig: (value: GoogleOauth2ProviderConfigOutput) => T;
|
|
564
|
+
githubOauth2ProviderConfig: (value: GithubOauth2ProviderConfigOutput) => T;
|
|
565
|
+
slackOauth2ProviderConfig: (value: SlackOauth2ProviderConfigOutput) => T;
|
|
566
|
+
salesforceOauth2ProviderConfig: (value: SalesforceOauth2ProviderConfigOutput) => T;
|
|
567
|
+
microsoftOauth2ProviderConfig: (value: MicrosoftOauth2ProviderConfigOutput) => T;
|
|
568
|
+
atlassianOauth2ProviderConfig: (value: AtlassianOauth2ProviderConfigOutput) => T;
|
|
569
|
+
linkedinOauth2ProviderConfig: (value: LinkedinOauth2ProviderConfigOutput) => T;
|
|
570
|
+
includedOauth2ProviderConfig: (value: IncludedOauth2ProviderConfigOutput) => T;
|
|
571
|
+
_: (name: string, value: any) => T;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
export interface CreateOauth2CredentialProviderResponse {
|
|
578
|
+
/**
|
|
579
|
+
* <p>The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
clientSecretArn: Secret | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* <p>The name of the OAuth2 credential provider.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
name: string | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* <p>The Amazon Resource Name (ARN) of the OAuth2 credential provider.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
credentialProviderArn: string | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* <p>Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
callbackUrl?: string | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* <p>Contains the output configuration for an OAuth2 provider.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
oauth2ProviderConfigOutput?: Oauth2ProviderConfigOutput | undefined;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export interface DeleteOauth2CredentialProviderRequest {
|
|
608
|
+
/**
|
|
609
|
+
* <p>The name of the OAuth2 credential provider to delete.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
name: string | undefined;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
export interface DeleteOauth2CredentialProviderResponse {
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export interface GetOauth2CredentialProviderRequest {
|
|
623
|
+
/**
|
|
624
|
+
* <p>The name of the OAuth2 credential provider to retrieve.</p>
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
name: string | undefined;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
export interface GetOauth2CredentialProviderResponse {
|
|
633
|
+
/**
|
|
634
|
+
* <p>The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.</p>
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
clientSecretArn: Secret | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* <p>The name of the OAuth2 credential provider.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
name: string | undefined;
|
|
643
|
+
/**
|
|
644
|
+
* <p>ARN of the credential provider requested.</p>
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
credentialProviderArn: string | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* <p>The vendor of the OAuth2 credential provider.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
credentialProviderVendor: CredentialProviderVendorType | undefined;
|
|
653
|
+
/**
|
|
654
|
+
* <p>Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.</p>
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
callbackUrl?: string | undefined;
|
|
658
|
+
/**
|
|
659
|
+
* <p>The configuration output for the OAuth2 provider.</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
oauth2ProviderConfigOutput: Oauth2ProviderConfigOutput | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* <p>The timestamp when the OAuth2 credential provider was created.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
createdTime: Date | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* <p>The timestamp when the OAuth2 credential provider was last updated.</p>
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
lastUpdatedTime: Date | undefined;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
export interface ListOauth2CredentialProvidersRequest {
|
|
678
|
+
/**
|
|
679
|
+
* <p>Pagination token.</p>
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
nextToken?: string | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* <p>Maximum number of results to return.</p>
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
maxResults?: number | undefined;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* <p>Contains information about an OAuth2 credential provider.</p>
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
export interface Oauth2CredentialProviderItem {
|
|
694
|
+
/**
|
|
695
|
+
* <p>The name of the OAuth2 credential provider.</p>
|
|
696
|
+
* @public
|
|
697
|
+
*/
|
|
698
|
+
name: string | undefined;
|
|
699
|
+
/**
|
|
700
|
+
* <p>The vendor of the OAuth2 credential provider.</p>
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
credentialProviderVendor: CredentialProviderVendorType | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* <p>The Amazon Resource Name (ARN) of the OAuth2 credential provider.</p>
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
credentialProviderArn: string | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* <p>The timestamp when the OAuth2 credential provider was created.</p>
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
createdTime: Date | undefined;
|
|
714
|
+
/**
|
|
715
|
+
* <p>The timestamp when the OAuth2 credential provider was last updated.</p>
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
718
|
+
lastUpdatedTime: Date | undefined;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
export interface ListOauth2CredentialProvidersResponse {
|
|
724
|
+
/**
|
|
725
|
+
* <p>The list of OAuth2 credential providers.</p>
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
credentialProviders: Oauth2CredentialProviderItem[] | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>Pagination token for the next page of results.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
nextToken?: string | undefined;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
export interface UpdateOauth2CredentialProviderRequest {
|
|
739
|
+
/**
|
|
740
|
+
* <p>The name of the OAuth2 credential provider to update.</p>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
name: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* <p>The vendor of the OAuth2 credential provider.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
credentialProviderVendor: CredentialProviderVendorType | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* <p>The configuration input for the OAuth2 provider.</p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
oauth2ProviderConfigInput: Oauth2ProviderConfigInput | undefined;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
*/
|
|
758
|
+
export interface UpdateOauth2CredentialProviderResponse {
|
|
759
|
+
/**
|
|
760
|
+
* <p>The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.</p>
|
|
761
|
+
* @public
|
|
762
|
+
*/
|
|
763
|
+
clientSecretArn: Secret | undefined;
|
|
764
|
+
/**
|
|
765
|
+
* <p>The name of the OAuth2 credential provider.</p>
|
|
766
|
+
* @public
|
|
767
|
+
*/
|
|
768
|
+
name: string | undefined;
|
|
769
|
+
/**
|
|
770
|
+
* <p>The vendor of the OAuth2 credential provider.</p>
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
credentialProviderVendor: CredentialProviderVendorType | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* <p>The Amazon Resource Name (ARN) of the OAuth2 credential provider.</p>
|
|
776
|
+
* @public
|
|
777
|
+
*/
|
|
778
|
+
credentialProviderArn: string | undefined;
|
|
779
|
+
/**
|
|
780
|
+
* <p>Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.</p>
|
|
781
|
+
* @public
|
|
782
|
+
*/
|
|
783
|
+
callbackUrl?: string | undefined;
|
|
784
|
+
/**
|
|
785
|
+
* <p>The configuration output for the OAuth2 provider.</p>
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
oauth2ProviderConfigOutput: Oauth2ProviderConfigOutput | undefined;
|
|
789
|
+
/**
|
|
790
|
+
* <p>The timestamp when the OAuth2 credential provider was created.</p>
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
createdTime: Date | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* <p>The timestamp when the OAuth2 credential provider was last updated.</p>
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
lastUpdatedTime: Date | undefined;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* <p> The configuration for reading agent traces from CloudWatch logs as input for online evaluation. </p>
|
|
802
|
+
* @public
|
|
803
|
+
*/
|
|
804
|
+
export interface CloudWatchLogsInputConfig {
|
|
805
|
+
/**
|
|
806
|
+
* <p> The list of CloudWatch log group names to monitor for agent traces.</p>
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
logGroupNames: string[] | undefined;
|
|
810
|
+
/**
|
|
811
|
+
* <p> The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions. </p>
|
|
812
|
+
* @public
|
|
813
|
+
*/
|
|
814
|
+
serviceNames: string[] | undefined;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* <p> The configuration that specifies where to read agent traces for online evaluation. </p>
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
820
|
+
export type DataSourceConfig = DataSourceConfig.CloudWatchLogsMember | DataSourceConfig.$UnknownMember;
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
*/
|
|
824
|
+
export declare namespace DataSourceConfig {
|
|
825
|
+
/**
|
|
826
|
+
* <p> The CloudWatch logs configuration for reading agent traces from log groups. </p>
|
|
827
|
+
* @public
|
|
828
|
+
*/
|
|
829
|
+
interface CloudWatchLogsMember {
|
|
830
|
+
cloudWatchLogs: CloudWatchLogsInputConfig;
|
|
831
|
+
$unknown?: never;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* @public
|
|
835
|
+
*/
|
|
836
|
+
interface $UnknownMember {
|
|
837
|
+
cloudWatchLogs?: never;
|
|
838
|
+
$unknown: [string, any];
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* @deprecated unused in schema-serde mode.
|
|
842
|
+
*
|
|
843
|
+
*/
|
|
844
|
+
interface Visitor<T> {
|
|
845
|
+
cloudWatchLogs: (value: CloudWatchLogsInputConfig) => T;
|
|
846
|
+
_: (name: string, value: any) => T;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* <p> The reference to an evaluator used in online evaluation configurations, containing the evaluator identifier. </p>
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
export type EvaluatorReference = EvaluatorReference.EvaluatorIdMember | EvaluatorReference.$UnknownMember;
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
export declare namespace EvaluatorReference {
|
|
858
|
+
/**
|
|
859
|
+
* <p> The unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness) or custom evaluators. </p>
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
interface EvaluatorIdMember {
|
|
863
|
+
evaluatorId: string;
|
|
864
|
+
$unknown?: never;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
interface $UnknownMember {
|
|
870
|
+
evaluatorId?: never;
|
|
871
|
+
$unknown: [string, any];
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* @deprecated unused in schema-serde mode.
|
|
875
|
+
*
|
|
876
|
+
*/
|
|
877
|
+
interface Visitor<T> {
|
|
878
|
+
evaluatorId: (value: string) => T;
|
|
879
|
+
_: (name: string, value: any) => T;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* <p> The value used in filter comparisons, supporting different data types for flexible filtering criteria. </p>
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
export type FilterValue = FilterValue.BooleanValueMember | FilterValue.DoubleValueMember | FilterValue.StringValueMember | FilterValue.$UnknownMember;
|
|
887
|
+
/**
|
|
888
|
+
* @public
|
|
889
|
+
*/
|
|
890
|
+
export declare namespace FilterValue {
|
|
891
|
+
/**
|
|
892
|
+
* <p> The string value for text-based filtering. </p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
interface StringValueMember {
|
|
896
|
+
stringValue: string;
|
|
897
|
+
doubleValue?: never;
|
|
898
|
+
booleanValue?: never;
|
|
899
|
+
$unknown?: never;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* <p> The numeric value for numerical filtering and comparisons. </p>
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
interface DoubleValueMember {
|
|
906
|
+
stringValue?: never;
|
|
907
|
+
doubleValue: number;
|
|
908
|
+
booleanValue?: never;
|
|
909
|
+
$unknown?: never;
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* <p> The boolean value for true/false filtering conditions. </p>
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
interface BooleanValueMember {
|
|
916
|
+
stringValue?: never;
|
|
917
|
+
doubleValue?: never;
|
|
918
|
+
booleanValue: boolean;
|
|
919
|
+
$unknown?: never;
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
interface $UnknownMember {
|
|
925
|
+
stringValue?: never;
|
|
926
|
+
doubleValue?: never;
|
|
927
|
+
booleanValue?: never;
|
|
928
|
+
$unknown: [string, any];
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* @deprecated unused in schema-serde mode.
|
|
932
|
+
*
|
|
933
|
+
*/
|
|
934
|
+
interface Visitor<T> {
|
|
935
|
+
stringValue: (value: string) => T;
|
|
936
|
+
doubleValue: (value: number) => T;
|
|
937
|
+
booleanValue: (value: boolean) => T;
|
|
938
|
+
_: (name: string, value: any) => T;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* <p> The filter that applies conditions to agent traces during online evaluation to determine which traces should be evaluated. </p>
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
export interface Filter {
|
|
946
|
+
/**
|
|
947
|
+
* <p> The key or field name to filter on within the agent trace data. </p>
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
950
|
+
key: string | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* <p> The comparison operator to use for filtering. </p>
|
|
953
|
+
* @public
|
|
954
|
+
*/
|
|
955
|
+
operator: FilterOperator | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* <p> The value to compare against using the specified operator. </p>
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
value: FilterValue | undefined;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* <p> The configuration that controls what percentage of agent traces are sampled for evaluation to manage evaluation volume and costs. </p>
|
|
964
|
+
* @public
|
|
965
|
+
*/
|
|
966
|
+
export interface SamplingConfig {
|
|
967
|
+
/**
|
|
968
|
+
* <p> The percentage of agent traces to sample for evaluation, ranging from 0.01% to 100%. </p>
|
|
969
|
+
* @public
|
|
970
|
+
*/
|
|
971
|
+
samplingPercentage: number | undefined;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* <p> The configuration that defines how agent sessions are detected and when they are considered complete for evaluation. </p>
|
|
975
|
+
* @public
|
|
976
|
+
*/
|
|
977
|
+
export interface SessionConfig {
|
|
978
|
+
/**
|
|
979
|
+
* <p> The number of minutes of inactivity after which an agent session is considered complete and ready for evaluation. Default is 15 minutes. </p>
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
982
|
+
sessionTimeoutMinutes: number | undefined;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* <p> The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings for online evaluation. </p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
export interface Rule {
|
|
989
|
+
/**
|
|
990
|
+
* <p> The sampling configuration that determines what percentage of agent traces to evaluate. </p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
samplingConfig: SamplingConfig | undefined;
|
|
994
|
+
/**
|
|
995
|
+
* <p> The list of filters that determine which agent traces should be included in the evaluation based on trace properties. </p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
filters?: Filter[] | undefined;
|
|
999
|
+
/**
|
|
1000
|
+
* <p> The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation. </p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
sessionConfig?: SessionConfig | undefined;
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
export interface CreateOnlineEvaluationConfigRequest {
|
|
1009
|
+
/**
|
|
1010
|
+
* <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>
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
clientToken?: string | undefined;
|
|
1014
|
+
/**
|
|
1015
|
+
* <p> The name of the online evaluation configuration. Must be unique within your account. </p>
|
|
1016
|
+
* @public
|
|
1017
|
+
*/
|
|
1018
|
+
onlineEvaluationConfigName: string | undefined;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p> The description of the online evaluation configuration that explains its monitoring purpose and scope. </p>
|
|
1021
|
+
* @public
|
|
1022
|
+
*/
|
|
1023
|
+
description?: string | undefined;
|
|
1024
|
+
/**
|
|
1025
|
+
* <p> The evaluation rule that defines sampling configuration, filters, and session detection settings for the online evaluation. </p>
|
|
1026
|
+
* @public
|
|
1027
|
+
*/
|
|
1028
|
+
rule: Rule | undefined;
|
|
1029
|
+
/**
|
|
1030
|
+
* <p> The data source configuration that specifies CloudWatch log groups and service names to monitor for agent traces. </p>
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
dataSourceConfig: DataSourceConfig | undefined;
|
|
1034
|
+
/**
|
|
1035
|
+
* <p> The list of evaluators to apply during online evaluation. Can include both built-in evaluators and custom evaluators created with <code>CreateEvaluator</code>. </p>
|
|
1036
|
+
* @public
|
|
1037
|
+
*/
|
|
1038
|
+
evaluators: EvaluatorReference[] | undefined;
|
|
1039
|
+
/**
|
|
1040
|
+
* <p> The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. </p>
|
|
1041
|
+
* @public
|
|
1042
|
+
*/
|
|
1043
|
+
evaluationExecutionRoleArn: string | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p> Whether to enable the online evaluation configuration immediately upon creation. If true, evaluation begins automatically. </p>
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
1048
|
+
enableOnCreate: boolean | undefined;
|
|
1049
|
+
/**
|
|
1050
|
+
* <p>A map of tag keys and values to assign to an AgentCore Online Evaluation Config. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
tags?: Record<string, string> | undefined;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* <p> The configuration for writing evaluation results to CloudWatch logs with embedded metric format (EMF) for monitoring. </p>
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
export interface CloudWatchOutputConfig {
|
|
1060
|
+
/**
|
|
1061
|
+
* <p> The name of the CloudWatch log group where evaluation results will be written. The log group will be created if it doesn't exist. </p>
|
|
1062
|
+
* @public
|
|
1063
|
+
*/
|
|
1064
|
+
logGroupName: string | undefined;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* <p> The configuration that specifies where evaluation results should be written for monitoring and analysis. </p>
|
|
1068
|
+
* @public
|
|
1069
|
+
*/
|
|
1070
|
+
export interface OutputConfig {
|
|
1071
|
+
/**
|
|
1072
|
+
* <p> The CloudWatch configuration for writing evaluation results to CloudWatch logs with embedded metric format. </p>
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
cloudWatchConfig: CloudWatchOutputConfig | undefined;
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* @public
|
|
1079
|
+
*/
|
|
1080
|
+
export interface CreateOnlineEvaluationConfigResponse {
|
|
1081
|
+
/**
|
|
1082
|
+
* <p> The Amazon Resource Name (ARN) of the created online evaluation configuration. </p>
|
|
1083
|
+
* @public
|
|
1084
|
+
*/
|
|
1085
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
1086
|
+
/**
|
|
1087
|
+
* <p> The unique identifier of the created online evaluation configuration. </p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
onlineEvaluationConfigId: string | undefined;
|
|
1091
|
+
/**
|
|
1092
|
+
* <p> The timestamp when the online evaluation configuration was created. </p>
|
|
1093
|
+
* @public
|
|
1094
|
+
*/
|
|
1095
|
+
createdAt: Date | undefined;
|
|
1096
|
+
/**
|
|
1097
|
+
* <p> The configuration that specifies where evaluation results should be written for monitoring and analysis. </p>
|
|
1098
|
+
* @public
|
|
1099
|
+
*/
|
|
1100
|
+
outputConfig?: OutputConfig | undefined;
|
|
1101
|
+
/**
|
|
1102
|
+
* <p> The status of the online evaluation configuration. </p>
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
1106
|
+
/**
|
|
1107
|
+
* <p> The execution status indicating whether the online evaluation is currently running. </p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
1111
|
+
/**
|
|
1112
|
+
* <p> The reason for failure if the online evaluation configuration creation or execution failed. </p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
failureReason?: string | undefined;
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
export interface DeleteOnlineEvaluationConfigRequest {
|
|
1121
|
+
/**
|
|
1122
|
+
* <p> The unique identifier of the online evaluation configuration to delete. </p>
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
onlineEvaluationConfigId: string | undefined;
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* @public
|
|
1129
|
+
*/
|
|
1130
|
+
export interface DeleteOnlineEvaluationConfigResponse {
|
|
1131
|
+
/**
|
|
1132
|
+
* <p> The Amazon Resource Name (ARN) of the deleted online evaluation configuration. </p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
1136
|
+
/**
|
|
1137
|
+
* <p> The unique identifier of the deleted online evaluation configuration. </p>
|
|
1138
|
+
* @public
|
|
1139
|
+
*/
|
|
1140
|
+
onlineEvaluationConfigId: string | undefined;
|
|
1141
|
+
/**
|
|
1142
|
+
* <p> The status of the online evaluation configuration deletion operation. </p>
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
export interface GetOnlineEvaluationConfigRequest {
|
|
1151
|
+
/**
|
|
1152
|
+
* <p> The unique identifier of the online evaluation configuration to retrieve. </p>
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
onlineEvaluationConfigId: string | undefined;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* @public
|
|
1159
|
+
*/
|
|
1160
|
+
export interface GetOnlineEvaluationConfigResponse {
|
|
1161
|
+
/**
|
|
1162
|
+
* <p> The Amazon Resource Name (ARN) of the online evaluation configuration. </p>
|
|
1163
|
+
* @public
|
|
1164
|
+
*/
|
|
1165
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
1166
|
+
/**
|
|
1167
|
+
* <p> The unique identifier of the online evaluation configuration. </p>
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1170
|
+
onlineEvaluationConfigId: string | undefined;
|
|
1171
|
+
/**
|
|
1172
|
+
* <p> The name of the online evaluation configuration. </p>
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
onlineEvaluationConfigName: string | undefined;
|
|
1176
|
+
/**
|
|
1177
|
+
* <p> The description of the online evaluation configuration. </p>
|
|
1178
|
+
* @public
|
|
1179
|
+
*/
|
|
1180
|
+
description?: string | undefined;
|
|
1181
|
+
/**
|
|
1182
|
+
* <p> The evaluation rule containing sampling configuration, filters, and session settings. </p>
|
|
1183
|
+
* @public
|
|
1184
|
+
*/
|
|
1185
|
+
rule: Rule | undefined;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p> The data source configuration specifying CloudWatch log groups and service names to monitor. </p>
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
dataSourceConfig: DataSourceConfig | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* <p> The list of evaluators applied during online evaluation. </p>
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
evaluators: EvaluatorReference[] | undefined;
|
|
1196
|
+
/**
|
|
1197
|
+
* <p> The output configuration specifying where evaluation results are written. </p>
|
|
1198
|
+
* @public
|
|
1199
|
+
*/
|
|
1200
|
+
outputConfig?: OutputConfig | undefined;
|
|
1201
|
+
/**
|
|
1202
|
+
* <p> The Amazon Resource Name (ARN) of the IAM role used for evaluation execution. </p>
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1205
|
+
evaluationExecutionRoleArn?: string | undefined;
|
|
1206
|
+
/**
|
|
1207
|
+
* <p> The status of the online evaluation configuration. </p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
1211
|
+
/**
|
|
1212
|
+
* <p> The execution status indicating whether the online evaluation is currently running. </p>
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* <p> The timestamp when the online evaluation configuration was created. </p>
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
createdAt: Date | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* <p> The timestamp when the online evaluation configuration was last updated. </p>
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1225
|
+
updatedAt: Date | undefined;
|
|
1226
|
+
/**
|
|
1227
|
+
* <p> The reason for failure if the online evaluation configuration execution failed. </p>
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
failureReason?: string | undefined;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* @public
|
|
1234
|
+
*/
|
|
1235
|
+
export interface ListOnlineEvaluationConfigsRequest {
|
|
1236
|
+
/**
|
|
1237
|
+
* <p> The pagination token from a previous request to retrieve the next page of results. </p>
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
nextToken?: string | undefined;
|
|
1241
|
+
/**
|
|
1242
|
+
* <p> The maximum number of online evaluation configurations to return in a single response. </p>
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
maxResults?: number | undefined;
|
|
1246
|
+
}
|
|
3
1247
|
/**
|
|
4
1248
|
* <p> The summary information about an online evaluation configuration, including basic metadata and execution status. </p>
|
|
5
1249
|
* @public
|
|
@@ -2563,17 +3807,6 @@ export interface UpdatedApprovalConfiguration {
|
|
|
2563
3807
|
*/
|
|
2564
3808
|
optionalValue?: ApprovalConfiguration | undefined;
|
|
2565
3809
|
}
|
|
2566
|
-
/**
|
|
2567
|
-
* <p>Wrapper for updating an optional AuthorizerConfiguration field with PATCH semantics. When present in an update request, the authorizer configuration is replaced with optionalValue. When absent, the authorizer configuration is left unchanged. To unset, include the wrapper with optionalValue not specified.</p>
|
|
2568
|
-
* @public
|
|
2569
|
-
*/
|
|
2570
|
-
export interface UpdatedAuthorizerConfiguration {
|
|
2571
|
-
/**
|
|
2572
|
-
* <p>The updated authorizer configuration value. If not specified, it will clear the current authorizer configuration of the resource.</p>
|
|
2573
|
-
* @public
|
|
2574
|
-
*/
|
|
2575
|
-
optionalValue?: AuthorizerConfiguration | undefined;
|
|
2576
|
-
}
|
|
2577
3810
|
/**
|
|
2578
3811
|
* @public
|
|
2579
3812
|
*/
|