@aws-sdk/client-bedrock-agentcore-control 3.1056.0 → 3.1057.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +85 -64
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +77 -56
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +8 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +53 -18
- package/dist-types/commands/CreatePaymentCredentialProviderCommand.d.ts +32 -4
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +1 -2
- package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +2 -0
- package/dist-types/commands/GetPaymentCredentialProviderCommand.d.ts +8 -0
- package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +8 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +53 -18
- package/dist-types/commands/UpdatePaymentCredentialProviderCommand.d.ts +32 -4
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +69 -19
- package/dist-types/models/models_1.d.ts +234 -28
- package/dist-types/models/models_2.d.ts +10 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -7
- package/dist-types/ts3.4/models/models_1.d.ts +60 -18
- package/dist-types/ts3.4/models/models_2.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +2 -2
|
@@ -40,7 +40,12 @@ declare const UpdateApiKeyCredentialProviderCommand_base: {
|
|
|
40
40
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
41
41
|
* const input = { // UpdateApiKeyCredentialProviderRequest
|
|
42
42
|
* name: "STRING_VALUE", // required
|
|
43
|
-
* apiKey: "STRING_VALUE",
|
|
43
|
+
* apiKey: "STRING_VALUE",
|
|
44
|
+
* apiKeySecretConfig: { // SecretReference
|
|
45
|
+
* secretId: "STRING_VALUE", // required
|
|
46
|
+
* jsonKey: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* apiKeySecretSource: "MANAGED" || "EXTERNAL",
|
|
44
49
|
* };
|
|
45
50
|
* const command = new UpdateApiKeyCredentialProviderCommand(input);
|
|
46
51
|
* const response = await client.send(command);
|
|
@@ -48,6 +53,8 @@ declare const UpdateApiKeyCredentialProviderCommand_base: {
|
|
|
48
53
|
* // apiKeySecretArn: { // Secret
|
|
49
54
|
* // secretArn: "STRING_VALUE", // required
|
|
50
55
|
* // },
|
|
56
|
+
* // apiKeySecretJsonKey: "STRING_VALUE",
|
|
57
|
+
* // apiKeySecretSource: "MANAGED" || "EXTERNAL",
|
|
51
58
|
* // name: "STRING_VALUE", // required
|
|
52
59
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
53
60
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
@@ -59,6 +59,21 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
59
59
|
* },
|
|
60
60
|
* clientId: "STRING_VALUE",
|
|
61
61
|
* clientSecret: "STRING_VALUE",
|
|
62
|
+
* clientSecretConfig: { // SecretReference
|
|
63
|
+
* secretId: "STRING_VALUE", // required
|
|
64
|
+
* jsonKey: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
67
|
+
* onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
|
|
68
|
+
* grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
|
|
69
|
+
* tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
|
|
70
|
+
* actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
|
|
71
|
+
* actorTokenScopes: [ // ScopesListType
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
|
|
62
77
|
* privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
63
78
|
* selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
64
79
|
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
@@ -102,49 +117,67 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
102
117
|
* },
|
|
103
118
|
* },
|
|
104
119
|
* ],
|
|
105
|
-
* onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
|
|
106
|
-
* grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
|
|
107
|
-
* tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
|
|
108
|
-
* actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
|
|
109
|
-
* actorTokenScopes: [ // ScopesListType
|
|
110
|
-
* "STRING_VALUE",
|
|
111
|
-
* ],
|
|
112
|
-
* },
|
|
113
|
-
* },
|
|
114
|
-
* clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
|
|
115
120
|
* },
|
|
116
121
|
* googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigInput
|
|
117
122
|
* clientId: "STRING_VALUE", // required
|
|
118
|
-
* clientSecret: "STRING_VALUE",
|
|
123
|
+
* clientSecret: "STRING_VALUE",
|
|
124
|
+
* clientSecretConfig: {
|
|
125
|
+
* secretId: "STRING_VALUE", // required
|
|
126
|
+
* jsonKey: "STRING_VALUE", // required
|
|
127
|
+
* },
|
|
128
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
119
129
|
* },
|
|
120
130
|
* githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigInput
|
|
121
131
|
* clientId: "STRING_VALUE", // required
|
|
122
|
-
* clientSecret: "STRING_VALUE",
|
|
132
|
+
* clientSecret: "STRING_VALUE",
|
|
133
|
+
* clientSecretConfig: {
|
|
134
|
+
* secretId: "STRING_VALUE", // required
|
|
135
|
+
* jsonKey: "STRING_VALUE", // required
|
|
136
|
+
* },
|
|
137
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
123
138
|
* },
|
|
124
139
|
* slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigInput
|
|
125
140
|
* clientId: "STRING_VALUE", // required
|
|
126
|
-
* clientSecret: "STRING_VALUE",
|
|
141
|
+
* clientSecret: "STRING_VALUE",
|
|
142
|
+
* clientSecretConfig: {
|
|
143
|
+
* secretId: "STRING_VALUE", // required
|
|
144
|
+
* jsonKey: "STRING_VALUE", // required
|
|
145
|
+
* },
|
|
146
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
127
147
|
* },
|
|
128
148
|
* salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigInput
|
|
129
149
|
* clientId: "STRING_VALUE", // required
|
|
130
|
-
* clientSecret: "STRING_VALUE",
|
|
150
|
+
* clientSecret: "STRING_VALUE",
|
|
151
|
+
* clientSecretConfig: {
|
|
152
|
+
* secretId: "STRING_VALUE", // required
|
|
153
|
+
* jsonKey: "STRING_VALUE", // required
|
|
154
|
+
* },
|
|
155
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
131
156
|
* },
|
|
132
157
|
* microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigInput
|
|
133
158
|
* clientId: "STRING_VALUE", // required
|
|
134
|
-
* clientSecret: "STRING_VALUE",
|
|
159
|
+
* clientSecret: "STRING_VALUE",
|
|
160
|
+
* clientSecretConfig: "<SecretReference>",
|
|
161
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
135
162
|
* tenantId: "STRING_VALUE",
|
|
136
163
|
* },
|
|
137
164
|
* atlassianOauth2ProviderConfig: { // AtlassianOauth2ProviderConfigInput
|
|
138
165
|
* clientId: "STRING_VALUE", // required
|
|
139
|
-
* clientSecret: "STRING_VALUE",
|
|
166
|
+
* clientSecret: "STRING_VALUE",
|
|
167
|
+
* clientSecretConfig: "<SecretReference>",
|
|
168
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
140
169
|
* },
|
|
141
170
|
* linkedinOauth2ProviderConfig: { // LinkedinOauth2ProviderConfigInput
|
|
142
171
|
* clientId: "STRING_VALUE", // required
|
|
143
|
-
* clientSecret: "STRING_VALUE",
|
|
172
|
+
* clientSecret: "STRING_VALUE",
|
|
173
|
+
* clientSecretConfig: "<SecretReference>",
|
|
174
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
144
175
|
* },
|
|
145
176
|
* includedOauth2ProviderConfig: { // IncludedOauth2ProviderConfigInput
|
|
146
177
|
* clientId: "STRING_VALUE", // required
|
|
147
|
-
* clientSecret: "STRING_VALUE",
|
|
178
|
+
* clientSecret: "STRING_VALUE",
|
|
179
|
+
* clientSecretConfig: "<SecretReference>",
|
|
180
|
+
* clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
148
181
|
* issuer: "STRING_VALUE",
|
|
149
182
|
* authorizationEndpoint: "STRING_VALUE",
|
|
150
183
|
* tokenEndpoint: "STRING_VALUE",
|
|
@@ -157,6 +190,8 @@ declare const UpdateOauth2CredentialProviderCommand_base: {
|
|
|
157
190
|
* // clientSecretArn: { // Secret
|
|
158
191
|
* // secretArn: "STRING_VALUE", // required
|
|
159
192
|
* // },
|
|
193
|
+
* // clientSecretJsonKey: "STRING_VALUE",
|
|
194
|
+
* // clientSecretSource: "MANAGED" || "EXTERNAL",
|
|
160
195
|
* // name: "STRING_VALUE", // required
|
|
161
196
|
* // 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
|
|
162
197
|
* // credentialProviderArn: "STRING_VALUE", // required
|
|
@@ -44,13 +44,33 @@ declare const UpdatePaymentCredentialProviderCommand_base: {
|
|
|
44
44
|
* providerConfigurationInput: { // PaymentProviderConfigurationInput Union: only one key present
|
|
45
45
|
* coinbaseCdpConfiguration: { // CoinbaseCdpConfigurationInput
|
|
46
46
|
* apiKeyId: "STRING_VALUE", // required
|
|
47
|
-
* apiKeySecret: "STRING_VALUE",
|
|
48
|
-
*
|
|
47
|
+
* apiKeySecret: "STRING_VALUE",
|
|
48
|
+
* apiKeySecretSource: "MANAGED" || "EXTERNAL",
|
|
49
|
+
* apiKeySecretConfig: { // SecretReference
|
|
50
|
+
* secretId: "STRING_VALUE", // required
|
|
51
|
+
* jsonKey: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* walletSecret: "STRING_VALUE",
|
|
54
|
+
* walletSecretSource: "MANAGED" || "EXTERNAL",
|
|
55
|
+
* walletSecretConfig: {
|
|
56
|
+
* secretId: "STRING_VALUE", // required
|
|
57
|
+
* jsonKey: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
49
59
|
* },
|
|
50
60
|
* stripePrivyConfiguration: { // StripePrivyConfigurationInput
|
|
51
61
|
* appId: "STRING_VALUE", // required
|
|
52
|
-
* appSecret: "STRING_VALUE",
|
|
53
|
-
*
|
|
62
|
+
* appSecret: "STRING_VALUE",
|
|
63
|
+
* appSecretSource: "MANAGED" || "EXTERNAL",
|
|
64
|
+
* appSecretConfig: {
|
|
65
|
+
* secretId: "STRING_VALUE", // required
|
|
66
|
+
* jsonKey: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
68
|
+
* authorizationPrivateKey: "STRING_VALUE",
|
|
69
|
+
* authorizationPrivateKeySource: "MANAGED" || "EXTERNAL",
|
|
70
|
+
* authorizationPrivateKeyConfig: {
|
|
71
|
+
* secretId: "STRING_VALUE", // required
|
|
72
|
+
* jsonKey: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
54
74
|
* authorizationId: "STRING_VALUE", // required
|
|
55
75
|
* },
|
|
56
76
|
* },
|
|
@@ -67,18 +87,26 @@ declare const UpdatePaymentCredentialProviderCommand_base: {
|
|
|
67
87
|
* // apiKeySecretArn: { // Secret
|
|
68
88
|
* // secretArn: "STRING_VALUE", // required
|
|
69
89
|
* // },
|
|
90
|
+
* // apiKeySecretJsonKey: "STRING_VALUE",
|
|
91
|
+
* // apiKeySecretSource: "MANAGED" || "EXTERNAL",
|
|
70
92
|
* // walletSecretArn: {
|
|
71
93
|
* // secretArn: "STRING_VALUE", // required
|
|
72
94
|
* // },
|
|
95
|
+
* // walletSecretJsonKey: "STRING_VALUE",
|
|
96
|
+
* // walletSecretSource: "MANAGED" || "EXTERNAL",
|
|
73
97
|
* // },
|
|
74
98
|
* // stripePrivyConfiguration: { // StripePrivyConfigurationOutput
|
|
75
99
|
* // appId: "STRING_VALUE", // required
|
|
76
100
|
* // appSecretArn: {
|
|
77
101
|
* // secretArn: "STRING_VALUE", // required
|
|
78
102
|
* // },
|
|
103
|
+
* // appSecretJsonKey: "STRING_VALUE",
|
|
104
|
+
* // appSecretSource: "MANAGED" || "EXTERNAL",
|
|
79
105
|
* // authorizationPrivateKeyArn: {
|
|
80
106
|
* // secretArn: "STRING_VALUE", // required
|
|
81
107
|
* // },
|
|
108
|
+
* // authorizationPrivateKeyJsonKey: "STRING_VALUE",
|
|
109
|
+
* // authorizationPrivateKeySource: "MANAGED" || "EXTERNAL",
|
|
82
110
|
* // authorizationId: "STRING_VALUE", // required
|
|
83
111
|
* // },
|
|
84
112
|
* // },
|
|
@@ -184,6 +184,18 @@ export declare const AgentRuntimeStatus: {
|
|
|
184
184
|
* @public
|
|
185
185
|
*/
|
|
186
186
|
export type AgentRuntimeStatus = (typeof AgentRuntimeStatus)[keyof typeof AgentRuntimeStatus];
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* @enum
|
|
190
|
+
*/
|
|
191
|
+
export declare const SecretSourceType: {
|
|
192
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
193
|
+
readonly MANAGED: "MANAGED";
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export type SecretSourceType = (typeof SecretSourceType)[keyof typeof SecretSourceType];
|
|
187
199
|
/**
|
|
188
200
|
* @public
|
|
189
201
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessBedrockApiFormat, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode,
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessBedrockApiFormat, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode, NetworkMode, OAuthGrantType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, SecretSourceType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The agent card definition for an A2A descriptor. Contains the schema version and inline content for the agent card.</p>
|
|
5
5
|
* @public
|
|
@@ -1932,6 +1932,22 @@ export interface AgentSkillsDescriptor {
|
|
|
1932
1932
|
*/
|
|
1933
1933
|
skillDefinition?: SkillDefinition | undefined;
|
|
1934
1934
|
}
|
|
1935
|
+
/**
|
|
1936
|
+
* <p>Contains a reference to a secret stored in AWS Secrets Manager.</p>
|
|
1937
|
+
* @public
|
|
1938
|
+
*/
|
|
1939
|
+
export interface SecretReference {
|
|
1940
|
+
/**
|
|
1941
|
+
* <p>The ID of the AWS Secrets Manager secret that stores the secret value.</p>
|
|
1942
|
+
* @public
|
|
1943
|
+
*/
|
|
1944
|
+
secretId: string | undefined;
|
|
1945
|
+
/**
|
|
1946
|
+
* <p>The JSON key used to extract the secret value from the AWS Secrets Manager secret.</p>
|
|
1947
|
+
* @public
|
|
1948
|
+
*/
|
|
1949
|
+
jsonKey: string | undefined;
|
|
1950
|
+
}
|
|
1935
1951
|
/**
|
|
1936
1952
|
* @public
|
|
1937
1953
|
*/
|
|
@@ -1945,7 +1961,17 @@ export interface CreateApiKeyCredentialProviderRequest {
|
|
|
1945
1961
|
* <p>The API key to use for authentication. This value is encrypted and stored securely.</p>
|
|
1946
1962
|
* @public
|
|
1947
1963
|
*/
|
|
1948
|
-
apiKey
|
|
1964
|
+
apiKey?: string | undefined;
|
|
1965
|
+
/**
|
|
1966
|
+
* <p>A reference to the AWS Secrets Manager secret that stores the API key. This includes the secret ID and the JSON key used to extract the API key value from the secret. Required when <code>apiKeySecretSource</code> is set to <code>EXTERNAL</code>.</p>
|
|
1967
|
+
* @public
|
|
1968
|
+
*/
|
|
1969
|
+
apiKeySecretConfig?: SecretReference | undefined;
|
|
1970
|
+
/**
|
|
1971
|
+
* <p>The source type of the API key secret. Use <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if you manage the secret yourself in AWS Secrets Manager.</p>
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1974
|
+
apiKeySecretSource?: SecretSourceType | undefined;
|
|
1949
1975
|
/**
|
|
1950
1976
|
* <p>A map of tag keys and values to assign to the API key credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
1951
1977
|
* @public
|
|
@@ -1972,6 +1998,16 @@ export interface CreateApiKeyCredentialProviderResponse {
|
|
|
1972
1998
|
* @public
|
|
1973
1999
|
*/
|
|
1974
2000
|
apiKeySecretArn: Secret | undefined;
|
|
2001
|
+
/**
|
|
2002
|
+
* <p>The JSON key used to extract the API key value from the AWS Secrets Manager secret.</p>
|
|
2003
|
+
* @public
|
|
2004
|
+
*/
|
|
2005
|
+
apiKeySecretJsonKey?: string | undefined;
|
|
2006
|
+
/**
|
|
2007
|
+
* <p>The source type of the API key secret. Either <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if managed by the user in AWS Secrets Manager.</p>
|
|
2008
|
+
* @public
|
|
2009
|
+
*/
|
|
2010
|
+
apiKeySecretSource?: SecretSourceType | undefined;
|
|
1975
2011
|
/**
|
|
1976
2012
|
* <p>The name of the created API key credential provider.</p>
|
|
1977
2013
|
* @public
|
|
@@ -2017,6 +2053,16 @@ export interface GetApiKeyCredentialProviderResponse {
|
|
|
2017
2053
|
* @public
|
|
2018
2054
|
*/
|
|
2019
2055
|
apiKeySecretArn: Secret | undefined;
|
|
2056
|
+
/**
|
|
2057
|
+
* <p>The JSON key used to extract the API key value from the AWS Secrets Manager secret.</p>
|
|
2058
|
+
* @public
|
|
2059
|
+
*/
|
|
2060
|
+
apiKeySecretJsonKey?: string | undefined;
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The source type of the API key secret. Either <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if managed by the user in AWS Secrets Manager.</p>
|
|
2063
|
+
* @public
|
|
2064
|
+
*/
|
|
2065
|
+
apiKeySecretSource?: SecretSourceType | undefined;
|
|
2020
2066
|
/**
|
|
2021
2067
|
* <p>The name of the API key credential provider.</p>
|
|
2022
2068
|
* @public
|
|
@@ -2107,7 +2153,17 @@ export interface UpdateApiKeyCredentialProviderRequest {
|
|
|
2107
2153
|
* <p>The new API key to use for authentication. This value replaces the existing API key and is encrypted and stored securely.</p>
|
|
2108
2154
|
* @public
|
|
2109
2155
|
*/
|
|
2110
|
-
apiKey
|
|
2156
|
+
apiKey?: string | undefined;
|
|
2157
|
+
/**
|
|
2158
|
+
* <p>A reference to the AWS Secrets Manager secret that stores the API key. This includes the secret ID and the JSON key used to extract the API key value from the secret. Required when <code>apiKeySecretSource</code> is set to <code>EXTERNAL</code>.</p>
|
|
2159
|
+
* @public
|
|
2160
|
+
*/
|
|
2161
|
+
apiKeySecretConfig?: SecretReference | undefined;
|
|
2162
|
+
/**
|
|
2163
|
+
* <p>The source type of the API key secret. Use <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if you manage the secret yourself in AWS Secrets Manager.</p>
|
|
2164
|
+
* @public
|
|
2165
|
+
*/
|
|
2166
|
+
apiKeySecretSource?: SecretSourceType | undefined;
|
|
2111
2167
|
}
|
|
2112
2168
|
/**
|
|
2113
2169
|
* @public
|
|
@@ -2118,6 +2174,16 @@ export interface UpdateApiKeyCredentialProviderResponse {
|
|
|
2118
2174
|
* @public
|
|
2119
2175
|
*/
|
|
2120
2176
|
apiKeySecretArn: Secret | undefined;
|
|
2177
|
+
/**
|
|
2178
|
+
* <p>The JSON key used to extract the API key value from the AWS Secrets Manager secret.</p>
|
|
2179
|
+
* @public
|
|
2180
|
+
*/
|
|
2181
|
+
apiKeySecretJsonKey?: string | undefined;
|
|
2182
|
+
/**
|
|
2183
|
+
* <p>The source type of the API key secret. Either <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if managed by the user in AWS Secrets Manager.</p>
|
|
2184
|
+
* @public
|
|
2185
|
+
*/
|
|
2186
|
+
apiKeySecretSource?: SecretSourceType | undefined;
|
|
2121
2187
|
/**
|
|
2122
2188
|
* <p>The name of the API key credential provider.</p>
|
|
2123
2189
|
* @public
|
|
@@ -8194,19 +8260,3 @@ export interface ListTagsForResourceResponse {
|
|
|
8194
8260
|
*/
|
|
8195
8261
|
tags?: Record<string, string> | undefined;
|
|
8196
8262
|
}
|
|
8197
|
-
/**
|
|
8198
|
-
* <p>A metadata key indexed for filtering.</p>
|
|
8199
|
-
* @public
|
|
8200
|
-
*/
|
|
8201
|
-
export interface IndexedKey {
|
|
8202
|
-
/**
|
|
8203
|
-
* <p>The metadata key name to index.</p>
|
|
8204
|
-
* @public
|
|
8205
|
-
*/
|
|
8206
|
-
key: string | undefined;
|
|
8207
|
-
/**
|
|
8208
|
-
* <p>The data type of the indexed key.</p>
|
|
8209
|
-
* @public
|
|
8210
|
-
*/
|
|
8211
|
-
type: MetadataValueType | undefined;
|
|
8212
|
-
}
|