@aws-sdk/client-bedrock-agentcore-control 3.907.0 → 3.909.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 +8 -0
- package/dist-cjs/index.js +234 -21
- package/dist-es/BedrockAgentCoreControl.js +2 -0
- package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/SynchronizeGatewayTargetsCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +115 -0
- package/dist-es/protocols/Aws_restJson1.js +91 -19
- package/dist-types/BedrockAgentCoreControl.d.ts +7 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +3 -2
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +41 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +127 -1
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +5 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +21 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +35 -1
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +192 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +61 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +55 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +899 -51
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +418 -13
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +14 -14
|
@@ -38,7 +38,7 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
38
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
39
|
* const input = { // CreateOauth2CredentialProviderRequest
|
|
40
40
|
* name: "STRING_VALUE", // required
|
|
41
|
-
* credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
|
|
41
|
+
* 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
|
|
42
42
|
* oauth2ProviderConfigInput: { // Oauth2ProviderConfigInput Union: only one key present
|
|
43
43
|
* customOauth2ProviderConfig: { // CustomOauth2ProviderConfigInput
|
|
44
44
|
* oauthDiscovery: { // Oauth2Discovery Union: only one key present
|
|
@@ -50,6 +50,9 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
50
50
|
* responseTypes: [ // ResponseListType
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
|
+
* tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
53
56
|
* },
|
|
54
57
|
* },
|
|
55
58
|
* clientId: "STRING_VALUE", // required
|
|
@@ -74,7 +77,26 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
74
77
|
* microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigInput
|
|
75
78
|
* clientId: "STRING_VALUE", // required
|
|
76
79
|
* clientSecret: "STRING_VALUE", // required
|
|
80
|
+
* tenantId: "STRING_VALUE",
|
|
77
81
|
* },
|
|
82
|
+
* atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigInput
|
|
83
|
+
* clientId: "STRING_VALUE", // required
|
|
84
|
+
* clientSecret: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigInput
|
|
87
|
+
* clientId: "STRING_VALUE", // required
|
|
88
|
+
* clientSecret: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigInput
|
|
91
|
+
* clientId: "STRING_VALUE", // required
|
|
92
|
+
* clientSecret: "STRING_VALUE", // required
|
|
93
|
+
* issuer: "STRING_VALUE",
|
|
94
|
+
* authorizationEndpoint: "STRING_VALUE",
|
|
95
|
+
* tokenEndpoint: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* tags: { // TagsMap
|
|
99
|
+
* "<keys>": "STRING_VALUE",
|
|
78
100
|
* },
|
|
79
101
|
* };
|
|
80
102
|
* const command = new CreateOauth2CredentialProviderCommand(input);
|
|
@@ -85,6 +107,110 @@ declare const CreateOauth2CredentialProviderCommand_base: {
|
|
|
85
107
|
* // },
|
|
86
108
|
* // name: "STRING_VALUE", // required
|
|
87
109
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
110
|
+
* // callbackUrl: "STRING_VALUE",
|
|
111
|
+
* // oauth2ProviderConfigOutput: { // Oauth2ProviderConfigOutput Union: only one key present
|
|
112
|
+
* // customOauth2ProviderConfig: { // CustomOauth2ProviderConfigOutput
|
|
113
|
+
* // oauthDiscovery: { // Oauth2Discovery Union: only one key present
|
|
114
|
+
* // discoveryUrl: "STRING_VALUE",
|
|
115
|
+
* // authorizationServerMetadata: { // Oauth2AuthorizationServerMetadata
|
|
116
|
+
* // issuer: "STRING_VALUE", // required
|
|
117
|
+
* // authorizationEndpoint: "STRING_VALUE", // required
|
|
118
|
+
* // tokenEndpoint: "STRING_VALUE", // required
|
|
119
|
+
* // responseTypes: [ // ResponseListType
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
|
|
123
|
+
* // "STRING_VALUE",
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // clientId: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
|
|
130
|
+
* // oauthDiscovery: {// Union: only one key present
|
|
131
|
+
* // discoveryUrl: "STRING_VALUE",
|
|
132
|
+
* // authorizationServerMetadata: {
|
|
133
|
+
* // issuer: "STRING_VALUE", // required
|
|
134
|
+
* // authorizationEndpoint: "STRING_VALUE", // required
|
|
135
|
+
* // tokenEndpoint: "STRING_VALUE", // required
|
|
136
|
+
* // responseTypes: [
|
|
137
|
+
* // "STRING_VALUE",
|
|
138
|
+
* // ],
|
|
139
|
+
* // tokenEndpointAuthMethods: [
|
|
140
|
+
* // "STRING_VALUE",
|
|
141
|
+
* // ],
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // clientId: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigOutput
|
|
147
|
+
* // oauthDiscovery: {// Union: only one key present
|
|
148
|
+
* // discoveryUrl: "STRING_VALUE",
|
|
149
|
+
* // authorizationServerMetadata: {
|
|
150
|
+
* // issuer: "STRING_VALUE", // required
|
|
151
|
+
* // authorizationEndpoint: "STRING_VALUE", // required
|
|
152
|
+
* // tokenEndpoint: "STRING_VALUE", // required
|
|
153
|
+
* // responseTypes: [
|
|
154
|
+
* // "STRING_VALUE",
|
|
155
|
+
* // ],
|
|
156
|
+
* // tokenEndpointAuthMethods: [
|
|
157
|
+
* // "STRING_VALUE",
|
|
158
|
+
* // ],
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
161
|
+
* // clientId: "STRING_VALUE",
|
|
162
|
+
* // },
|
|
163
|
+
* // slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigOutput
|
|
164
|
+
* // oauthDiscovery: {// Union: only one key present
|
|
165
|
+
* // discoveryUrl: "STRING_VALUE",
|
|
166
|
+
* // authorizationServerMetadata: {
|
|
167
|
+
* // issuer: "STRING_VALUE", // required
|
|
168
|
+
* // authorizationEndpoint: "STRING_VALUE", // required
|
|
169
|
+
* // tokenEndpoint: "STRING_VALUE", // required
|
|
170
|
+
* // responseTypes: [
|
|
171
|
+
* // "STRING_VALUE",
|
|
172
|
+
* // ],
|
|
173
|
+
* // tokenEndpointAuthMethods: [
|
|
174
|
+
* // "STRING_VALUE",
|
|
175
|
+
* // ],
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // clientId: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigOutput
|
|
181
|
+
* // oauthDiscovery: {// Union: only one key present
|
|
182
|
+
* // discoveryUrl: "STRING_VALUE",
|
|
183
|
+
* // authorizationServerMetadata: {
|
|
184
|
+
* // issuer: "STRING_VALUE", // required
|
|
185
|
+
* // authorizationEndpoint: "STRING_VALUE", // required
|
|
186
|
+
* // tokenEndpoint: "STRING_VALUE", // required
|
|
187
|
+
* // responseTypes: [
|
|
188
|
+
* // "STRING_VALUE",
|
|
189
|
+
* // ],
|
|
190
|
+
* // tokenEndpointAuthMethods: [
|
|
191
|
+
* // "STRING_VALUE",
|
|
192
|
+
* // ],
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // clientId: "STRING_VALUE",
|
|
196
|
+
* // },
|
|
197
|
+
* // microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigOutput
|
|
198
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
199
|
+
* // clientId: "STRING_VALUE",
|
|
200
|
+
* // },
|
|
201
|
+
* // atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigOutput
|
|
202
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
203
|
+
* // clientId: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
205
|
+
* // linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigOutput
|
|
206
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
207
|
+
* // clientId: "STRING_VALUE",
|
|
208
|
+
* // },
|
|
209
|
+
* // includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigOutput
|
|
210
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
211
|
+
* // clientId: "STRING_VALUE",
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
88
214
|
* // };
|
|
89
215
|
*
|
|
90
216
|
* ```
|
|
@@ -41,6 +41,9 @@ declare const CreateWorkloadIdentityCommand_base: {
|
|
|
41
41
|
* allowedResourceOauth2ReturnUrls: [ // ResourceOauth2ReturnUrlListType
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
|
+
* tags: { // TagsMap
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
44
47
|
* };
|
|
45
48
|
* const command = new CreateWorkloadIdentityCommand(input);
|
|
46
49
|
* const response = await client.send(command);
|
|
@@ -43,6 +43,7 @@ declare const DeleteAgentRuntimeCommand_base: {
|
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // DeleteAgentRuntimeResponse
|
|
45
45
|
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
|
|
46
|
+
* // agentRuntimeId: "STRING_VALUE",
|
|
46
47
|
* // };
|
|
47
48
|
*
|
|
48
49
|
* ```
|
|
@@ -45,6 +45,8 @@ declare const DeleteAgentRuntimeEndpointCommand_base: {
|
|
|
45
45
|
* const response = await client.send(command);
|
|
46
46
|
* // { // DeleteAgentRuntimeEndpointResponse
|
|
47
47
|
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
|
|
48
|
+
* // agentRuntimeId: "STRING_VALUE",
|
|
49
|
+
* // endpointName: "STRING_VALUE",
|
|
48
50
|
* // };
|
|
49
51
|
*
|
|
50
52
|
* ```
|
|
@@ -45,7 +45,7 @@ declare const DeleteGatewayTargetCommand_base: {
|
|
|
45
45
|
* // { // DeleteGatewayTargetResponse
|
|
46
46
|
* // gatewayArn: "STRING_VALUE", // required
|
|
47
47
|
* // targetId: "STRING_VALUE", // required
|
|
48
|
-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
|
|
48
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
|
|
49
49
|
* // statusReasons: [ // StatusReasons
|
|
50
50
|
* // "STRING_VALUE",
|
|
51
51
|
* // ],
|
|
@@ -47,7 +47,7 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
47
47
|
* // targetId: "STRING_VALUE", // required
|
|
48
48
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
49
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
|
|
50
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
|
|
51
51
|
* // statusReasons: [ // StatusReasons
|
|
52
52
|
* // "STRING_VALUE",
|
|
53
53
|
* // ],
|
|
@@ -106,6 +106,9 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
106
106
|
* // ],
|
|
107
107
|
* // },
|
|
108
108
|
* // },
|
|
109
|
+
* // mcpServer: { // McpServerTargetConfiguration
|
|
110
|
+
* // endpoint: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
109
112
|
* // },
|
|
110
113
|
* // },
|
|
111
114
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
@@ -130,6 +133,7 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
130
133
|
* // },
|
|
131
134
|
* // },
|
|
132
135
|
* // ],
|
|
136
|
+
* // lastSynchronizedAt: new Date("TIMESTAMP"),
|
|
133
137
|
* // };
|
|
134
138
|
*
|
|
135
139
|
* ```
|
|
@@ -60,7 +60,7 @@ declare const GetMemoryCommand_base: {
|
|
|
60
60
|
* // name: "STRING_VALUE", // required
|
|
61
61
|
* // description: "STRING_VALUE",
|
|
62
62
|
* // configuration: { // StrategyConfiguration
|
|
63
|
-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE",
|
|
63
|
+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
|
|
64
64
|
* // extraction: { // ExtractionConfiguration Union: only one key present
|
|
65
65
|
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
|
|
66
66
|
* // semanticExtractionOverride: { // SemanticExtractionOverride
|
|
@@ -89,6 +89,26 @@ declare const GetMemoryCommand_base: {
|
|
|
89
89
|
* // },
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
|
+
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
93
|
+
* // triggerConditions: [ // TriggerConditionsList // required
|
|
94
|
+
* // { // TriggerCondition Union: only one key present
|
|
95
|
+
* // messageBasedTrigger: { // MessageBasedTrigger
|
|
96
|
+
* // messageCount: Number("int"),
|
|
97
|
+
* // },
|
|
98
|
+
* // tokenBasedTrigger: { // TokenBasedTrigger
|
|
99
|
+
* // tokenCount: Number("int"),
|
|
100
|
+
* // },
|
|
101
|
+
* // timeBasedTrigger: { // TimeBasedTrigger
|
|
102
|
+
* // idleSessionTimeout: Number("int"),
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // invocationConfiguration: { // InvocationConfiguration
|
|
107
|
+
* // topicArn: "STRING_VALUE", // required
|
|
108
|
+
* // payloadDeliveryBucketName: "STRING_VALUE", // required
|
|
109
|
+
* // },
|
|
110
|
+
* // historicalContextWindowSize: Number("int"), // required
|
|
111
|
+
* // },
|
|
92
112
|
* // },
|
|
93
113
|
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
|
|
94
114
|
* // namespaces: [ // NamespacesList // required
|
|
@@ -47,7 +47,8 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
47
47
|
* // },
|
|
48
48
|
* // name: "STRING_VALUE", // required
|
|
49
49
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
50
|
-
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
|
|
50
|
+
* // 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
|
|
51
|
+
* // callbackUrl: "STRING_VALUE",
|
|
51
52
|
* // oauth2ProviderConfigOutput: { // Oauth2ProviderConfigOutput Union: only one key present
|
|
52
53
|
* // customOauth2ProviderConfig: { // CustomOauth2ProviderConfigOutput
|
|
53
54
|
* // oauthDiscovery: { // Oauth2Discovery Union: only one key present
|
|
@@ -59,8 +60,12 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
59
60
|
* // responseTypes: [ // ResponseListType
|
|
60
61
|
* // "STRING_VALUE",
|
|
61
62
|
* // ],
|
|
63
|
+
* // tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
62
66
|
* // },
|
|
63
67
|
* // },
|
|
68
|
+
* // clientId: "STRING_VALUE",
|
|
64
69
|
* // },
|
|
65
70
|
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
|
|
66
71
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -72,8 +77,12 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
72
77
|
* // responseTypes: [
|
|
73
78
|
* // "STRING_VALUE",
|
|
74
79
|
* // ],
|
|
80
|
+
* // tokenEndpointAuthMethods: [
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
75
83
|
* // },
|
|
76
84
|
* // },
|
|
85
|
+
* // clientId: "STRING_VALUE",
|
|
77
86
|
* // },
|
|
78
87
|
* // githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigOutput
|
|
79
88
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -85,8 +94,12 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
85
94
|
* // responseTypes: [
|
|
86
95
|
* // "STRING_VALUE",
|
|
87
96
|
* // ],
|
|
97
|
+
* // tokenEndpointAuthMethods: [
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
88
100
|
* // },
|
|
89
101
|
* // },
|
|
102
|
+
* // clientId: "STRING_VALUE",
|
|
90
103
|
* // },
|
|
91
104
|
* // slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigOutput
|
|
92
105
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -98,8 +111,12 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
98
111
|
* // responseTypes: [
|
|
99
112
|
* // "STRING_VALUE",
|
|
100
113
|
* // ],
|
|
114
|
+
* // tokenEndpointAuthMethods: [
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
101
117
|
* // },
|
|
102
118
|
* // },
|
|
119
|
+
* // clientId: "STRING_VALUE",
|
|
103
120
|
* // },
|
|
104
121
|
* // salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigOutput
|
|
105
122
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -111,11 +128,28 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
111
128
|
* // responseTypes: [
|
|
112
129
|
* // "STRING_VALUE",
|
|
113
130
|
* // ],
|
|
131
|
+
* // tokenEndpointAuthMethods: [
|
|
132
|
+
* // "STRING_VALUE",
|
|
133
|
+
* // ],
|
|
114
134
|
* // },
|
|
115
135
|
* // },
|
|
136
|
+
* // clientId: "STRING_VALUE",
|
|
116
137
|
* // },
|
|
117
138
|
* // microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigOutput
|
|
118
139
|
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
140
|
+
* // clientId: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigOutput
|
|
143
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
144
|
+
* // clientId: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigOutput
|
|
147
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
148
|
+
* // clientId: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigOutput
|
|
151
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
152
|
+
* // clientId: "STRING_VALUE",
|
|
119
153
|
* // },
|
|
120
154
|
* // },
|
|
121
155
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
@@ -48,7 +48,7 @@ declare const ListGatewayTargetsCommand_base: {
|
|
|
48
48
|
* // { // TargetSummary
|
|
49
49
|
* // targetId: "STRING_VALUE", // required
|
|
50
50
|
* // name: "STRING_VALUE", // required
|
|
51
|
-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
|
|
51
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
|
|
52
52
|
* // description: "STRING_VALUE",
|
|
53
53
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
54
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -46,7 +46,7 @@ declare const ListOauth2CredentialProvidersCommand_base: {
|
|
|
46
46
|
* // credentialProviders: [ // Oauth2CredentialProviders // required
|
|
47
47
|
* // { // Oauth2CredentialProviderItem
|
|
48
48
|
* // name: "STRING_VALUE", // required
|
|
49
|
-
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
|
|
49
|
+
* // 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
|
|
50
50
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
51
51
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // lastUpdatedTime: new Date("TIMESTAMP"), // required
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { SynchronizeGatewayTargetsRequest, SynchronizeGatewayTargetsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SynchronizeGatewayTargetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SynchronizeGatewayTargetsCommandInput extends SynchronizeGatewayTargetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SynchronizeGatewayTargetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SynchronizeGatewayTargetsCommandOutput extends SynchronizeGatewayTargetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SynchronizeGatewayTargetsCommand_base: {
|
|
25
|
+
new (input: SynchronizeGatewayTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<SynchronizeGatewayTargetsCommandInput, SynchronizeGatewayTargetsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SynchronizeGatewayTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<SynchronizeGatewayTargetsCommandInput, SynchronizeGatewayTargetsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The gateway targets.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, SynchronizeGatewayTargetsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, SynchronizeGatewayTargetsCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // SynchronizeGatewayTargetsRequest
|
|
40
|
+
* gatewayIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* targetIdList: [ // TargetIdList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new SynchronizeGatewayTargetsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // SynchronizeGatewayTargetsResponse
|
|
48
|
+
* // targets: [ // GatewayTargetList
|
|
49
|
+
* // { // GatewayTarget
|
|
50
|
+
* // gatewayArn: "STRING_VALUE", // required
|
|
51
|
+
* // targetId: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
|
|
55
|
+
* // statusReasons: [ // StatusReasons
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // name: "STRING_VALUE", // required
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // targetConfiguration: { // TargetConfiguration Union: only one key present
|
|
61
|
+
* // mcp: { // McpTargetConfiguration Union: only one key present
|
|
62
|
+
* // openApiSchema: { // ApiSchemaConfiguration Union: only one key present
|
|
63
|
+
* // s3: { // S3Configuration
|
|
64
|
+
* // uri: "STRING_VALUE",
|
|
65
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // inlinePayload: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // smithyModel: {// Union: only one key present
|
|
70
|
+
* // s3: {
|
|
71
|
+
* // uri: "STRING_VALUE",
|
|
72
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // inlinePayload: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // lambda: { // McpLambdaTargetConfiguration
|
|
77
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
78
|
+
* // toolSchema: { // ToolSchema Union: only one key present
|
|
79
|
+
* // s3: {
|
|
80
|
+
* // uri: "STRING_VALUE",
|
|
81
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // inlinePayload: [ // ToolDefinitions
|
|
84
|
+
* // { // ToolDefinition
|
|
85
|
+
* // name: "STRING_VALUE", // required
|
|
86
|
+
* // description: "STRING_VALUE", // required
|
|
87
|
+
* // inputSchema: { // SchemaDefinition
|
|
88
|
+
* // type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
89
|
+
* // properties: { // SchemaProperties
|
|
90
|
+
* // "<keys>": {
|
|
91
|
+
* // type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
92
|
+
* // properties: {
|
|
93
|
+
* // "<keys>": "<SchemaDefinition>",
|
|
94
|
+
* // },
|
|
95
|
+
* // required: [ // RequiredProperties
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // items: "<SchemaDefinition>",
|
|
99
|
+
* // description: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // required: [
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // items: "<SchemaDefinition>",
|
|
106
|
+
* // description: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // outputSchema: "<SchemaDefinition>",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // mcpServer: { // McpServerTargetConfiguration
|
|
114
|
+
* // endpoint: "STRING_VALUE", // required
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
119
|
+
* // { // CredentialProviderConfiguration
|
|
120
|
+
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
121
|
+
* // credentialProvider: { // CredentialProvider Union: only one key present
|
|
122
|
+
* // oauthCredentialProvider: { // OAuthCredentialProvider
|
|
123
|
+
* // providerArn: "STRING_VALUE", // required
|
|
124
|
+
* // scopes: [ // OAuthScopes // required
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // customParameters: { // OAuthCustomParameters
|
|
128
|
+
* // "<keys>": "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
131
|
+
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
132
|
+
* // providerArn: "STRING_VALUE", // required
|
|
133
|
+
* // credentialParameterName: "STRING_VALUE",
|
|
134
|
+
* // credentialPrefix: "STRING_VALUE",
|
|
135
|
+
* // credentialLocation: "HEADER" || "QUERY_PARAMETER",
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // lastSynchronizedAt: new Date("TIMESTAMP"),
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param SynchronizeGatewayTargetsCommandInput - {@link SynchronizeGatewayTargetsCommandInput}
|
|
148
|
+
* @returns {@link SynchronizeGatewayTargetsCommandOutput}
|
|
149
|
+
* @see {@link SynchronizeGatewayTargetsCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link SynchronizeGatewayTargetsCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
154
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ConflictException} (client fault)
|
|
157
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link InternalServerException} (server fault)
|
|
160
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
163
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
166
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
169
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link ValidationException} (client fault)
|
|
172
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
175
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
176
|
+
*
|
|
177
|
+
*
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export declare class SynchronizeGatewayTargetsCommand extends SynchronizeGatewayTargetsCommand_base {
|
|
181
|
+
/** @internal type navigation helper, not in runtime. */
|
|
182
|
+
protected static __types: {
|
|
183
|
+
api: {
|
|
184
|
+
input: SynchronizeGatewayTargetsRequest;
|
|
185
|
+
output: SynchronizeGatewayTargetsResponse;
|
|
186
|
+
};
|
|
187
|
+
sdk: {
|
|
188
|
+
input: SynchronizeGatewayTargetsCommandInput;
|
|
189
|
+
output: SynchronizeGatewayTargetsCommandOutput;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
}
|
|
@@ -94,9 +94,12 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
94
94
|
* ],
|
|
95
95
|
* },
|
|
96
96
|
* },
|
|
97
|
+
* mcpServer: { // McpServerTargetConfiguration
|
|
98
|
+
* endpoint: "STRING_VALUE", // required
|
|
99
|
+
* },
|
|
97
100
|
* },
|
|
98
101
|
* },
|
|
99
|
-
* credentialProviderConfigurations: [ // CredentialProviderConfigurations
|
|
102
|
+
* credentialProviderConfigurations: [ // CredentialProviderConfigurations
|
|
100
103
|
* { // CredentialProviderConfiguration
|
|
101
104
|
* credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
102
105
|
* credentialProvider: { // CredentialProvider Union: only one key present
|
|
@@ -126,7 +129,7 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
126
129
|
* // targetId: "STRING_VALUE", // required
|
|
127
130
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
128
131
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
129
|
-
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
|
|
132
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
|
|
130
133
|
* // statusReasons: [ // StatusReasons
|
|
131
134
|
* // "STRING_VALUE",
|
|
132
135
|
* // ],
|
|
@@ -185,6 +188,9 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
185
188
|
* // ],
|
|
186
189
|
* // },
|
|
187
190
|
* // },
|
|
191
|
+
* // mcpServer: { // McpServerTargetConfiguration
|
|
192
|
+
* // endpoint: "STRING_VALUE", // required
|
|
193
|
+
* // },
|
|
188
194
|
* // },
|
|
189
195
|
* // },
|
|
190
196
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
@@ -209,6 +215,7 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
209
215
|
* // },
|
|
210
216
|
* // },
|
|
211
217
|
* // ],
|
|
218
|
+
* // lastSynchronizedAt: new Date("TIMESTAMP"),
|
|
212
219
|
* // };
|
|
213
220
|
*
|
|
214
221
|
* ```
|