Skip to content

Commit ef2d3c3

Browse files
author
awstools
committed
feat(client-bedrock-agentcore-control): Updated http status code in control plane apis of agentcore runtime, tools and identity. Additional included provider types for AgentCore Identity
1 parent c5dbfc6 commit ef2d3c3

12 files changed

+1275
-65
lines changed

clients/client-bedrock-agentcore-control/src/commands/CreateAgentRuntimeEndpointCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
CreateAgentRuntimeEndpointRequest,
1515
CreateAgentRuntimeEndpointRequestFilterSensitiveLog,
1616
CreateAgentRuntimeEndpointResponse,
17+
CreateAgentRuntimeEndpointResponseFilterSensitiveLog,
1718
} from "../models/models_0";
1819
import { de_CreateAgentRuntimeEndpointCommand, se_CreateAgentRuntimeEndpointCommand } from "../protocols/Aws_restJson1";
1920

@@ -61,6 +62,8 @@ export interface CreateAgentRuntimeEndpointCommandOutput extends CreateAgentRunt
6162
* // targetVersion: "STRING_VALUE", // required
6263
* // agentRuntimeEndpointArn: "STRING_VALUE", // required
6364
* // agentRuntimeArn: "STRING_VALUE", // required
65+
* // agentRuntimeId: "STRING_VALUE",
66+
* // endpointName: "STRING_VALUE",
6467
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
6568
* // createdAt: new Date("TIMESTAMP"), // required
6669
* // };
@@ -117,7 +120,7 @@ export class CreateAgentRuntimeEndpointCommand extends $Command
117120
})
118121
.s("AmazonBedrockAgentCoreControl", "CreateAgentRuntimeEndpoint", {})
119122
.n("BedrockAgentCoreControlClient", "CreateAgentRuntimeEndpointCommand")
120-
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog, void 0)
123+
.f(CreateAgentRuntimeEndpointRequestFilterSensitiveLog, CreateAgentRuntimeEndpointResponseFilterSensitiveLog)
121124
.ser(se_CreateAgentRuntimeEndpointCommand)
122125
.de(de_CreateAgentRuntimeEndpointCommand)
123126
.build() {

clients/client-bedrock-agentcore-control/src/commands/CreateApiKeyCredentialProviderCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ export interface CreateApiKeyCredentialProviderCommandOutput
5353
* const input = { // CreateApiKeyCredentialProviderRequest
5454
* name: "STRING_VALUE", // required
5555
* apiKey: "STRING_VALUE", // required
56+
* tags: { // TagsMap
57+
* "<keys>": "STRING_VALUE",
58+
* },
5659
* };
5760
* const command = new CreateApiKeyCredentialProviderCommand(input);
5861
* const response = await client.send(command);

clients/client-bedrock-agentcore-control/src/commands/CreateOauth2CredentialProviderCommand.ts

Lines changed: 127 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface CreateOauth2CredentialProviderCommandOutput
5252
* const client = new BedrockAgentCoreControlClient(config);
5353
* const input = { // CreateOauth2CredentialProviderRequest
5454
* name: "STRING_VALUE", // required
55-
* credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
55+
* credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2" || "AtlassianOauth2" || "LinkedinOauth2" || "XOauth2" || "OktaOauth2" || "OneLoginOauth2" || "PingOneOauth2" || "FacebookOauth2" || "YandexOauth2" || "RedditOauth2" || "ZoomOauth2" || "TwitchOauth2" || "SpotifyOauth2" || "DropboxOauth2" || "NotionOauth2" || "HubspotOauth2" || "CyberArkOauth2" || "FusionAuthOauth2" || "Auth0Oauth2" || "CognitoOauth2", // required
5656
* oauth2ProviderConfigInput: { // Oauth2ProviderConfigInput Union: only one key present
5757
* customOauth2ProviderConfig: { // CustomOauth2ProviderConfigInput
5858
* oauthDiscovery: { // Oauth2Discovery Union: only one key present
@@ -64,6 +64,9 @@ export interface CreateOauth2CredentialProviderCommandOutput
6464
* responseTypes: [ // ResponseListType
6565
* "STRING_VALUE",
6666
* ],
67+
* tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
68+
* "STRING_VALUE",
69+
* ],
6770
* },
6871
* },
6972
* clientId: "STRING_VALUE", // required
@@ -88,7 +91,26 @@ export interface CreateOauth2CredentialProviderCommandOutput
8891
* microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigInput
8992
* clientId: "STRING_VALUE", // required
9093
* clientSecret: "STRING_VALUE", // required
94+
* tenantId: "STRING_VALUE",
9195
* },
96+
* atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigInput
97+
* clientId: "STRING_VALUE", // required
98+
* clientSecret: "STRING_VALUE", // required
99+
* },
100+
* linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigInput
101+
* clientId: "STRING_VALUE", // required
102+
* clientSecret: "STRING_VALUE", // required
103+
* },
104+
* includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigInput
105+
* clientId: "STRING_VALUE", // required
106+
* clientSecret: "STRING_VALUE", // required
107+
* issuer: "STRING_VALUE",
108+
* authorizationEndpoint: "STRING_VALUE",
109+
* tokenEndpoint: "STRING_VALUE",
110+
* },
111+
* },
112+
* tags: { // TagsMap
113+
* "<keys>": "STRING_VALUE",
92114
* },
93115
* };
94116
* const command = new CreateOauth2CredentialProviderCommand(input);
@@ -99,6 +121,110 @@ export interface CreateOauth2CredentialProviderCommandOutput
99121
* // },
100122
* // name: "STRING_VALUE", // required
101123
* // credentialProviderArn: "STRING_VALUE", // required
124+
* // callbackUrl: "STRING_VALUE",
125+
* // oauth2ProviderConfigOutput: { // Oauth2ProviderConfigOutput Union: only one key present
126+
* // customOauth2ProviderConfig: { // CustomOauth2ProviderConfigOutput
127+
* // oauthDiscovery: { // Oauth2Discovery Union: only one key present
128+
* // discoveryUrl: "STRING_VALUE",
129+
* // authorizationServerMetadata: { // Oauth2AuthorizationServerMetadata
130+
* // issuer: "STRING_VALUE", // required
131+
* // authorizationEndpoint: "STRING_VALUE", // required
132+
* // tokenEndpoint: "STRING_VALUE", // required
133+
* // responseTypes: [ // ResponseListType
134+
* // "STRING_VALUE",
135+
* // ],
136+
* // tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
137+
* // "STRING_VALUE",
138+
* // ],
139+
* // },
140+
* // },
141+
* // clientId: "STRING_VALUE",
142+
* // },
143+
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
144+
* // oauthDiscovery: {// Union: only one key present
145+
* // discoveryUrl: "STRING_VALUE",
146+
* // authorizationServerMetadata: {
147+
* // issuer: "STRING_VALUE", // required
148+
* // authorizationEndpoint: "STRING_VALUE", // required
149+
* // tokenEndpoint: "STRING_VALUE", // required
150+
* // responseTypes: [
151+
* // "STRING_VALUE",
152+
* // ],
153+
* // tokenEndpointAuthMethods: [
154+
* // "STRING_VALUE",
155+
* // ],
156+
* // },
157+
* // },
158+
* // clientId: "STRING_VALUE",
159+
* // },
160+
* // githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigOutput
161+
* // oauthDiscovery: {// Union: only one key present
162+
* // discoveryUrl: "STRING_VALUE",
163+
* // authorizationServerMetadata: {
164+
* // issuer: "STRING_VALUE", // required
165+
* // authorizationEndpoint: "STRING_VALUE", // required
166+
* // tokenEndpoint: "STRING_VALUE", // required
167+
* // responseTypes: [
168+
* // "STRING_VALUE",
169+
* // ],
170+
* // tokenEndpointAuthMethods: [
171+
* // "STRING_VALUE",
172+
* // ],
173+
* // },
174+
* // },
175+
* // clientId: "STRING_VALUE",
176+
* // },
177+
* // slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigOutput
178+
* // oauthDiscovery: {// Union: only one key present
179+
* // discoveryUrl: "STRING_VALUE",
180+
* // authorizationServerMetadata: {
181+
* // issuer: "STRING_VALUE", // required
182+
* // authorizationEndpoint: "STRING_VALUE", // required
183+
* // tokenEndpoint: "STRING_VALUE", // required
184+
* // responseTypes: [
185+
* // "STRING_VALUE",
186+
* // ],
187+
* // tokenEndpointAuthMethods: [
188+
* // "STRING_VALUE",
189+
* // ],
190+
* // },
191+
* // },
192+
* // clientId: "STRING_VALUE",
193+
* // },
194+
* // salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigOutput
195+
* // oauthDiscovery: {// Union: only one key present
196+
* // discoveryUrl: "STRING_VALUE",
197+
* // authorizationServerMetadata: {
198+
* // issuer: "STRING_VALUE", // required
199+
* // authorizationEndpoint: "STRING_VALUE", // required
200+
* // tokenEndpoint: "STRING_VALUE", // required
201+
* // responseTypes: [
202+
* // "STRING_VALUE",
203+
* // ],
204+
* // tokenEndpointAuthMethods: [
205+
* // "STRING_VALUE",
206+
* // ],
207+
* // },
208+
* // },
209+
* // clientId: "STRING_VALUE",
210+
* // },
211+
* // microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigOutput
212+
* // oauthDiscovery: "<Oauth2Discovery>", // required
213+
* // clientId: "STRING_VALUE",
214+
* // },
215+
* // atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigOutput
216+
* // oauthDiscovery: "<Oauth2Discovery>", // required
217+
* // clientId: "STRING_VALUE",
218+
* // },
219+
* // linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigOutput
220+
* // oauthDiscovery: "<Oauth2Discovery>", // required
221+
* // clientId: "STRING_VALUE",
222+
* // },
223+
* // includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigOutput
224+
* // oauthDiscovery: "<Oauth2Discovery>", // required
225+
* // clientId: "STRING_VALUE",
226+
* // },
227+
* // },
102228
* // };
103229
*
104230
* ```

clients/client-bedrock-agentcore-control/src/commands/CreateWorkloadIdentityCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export interface CreateWorkloadIdentityCommandOutput extends CreateWorkloadIdent
4646
* allowedResourceOauth2ReturnUrls: [ // ResourceOauth2ReturnUrlListType
4747
* "STRING_VALUE",
4848
* ],
49+
* tags: { // TagsMap
50+
* "<keys>": "STRING_VALUE",
51+
* },
4952
* };
5053
* const command = new CreateWorkloadIdentityCommand(input);
5154
* const response = await client.send(command);

clients/client-bedrock-agentcore-control/src/commands/DeleteAgentRuntimeCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface DeleteAgentRuntimeCommandOutput extends DeleteAgentRuntimeRespo
4848
* const response = await client.send(command);
4949
* // { // DeleteAgentRuntimeResponse
5050
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
51+
* // agentRuntimeId: "STRING_VALUE",
5152
* // };
5253
*
5354
* ```

clients/client-bedrock-agentcore-control/src/commands/DeleteAgentRuntimeEndpointCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
DeleteAgentRuntimeEndpointRequest,
1515
DeleteAgentRuntimeEndpointRequestFilterSensitiveLog,
1616
DeleteAgentRuntimeEndpointResponse,
17+
DeleteAgentRuntimeEndpointResponseFilterSensitiveLog,
1718
} from "../models/models_0";
1819
import { de_DeleteAgentRuntimeEndpointCommand, se_DeleteAgentRuntimeEndpointCommand } from "../protocols/Aws_restJson1";
1920

@@ -54,6 +55,8 @@ export interface DeleteAgentRuntimeEndpointCommandOutput extends DeleteAgentRunt
5455
* const response = await client.send(command);
5556
* // { // DeleteAgentRuntimeEndpointResponse
5657
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
58+
* // agentRuntimeId: "STRING_VALUE",
59+
* // endpointName: "STRING_VALUE",
5760
* // };
5861
*
5962
* ```
@@ -102,7 +105,7 @@ export class DeleteAgentRuntimeEndpointCommand extends $Command
102105
})
103106
.s("AmazonBedrockAgentCoreControl", "DeleteAgentRuntimeEndpoint", {})
104107
.n("BedrockAgentCoreControlClient", "DeleteAgentRuntimeEndpointCommand")
105-
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, void 0)
108+
.f(DeleteAgentRuntimeEndpointRequestFilterSensitiveLog, DeleteAgentRuntimeEndpointResponseFilterSensitiveLog)
106109
.ser(se_DeleteAgentRuntimeEndpointCommand)
107110
.de(de_DeleteAgentRuntimeEndpointCommand)
108111
.build() {

clients/client-bedrock-agentcore-control/src/commands/GetOauth2CredentialProviderCommand.ts

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ export interface GetOauth2CredentialProviderCommandOutput
5757
* // },
5858
* // name: "STRING_VALUE", // required
5959
* // credentialProviderArn: "STRING_VALUE", // required
60-
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
60+
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2" || "AtlassianOauth2" || "LinkedinOauth2" || "XOauth2" || "OktaOauth2" || "OneLoginOauth2" || "PingOneOauth2" || "FacebookOauth2" || "YandexOauth2" || "RedditOauth2" || "ZoomOauth2" || "TwitchOauth2" || "SpotifyOauth2" || "DropboxOauth2" || "NotionOauth2" || "HubspotOauth2" || "CyberArkOauth2" || "FusionAuthOauth2" || "Auth0Oauth2" || "CognitoOauth2", // required
61+
* // callbackUrl: "STRING_VALUE",
6162
* // oauth2ProviderConfigOutput: { // Oauth2ProviderConfigOutput Union: only one key present
6263
* // customOauth2ProviderConfig: { // CustomOauth2ProviderConfigOutput
6364
* // oauthDiscovery: { // Oauth2Discovery Union: only one key present
@@ -69,8 +70,12 @@ export interface GetOauth2CredentialProviderCommandOutput
6970
* // responseTypes: [ // ResponseListType
7071
* // "STRING_VALUE",
7172
* // ],
73+
* // tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
74+
* // "STRING_VALUE",
75+
* // ],
7276
* // },
7377
* // },
78+
* // clientId: "STRING_VALUE",
7479
* // },
7580
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
7681
* // oauthDiscovery: {// Union: only one key present
@@ -82,8 +87,12 @@ export interface GetOauth2CredentialProviderCommandOutput
8287
* // responseTypes: [
8388
* // "STRING_VALUE",
8489
* // ],
90+
* // tokenEndpointAuthMethods: [
91+
* // "STRING_VALUE",
92+
* // ],
8593
* // },
8694
* // },
95+
* // clientId: "STRING_VALUE",
8796
* // },
8897
* // githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigOutput
8998
* // oauthDiscovery: {// Union: only one key present
@@ -95,8 +104,12 @@ export interface GetOauth2CredentialProviderCommandOutput
95104
* // responseTypes: [
96105
* // "STRING_VALUE",
97106
* // ],
107+
* // tokenEndpointAuthMethods: [
108+
* // "STRING_VALUE",
109+
* // ],
98110
* // },
99111
* // },
112+
* // clientId: "STRING_VALUE",
100113
* // },
101114
* // slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigOutput
102115
* // oauthDiscovery: {// Union: only one key present
@@ -108,8 +121,12 @@ export interface GetOauth2CredentialProviderCommandOutput
108121
* // responseTypes: [
109122
* // "STRING_VALUE",
110123
* // ],
124+
* // tokenEndpointAuthMethods: [
125+
* // "STRING_VALUE",
126+
* // ],
111127
* // },
112128
* // },
129+
* // clientId: "STRING_VALUE",
113130
* // },
114131
* // salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigOutput
115132
* // oauthDiscovery: {// Union: only one key present
@@ -121,11 +138,28 @@ export interface GetOauth2CredentialProviderCommandOutput
121138
* // responseTypes: [
122139
* // "STRING_VALUE",
123140
* // ],
141+
* // tokenEndpointAuthMethods: [
142+
* // "STRING_VALUE",
143+
* // ],
124144
* // },
125145
* // },
146+
* // clientId: "STRING_VALUE",
126147
* // },
127148
* // microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigOutput
128149
* // oauthDiscovery: "<Oauth2Discovery>", // required
150+
* // clientId: "STRING_VALUE",
151+
* // },
152+
* // atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigOutput
153+
* // oauthDiscovery: "<Oauth2Discovery>", // required
154+
* // clientId: "STRING_VALUE",
155+
* // },
156+
* // linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigOutput
157+
* // oauthDiscovery: "<Oauth2Discovery>", // required
158+
* // clientId: "STRING_VALUE",
159+
* // },
160+
* // includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigOutput
161+
* // oauthDiscovery: "<Oauth2Discovery>", // required
162+
* // clientId: "STRING_VALUE",
129163
* // },
130164
* // },
131165
* // createdTime: new Date("TIMESTAMP"), // required

clients/client-bedrock-agentcore-control/src/commands/ListOauth2CredentialProvidersCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface ListOauth2CredentialProvidersCommandOutput
5656
* // credentialProviders: [ // Oauth2CredentialProviders // required
5757
* // { // Oauth2CredentialProviderItem
5858
* // name: "STRING_VALUE", // required
59-
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
59+
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2" || "AtlassianOauth2" || "LinkedinOauth2" || "XOauth2" || "OktaOauth2" || "OneLoginOauth2" || "PingOneOauth2" || "FacebookOauth2" || "YandexOauth2" || "RedditOauth2" || "ZoomOauth2" || "TwitchOauth2" || "SpotifyOauth2" || "DropboxOauth2" || "NotionOauth2" || "HubspotOauth2" || "CyberArkOauth2" || "FusionAuthOauth2" || "Auth0Oauth2" || "CognitoOauth2", // required
6060
* // credentialProviderArn: "STRING_VALUE", // required
6161
* // createdTime: new Date("TIMESTAMP"), // required
6262
* // lastUpdatedTime: new Date("TIMESTAMP"), // required

0 commit comments

Comments
 (0)