@aws-sdk/client-bedrock-agentcore-control 3.908.0 → 3.910.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/dist-cjs/index.js +98 -18
- package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +2 -2
- package/dist-es/models/models_0.js +63 -0
- package/dist-es/protocols/Aws_restJson1.js +28 -16
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -0
- 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/GetOauth2CredentialProviderCommand.d.ts +35 -1
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +55 -2
- package/dist-types/models/models_0.d.ts +426 -32
- package/dist-types/ts3.4/models/models_0.d.ts +230 -11
- package/package.json +34 -34
|
@@ -56,6 +56,7 @@ export const se_CreateApiKeyCredentialProviderCommand = async (input, context) =
|
|
|
56
56
|
body = JSON.stringify(take(input, {
|
|
57
57
|
apiKey: [],
|
|
58
58
|
name: [],
|
|
59
|
+
tags: (_) => _json(_),
|
|
59
60
|
}));
|
|
60
61
|
b.m("POST").h(headers).b(body);
|
|
61
62
|
return b.build();
|
|
@@ -169,6 +170,7 @@ export const se_CreateOauth2CredentialProviderCommand = async (input, context) =
|
|
|
169
170
|
credentialProviderVendor: [],
|
|
170
171
|
name: [],
|
|
171
172
|
oauth2ProviderConfigInput: (_) => _json(_),
|
|
173
|
+
tags: (_) => _json(_),
|
|
172
174
|
}));
|
|
173
175
|
b.m("POST").h(headers).b(body);
|
|
174
176
|
return b.build();
|
|
@@ -183,6 +185,7 @@ export const se_CreateWorkloadIdentityCommand = async (input, context) => {
|
|
|
183
185
|
body = JSON.stringify(take(input, {
|
|
184
186
|
allowedResourceOauth2ReturnUrls: (_) => _json(_),
|
|
185
187
|
name: [],
|
|
188
|
+
tags: (_) => _json(_),
|
|
186
189
|
}));
|
|
187
190
|
b.m("POST").h(headers).b(body);
|
|
188
191
|
return b.build();
|
|
@@ -773,7 +776,7 @@ export const se_UpdateWorkloadIdentityCommand = async (input, context) => {
|
|
|
773
776
|
return b.build();
|
|
774
777
|
};
|
|
775
778
|
export const de_CreateAgentRuntimeCommand = async (output, context) => {
|
|
776
|
-
if (output.statusCode !==
|
|
779
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
777
780
|
return de_CommandError(output, context);
|
|
778
781
|
}
|
|
779
782
|
const contents = map({
|
|
@@ -792,7 +795,7 @@ export const de_CreateAgentRuntimeCommand = async (output, context) => {
|
|
|
792
795
|
return contents;
|
|
793
796
|
};
|
|
794
797
|
export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
795
|
-
if (output.statusCode !==
|
|
798
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
796
799
|
return de_CommandError(output, context);
|
|
797
800
|
}
|
|
798
801
|
const contents = map({
|
|
@@ -802,7 +805,9 @@ export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
802
805
|
const doc = take(data, {
|
|
803
806
|
agentRuntimeArn: __expectString,
|
|
804
807
|
agentRuntimeEndpointArn: __expectString,
|
|
808
|
+
agentRuntimeId: __expectString,
|
|
805
809
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
810
|
+
endpointName: __expectString,
|
|
806
811
|
status: __expectString,
|
|
807
812
|
targetVersion: __expectString,
|
|
808
813
|
});
|
|
@@ -810,7 +815,7 @@ export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
810
815
|
return contents;
|
|
811
816
|
};
|
|
812
817
|
export const de_CreateApiKeyCredentialProviderCommand = async (output, context) => {
|
|
813
|
-
if (output.statusCode !==
|
|
818
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
814
819
|
return de_CommandError(output, context);
|
|
815
820
|
}
|
|
816
821
|
const contents = map({
|
|
@@ -826,7 +831,7 @@ export const de_CreateApiKeyCredentialProviderCommand = async (output, context)
|
|
|
826
831
|
return contents;
|
|
827
832
|
};
|
|
828
833
|
export const de_CreateBrowserCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode !==
|
|
834
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
830
835
|
return de_CommandError(output, context);
|
|
831
836
|
}
|
|
832
837
|
const contents = map({
|
|
@@ -843,7 +848,7 @@ export const de_CreateBrowserCommand = async (output, context) => {
|
|
|
843
848
|
return contents;
|
|
844
849
|
};
|
|
845
850
|
export const de_CreateCodeInterpreterCommand = async (output, context) => {
|
|
846
|
-
if (output.statusCode !==
|
|
851
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
847
852
|
return de_CommandError(output, context);
|
|
848
853
|
}
|
|
849
854
|
const contents = map({
|
|
@@ -928,7 +933,7 @@ export const de_CreateMemoryCommand = async (output, context) => {
|
|
|
928
933
|
return contents;
|
|
929
934
|
};
|
|
930
935
|
export const de_CreateOauth2CredentialProviderCommand = async (output, context) => {
|
|
931
|
-
if (output.statusCode !==
|
|
936
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
932
937
|
return de_CommandError(output, context);
|
|
933
938
|
}
|
|
934
939
|
const contents = map({
|
|
@@ -936,15 +941,17 @@ export const de_CreateOauth2CredentialProviderCommand = async (output, context)
|
|
|
936
941
|
});
|
|
937
942
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
938
943
|
const doc = take(data, {
|
|
944
|
+
callbackUrl: __expectString,
|
|
939
945
|
clientSecretArn: _json,
|
|
940
946
|
credentialProviderArn: __expectString,
|
|
941
947
|
name: __expectString,
|
|
948
|
+
oauth2ProviderConfigOutput: (_) => _json(__expectUnion(_)),
|
|
942
949
|
});
|
|
943
950
|
Object.assign(contents, doc);
|
|
944
951
|
return contents;
|
|
945
952
|
};
|
|
946
953
|
export const de_CreateWorkloadIdentityCommand = async (output, context) => {
|
|
947
|
-
if (output.statusCode !==
|
|
954
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
948
955
|
return de_CommandError(output, context);
|
|
949
956
|
}
|
|
950
957
|
const contents = map({
|
|
@@ -960,7 +967,7 @@ export const de_CreateWorkloadIdentityCommand = async (output, context) => {
|
|
|
960
967
|
return contents;
|
|
961
968
|
};
|
|
962
969
|
export const de_DeleteAgentRuntimeCommand = async (output, context) => {
|
|
963
|
-
if (output.statusCode !==
|
|
970
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
964
971
|
return de_CommandError(output, context);
|
|
965
972
|
}
|
|
966
973
|
const contents = map({
|
|
@@ -968,13 +975,14 @@ export const de_DeleteAgentRuntimeCommand = async (output, context) => {
|
|
|
968
975
|
});
|
|
969
976
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
970
977
|
const doc = take(data, {
|
|
978
|
+
agentRuntimeId: __expectString,
|
|
971
979
|
status: __expectString,
|
|
972
980
|
});
|
|
973
981
|
Object.assign(contents, doc);
|
|
974
982
|
return contents;
|
|
975
983
|
};
|
|
976
984
|
export const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
|
|
977
|
-
if (output.statusCode !==
|
|
985
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
978
986
|
return de_CommandError(output, context);
|
|
979
987
|
}
|
|
980
988
|
const contents = map({
|
|
@@ -982,13 +990,15 @@ export const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
|
|
|
982
990
|
});
|
|
983
991
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
984
992
|
const doc = take(data, {
|
|
993
|
+
agentRuntimeId: __expectString,
|
|
994
|
+
endpointName: __expectString,
|
|
985
995
|
status: __expectString,
|
|
986
996
|
});
|
|
987
997
|
Object.assign(contents, doc);
|
|
988
998
|
return contents;
|
|
989
999
|
};
|
|
990
1000
|
export const de_DeleteApiKeyCredentialProviderCommand = async (output, context) => {
|
|
991
|
-
if (output.statusCode !==
|
|
1001
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
992
1002
|
return de_CommandError(output, context);
|
|
993
1003
|
}
|
|
994
1004
|
const contents = map({
|
|
@@ -998,7 +1008,7 @@ export const de_DeleteApiKeyCredentialProviderCommand = async (output, context)
|
|
|
998
1008
|
return contents;
|
|
999
1009
|
};
|
|
1000
1010
|
export const de_DeleteBrowserCommand = async (output, context) => {
|
|
1001
|
-
if (output.statusCode !==
|
|
1011
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1002
1012
|
return de_CommandError(output, context);
|
|
1003
1013
|
}
|
|
1004
1014
|
const contents = map({
|
|
@@ -1014,7 +1024,7 @@ export const de_DeleteBrowserCommand = async (output, context) => {
|
|
|
1014
1024
|
return contents;
|
|
1015
1025
|
};
|
|
1016
1026
|
export const de_DeleteCodeInterpreterCommand = async (output, context) => {
|
|
1017
|
-
if (output.statusCode !==
|
|
1027
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1018
1028
|
return de_CommandError(output, context);
|
|
1019
1029
|
}
|
|
1020
1030
|
const contents = map({
|
|
@@ -1078,7 +1088,7 @@ export const de_DeleteMemoryCommand = async (output, context) => {
|
|
|
1078
1088
|
return contents;
|
|
1079
1089
|
};
|
|
1080
1090
|
export const de_DeleteOauth2CredentialProviderCommand = async (output, context) => {
|
|
1081
|
-
if (output.statusCode !==
|
|
1091
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1082
1092
|
return de_CommandError(output, context);
|
|
1083
1093
|
}
|
|
1084
1094
|
const contents = map({
|
|
@@ -1088,7 +1098,7 @@ export const de_DeleteOauth2CredentialProviderCommand = async (output, context)
|
|
|
1088
1098
|
return contents;
|
|
1089
1099
|
};
|
|
1090
1100
|
export const de_DeleteWorkloadIdentityCommand = async (output, context) => {
|
|
1091
|
-
if (output.statusCode !==
|
|
1101
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1092
1102
|
return de_CommandError(output, context);
|
|
1093
1103
|
}
|
|
1094
1104
|
const contents = map({
|
|
@@ -1293,6 +1303,7 @@ export const de_GetOauth2CredentialProviderCommand = async (output, context) =>
|
|
|
1293
1303
|
});
|
|
1294
1304
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1295
1305
|
const doc = take(data, {
|
|
1306
|
+
callbackUrl: __expectString,
|
|
1296
1307
|
clientSecretArn: _json,
|
|
1297
1308
|
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1298
1309
|
credentialProviderArn: __expectString,
|
|
@@ -1568,7 +1579,7 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1568
1579
|
return contents;
|
|
1569
1580
|
};
|
|
1570
1581
|
export const de_UpdateAgentRuntimeCommand = async (output, context) => {
|
|
1571
|
-
if (output.statusCode !==
|
|
1582
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1572
1583
|
return de_CommandError(output, context);
|
|
1573
1584
|
}
|
|
1574
1585
|
const contents = map({
|
|
@@ -1588,7 +1599,7 @@ export const de_UpdateAgentRuntimeCommand = async (output, context) => {
|
|
|
1588
1599
|
return contents;
|
|
1589
1600
|
};
|
|
1590
1601
|
export const de_UpdateAgentRuntimeEndpointCommand = async (output, context) => {
|
|
1591
|
-
if (output.statusCode !==
|
|
1602
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1592
1603
|
return de_CommandError(output, context);
|
|
1593
1604
|
}
|
|
1594
1605
|
const contents = map({
|
|
@@ -1702,6 +1713,7 @@ export const de_UpdateOauth2CredentialProviderCommand = async (output, context)
|
|
|
1702
1713
|
});
|
|
1703
1714
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1704
1715
|
const doc = take(data, {
|
|
1716
|
+
callbackUrl: __expectString,
|
|
1705
1717
|
clientSecretArn: _json,
|
|
1706
1718
|
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1707
1719
|
credentialProviderArn: __expectString,
|
|
@@ -52,6 +52,8 @@ declare const CreateAgentRuntimeEndpointCommand_base: {
|
|
|
52
52
|
* // targetVersion: "STRING_VALUE", // required
|
|
53
53
|
* // agentRuntimeEndpointArn: "STRING_VALUE", // required
|
|
54
54
|
* // agentRuntimeArn: "STRING_VALUE", // required
|
|
55
|
+
* // agentRuntimeId: "STRING_VALUE",
|
|
56
|
+
* // endpointName: "STRING_VALUE",
|
|
55
57
|
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
|
|
56
58
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
57
59
|
* // };
|
|
@@ -39,6 +39,9 @@ declare const CreateApiKeyCredentialProviderCommand_base: {
|
|
|
39
39
|
* const input = { // CreateApiKeyCredentialProviderRequest
|
|
40
40
|
* name: "STRING_VALUE", // required
|
|
41
41
|
* apiKey: "STRING_VALUE", // required
|
|
42
|
+
* tags: { // TagsMap
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
42
45
|
* };
|
|
43
46
|
* const command = new CreateApiKeyCredentialProviderCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
@@ -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
|
* ```
|
|
@@ -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
|
|
@@ -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
|
|
@@ -38,7 +38,7 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
38
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
39
|
* const input = { // UpdateOauth2CredentialProviderRequest
|
|
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 UpdateOauth2CredentialProviderCommand_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,6 +77,22 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
74
77
|
* microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigInput
|
|
75
78
|
* clientId: "STRING_VALUE", // required
|
|
76
79
|
* clientSecret: "STRING_VALUE", // required
|
|
80
|
+
* tenantId: "STRING_VALUE",
|
|
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",
|
|
77
96
|
* },
|
|
78
97
|
* },
|
|
79
98
|
* };
|
|
@@ -84,8 +103,9 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
84
103
|
* // secretArn: "STRING_VALUE", // required
|
|
85
104
|
* // },
|
|
86
105
|
* // name: "STRING_VALUE", // required
|
|
87
|
-
* // credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
|
|
106
|
+
* // 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
|
|
88
107
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
108
|
+
* // callbackUrl: "STRING_VALUE",
|
|
89
109
|
* // oauth2ProviderConfigOutput: { // Oauth2ProviderConfigOutput Union: only one key present
|
|
90
110
|
* // customOauth2ProviderConfig: { // CustomOauth2ProviderConfigOutput
|
|
91
111
|
* // oauthDiscovery: { // Oauth2Discovery Union: only one key present
|
|
@@ -97,8 +117,12 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
97
117
|
* // responseTypes: [ // ResponseListType
|
|
98
118
|
* // "STRING_VALUE",
|
|
99
119
|
* // ],
|
|
120
|
+
* // tokenEndpointAuthMethods: [ // TokenEndpointAuthMethodsType
|
|
121
|
+
* // "STRING_VALUE",
|
|
122
|
+
* // ],
|
|
100
123
|
* // },
|
|
101
124
|
* // },
|
|
125
|
+
* // clientId: "STRING_VALUE",
|
|
102
126
|
* // },
|
|
103
127
|
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
|
|
104
128
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -110,8 +134,12 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
110
134
|
* // responseTypes: [
|
|
111
135
|
* // "STRING_VALUE",
|
|
112
136
|
* // ],
|
|
137
|
+
* // tokenEndpointAuthMethods: [
|
|
138
|
+
* // "STRING_VALUE",
|
|
139
|
+
* // ],
|
|
113
140
|
* // },
|
|
114
141
|
* // },
|
|
142
|
+
* // clientId: "STRING_VALUE",
|
|
115
143
|
* // },
|
|
116
144
|
* // githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigOutput
|
|
117
145
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -123,8 +151,12 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
123
151
|
* // responseTypes: [
|
|
124
152
|
* // "STRING_VALUE",
|
|
125
153
|
* // ],
|
|
154
|
+
* // tokenEndpointAuthMethods: [
|
|
155
|
+
* // "STRING_VALUE",
|
|
156
|
+
* // ],
|
|
126
157
|
* // },
|
|
127
158
|
* // },
|
|
159
|
+
* // clientId: "STRING_VALUE",
|
|
128
160
|
* // },
|
|
129
161
|
* // slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigOutput
|
|
130
162
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -136,8 +168,12 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
136
168
|
* // responseTypes: [
|
|
137
169
|
* // "STRING_VALUE",
|
|
138
170
|
* // ],
|
|
171
|
+
* // tokenEndpointAuthMethods: [
|
|
172
|
+
* // "STRING_VALUE",
|
|
173
|
+
* // ],
|
|
139
174
|
* // },
|
|
140
175
|
* // },
|
|
176
|
+
* // clientId: "STRING_VALUE",
|
|
141
177
|
* // },
|
|
142
178
|
* // salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigOutput
|
|
143
179
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -149,11 +185,28 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
149
185
|
* // responseTypes: [
|
|
150
186
|
* // "STRING_VALUE",
|
|
151
187
|
* // ],
|
|
188
|
+
* // tokenEndpointAuthMethods: [
|
|
189
|
+
* // "STRING_VALUE",
|
|
190
|
+
* // ],
|
|
152
191
|
* // },
|
|
153
192
|
* // },
|
|
193
|
+
* // clientId: "STRING_VALUE",
|
|
154
194
|
* // },
|
|
155
195
|
* // microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigOutput
|
|
156
196
|
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
197
|
+
* // clientId: "STRING_VALUE",
|
|
198
|
+
* // },
|
|
199
|
+
* // atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigOutput
|
|
200
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
201
|
+
* // clientId: "STRING_VALUE",
|
|
202
|
+
* // },
|
|
203
|
+
* // linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigOutput
|
|
204
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
205
|
+
* // clientId: "STRING_VALUE",
|
|
206
|
+
* // },
|
|
207
|
+
* // includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigOutput
|
|
208
|
+
* // oauthDiscovery: "<Oauth2Discovery>", // required
|
|
209
|
+
* // clientId: "STRING_VALUE",
|
|
157
210
|
* // },
|
|
158
211
|
* // },
|
|
159
212
|
* // createdTime: new Date("TIMESTAMP"), // required
|