@aws-sdk/client-bedrock-agentcore-control 3.1110.0 → 3.1112.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.
Files changed (48) hide show
  1. package/dist-cjs/index.js +95 -38
  2. package/dist-es/models/enums.js +18 -0
  3. package/dist-es/models/errors.js +16 -0
  4. package/dist-es/schemas/schemas_0.js +56 -38
  5. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateEvaluatorCommand.d.ts +26 -0
  8. package/dist-types/commands/CreatePaymentConnectorCommand.d.ts +6 -1
  9. package/dist-types/commands/CreatePaymentManagerCommand.d.ts +2 -0
  10. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
  11. package/dist-types/commands/DeletePaymentConnectorCommand.d.ts +1 -1
  12. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +1 -1
  13. package/dist-types/commands/GetDatasetCommand.d.ts +1 -1
  14. package/dist-types/commands/GetEvaluatorCommand.d.ts +28 -0
  15. package/dist-types/commands/GetPaymentConnectorCommand.d.ts +2 -1
  16. package/dist-types/commands/GetPaymentManagerCommand.d.ts +1 -0
  17. package/dist-types/commands/GetPolicyGenerationCommand.d.ts +1 -2
  18. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListEvaluatorsCommand.d.ts +2 -1
  20. package/dist-types/commands/ListPaymentConnectorsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPaymentManagersCommand.d.ts +1 -0
  22. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateEvaluatorCommand.d.ts +26 -0
  24. package/dist-types/commands/UpdatePaymentConnectorCommand.d.ts +5 -1
  25. package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +2 -0
  26. package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
  27. package/dist-types/models/enums.d.ts +37 -0
  28. package/dist-types/models/errors.d.ts +22 -0
  29. package/dist-types/models/models_0.d.ts +49 -15
  30. package/dist-types/models/models_1.d.ts +63 -17
  31. package/dist-types/models/models_2.d.ts +15 -0
  32. package/dist-types/runtimeConfig.browser.d.ts +38 -38
  33. package/dist-types/runtimeConfig.d.ts +36 -36
  34. package/dist-types/runtimeConfig.native.d.ts +37 -37
  35. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  36. package/dist-types/schemas/schemas_0.d.ts +2 -0
  37. package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +1 -2
  38. package/dist-types/ts3.4/models/enums.d.ts +21 -0
  39. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +21 -5
  41. package/dist-types/ts3.4/models/models_1.d.ts +15 -5
  42. package/dist-types/ts3.4/models/models_2.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  48. package/package.json +5 -5
@@ -397,6 +397,10 @@ export declare const DatasetSchemaType: {
397
397
  * <p> AgentCore simulated evaluation schema, version 1. Dataset for synthetic data generation where each example is a scenario used to generate full conversations. </p>
398
398
  */
399
399
  readonly AGENTCORE_EVALUATION_SIMULATED_V1: "AGENTCORE_EVALUATION_SIMULATED_V1";
400
+ /**
401
+ * <p> Unified generic evaluation schema, version 1. Supports single-turn (string input) and multi-turn (message list input) across all evaluation frameworks. </p>
402
+ */
403
+ readonly GENERIC_EVALUATION_PREDEFINED_V1: "GENERIC_EVALUATION_PREDEFINED_V1";
400
404
  };
401
405
  /**
402
406
  * @public
@@ -469,11 +473,27 @@ export declare const EvaluatorType: {
469
473
  readonly BUILTIN: "Builtin";
470
474
  readonly CODE: "CustomCode";
471
475
  readonly CUSTOM: "Custom";
476
+ readonly CUSTOM_DERIVED: "CustomDerived";
477
+ readonly THIRD_PARTY: "ThirdParty";
472
478
  };
473
479
  /**
474
480
  * @public
475
481
  */
476
482
  export type EvaluatorType = (typeof EvaluatorType)[keyof typeof EvaluatorType];
483
+ /**
484
+ * @public
485
+ * @enum
486
+ */
487
+ export declare const Provider: {
488
+ readonly AUTO_EVAL: "AutoEval";
489
+ readonly AWS: "AWS";
490
+ readonly CUSTOM: "Custom";
491
+ readonly DEEP_EVAL: "DeepEval";
492
+ };
493
+ /**
494
+ * @public
495
+ */
496
+ export type Provider = (typeof Provider)[keyof typeof Provider];
477
497
  /**
478
498
  * @public
479
499
  * @enum
@@ -1239,6 +1259,18 @@ export declare const PaymentManagerStatus: {
1239
1259
  * @public
1240
1260
  */
1241
1261
  export type PaymentManagerStatus = (typeof PaymentManagerStatus)[keyof typeof PaymentManagerStatus];
1262
+ /**
1263
+ * @public
1264
+ * @enum
1265
+ */
1266
+ export declare const PaymentConnectorProvisionMode: {
1267
+ readonly MANUAL: "MANUAL";
1268
+ readonly QUICK_CREATE: "QUICK_CREATE";
1269
+ };
1270
+ /**
1271
+ * @public
1272
+ */
1273
+ export type PaymentConnectorProvisionMode = (typeof PaymentConnectorProvisionMode)[keyof typeof PaymentConnectorProvisionMode];
1242
1274
  /**
1243
1275
  * @public
1244
1276
  * @enum
@@ -1256,10 +1288,15 @@ export type PaymentConnectorType = (typeof PaymentConnectorType)[keyof typeof Pa
1256
1288
  * @enum
1257
1289
  */
1258
1290
  export declare const PaymentConnectorStatus: {
1291
+ readonly AUTHENTICATION_EXPIRED: "AUTHENTICATION_EXPIRED";
1292
+ readonly AUTHENTICATION_FAILED: "AUTHENTICATION_FAILED";
1293
+ readonly AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED: "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED";
1259
1294
  readonly CREATE_FAILED: "CREATE_FAILED";
1260
1295
  readonly CREATING: "CREATING";
1261
1296
  readonly DELETE_FAILED: "DELETE_FAILED";
1262
1297
  readonly DELETING: "DELETING";
1298
+ readonly PENDING_AUTHENTICATION: "PENDING_AUTHENTICATION";
1299
+ readonly PROVISIONING: "PROVISIONING";
1263
1300
  readonly READY: "READY";
1264
1301
  readonly UPDATE_FAILED: "UPDATE_FAILED";
1265
1302
  readonly UPDATING: "UPDATING";
@@ -175,6 +175,28 @@ export declare class ThrottledException extends __BaseException {
175
175
  */
176
176
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
177
177
  }
178
+ /**
179
+ * <p>The request failed because it requires an active Amazon Web Services Marketplace subscription that is not present. Subscribe to the required product in Amazon Web Services Marketplace and try again.</p>
180
+ * @public
181
+ */
182
+ export declare class SubscriptionRequiredException extends __BaseException {
183
+ readonly name: "SubscriptionRequiredException";
184
+ readonly $fault: "client";
185
+ /**
186
+ * URL to the Marketplace listing for subscription
187
+ * @public
188
+ */
189
+ subscriptionUrl?: string | undefined;
190
+ /**
191
+ * The product requiring subscription
192
+ * @public
193
+ */
194
+ productName?: string | undefined;
195
+ /**
196
+ * @internal
197
+ */
198
+ constructor(opts: __ExceptionOptionType<SubscriptionRequiredException, __BaseException>);
199
+ }
178
200
  /**
179
201
  * <p>Exception thrown when a resource is modified concurrently by multiple requests.</p>
180
202
  * @public
@@ -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, CapacityProviderStatus, CapacityProviderStatusCode, CapacityReservationPreference, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EbsVolumeType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRateLimitStatus, GatewayRuleStatus, GatewayStatus, InboundTokenClaimValueType, IncludedData, InterceptorPayloadExclusion, Monitoring, NetworkMode, OAuthGrantType, OperatingSystem, PassthroughProtocolType, Period, PrincipalMatchOperator, ResourceType, SearchType, SecretSourceType, ServerProtocol, WafFailureMode } from "./enums";
2
+ import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, CapacityProviderStatus, CapacityProviderStatusCode, CapacityReservationPreference, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EbsVolumeType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRateLimitStatus, GatewayRuleStatus, GatewayStatus, InboundTokenClaimValueType, IncludedData, InterceptorPayloadExclusion, Monitoring, NetworkMode, OAuthGrantType, OperatingSystem, PassthroughProtocolType, Period, PrincipalMatchOperator, Provider, ResourceType, SearchType, SecretSourceType, ServerProtocol, WafFailureMode } 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
@@ -1241,7 +1241,7 @@ export interface CapacityProviderConfiguration {
1241
1241
  * <p>The Amazon Resource Name (ARN) of the capacity provider to use for the AgentCore Runtime.</p>
1242
1242
  * @public
1243
1243
  */
1244
- capacityProviderArn?: string | undefined;
1244
+ capacityProviderArn: string | undefined;
1245
1245
  }
1246
1246
  /**
1247
1247
  * <p>Configuration for a capacity provider volume mounted into the AgentCore Runtime. This references a persistent volume by its logical name, as defined in the capacity provider's list of volumes.</p>
@@ -1704,7 +1704,7 @@ export interface GetAgentRuntimeResponse {
1704
1704
  * <p>The network configuration for the AgentCore Runtime.</p>
1705
1705
  * @public
1706
1706
  */
1707
- networkConfiguration: NetworkConfiguration | undefined;
1707
+ networkConfiguration?: NetworkConfiguration | undefined;
1708
1708
  /**
1709
1709
  * <p>The current status of the AgentCore Runtime.</p>
1710
1710
  * @public
@@ -5453,6 +5453,22 @@ export declare namespace EvaluatorModelConfig {
5453
5453
  _: (name: string, value: any) => T;
5454
5454
  }
5455
5455
  }
5456
+ /**
5457
+ * <p> The configuration for a derived evaluator. It reuses an existing evaluator's logic on your own model. </p>
5458
+ * @public
5459
+ */
5460
+ export interface DerivedEvaluatorConfig {
5461
+ /**
5462
+ * <p> The identifier of the base evaluator whose logic to run (a <code>Builtin.*</code> or <code>ThirdParty.*</code> evaluator). </p>
5463
+ * @public
5464
+ */
5465
+ baseEvaluatorId: string | undefined;
5466
+ /**
5467
+ * <p> The configuration of the evaluator model that you supply. </p>
5468
+ * @public
5469
+ */
5470
+ modelConfig: EvaluatorModelConfig | undefined;
5471
+ }
5456
5472
  /**
5457
5473
  * <p> The definition of a categorical rating scale option that provides a named category with its description for evaluation scoring. </p>
5458
5474
  * @public
@@ -5560,7 +5576,7 @@ export interface LlmAsAJudgeEvaluatorConfig {
5560
5576
  * <p> The configuration that defines how an evaluator assesses agent performance, including the evaluation method and parameters. </p>
5561
5577
  * @public
5562
5578
  */
5563
- export type EvaluatorConfig = EvaluatorConfig.CodeBasedMember | EvaluatorConfig.LlmAsAJudgeMember | EvaluatorConfig.$UnknownMember;
5579
+ export type EvaluatorConfig = EvaluatorConfig.CodeBasedMember | EvaluatorConfig.DerivedMember | EvaluatorConfig.LlmAsAJudgeMember | EvaluatorConfig.$UnknownMember;
5564
5580
  /**
5565
5581
  * @public
5566
5582
  */
@@ -5572,6 +5588,7 @@ export declare namespace EvaluatorConfig {
5572
5588
  interface LlmAsAJudgeMember {
5573
5589
  llmAsAJudge: LlmAsAJudgeEvaluatorConfig;
5574
5590
  codeBased?: never;
5591
+ derived?: never;
5575
5592
  $unknown?: never;
5576
5593
  }
5577
5594
  /**
@@ -5581,6 +5598,17 @@ export declare namespace EvaluatorConfig {
5581
5598
  interface CodeBasedMember {
5582
5599
  llmAsAJudge?: never;
5583
5600
  codeBased: CodeBasedEvaluatorConfig;
5601
+ derived?: never;
5602
+ $unknown?: never;
5603
+ }
5604
+ /**
5605
+ * <p> The configuration for an evaluator derived from an existing base evaluator (a built-in or third-party evaluator), run on your own model. The base evaluator supplies the prompt and scoring. </p>
5606
+ * @public
5607
+ */
5608
+ interface DerivedMember {
5609
+ llmAsAJudge?: never;
5610
+ codeBased?: never;
5611
+ derived: DerivedEvaluatorConfig;
5584
5612
  $unknown?: never;
5585
5613
  }
5586
5614
  /**
@@ -5589,6 +5617,7 @@ export declare namespace EvaluatorConfig {
5589
5617
  interface $UnknownMember {
5590
5618
  llmAsAJudge?: never;
5591
5619
  codeBased?: never;
5620
+ derived?: never;
5592
5621
  $unknown: [string, any];
5593
5622
  }
5594
5623
  /**
@@ -5598,6 +5627,7 @@ export declare namespace EvaluatorConfig {
5598
5627
  interface Visitor<T> {
5599
5628
  llmAsAJudge: (value: LlmAsAJudgeEvaluatorConfig) => T;
5600
5629
  codeBased: (value: CodeBasedEvaluatorConfig) => T;
5630
+ derived: (value: DerivedEvaluatorConfig) => T;
5601
5631
  _: (name: string, value: any) => T;
5602
5632
  }
5603
5633
  }
@@ -5740,6 +5770,16 @@ export interface GetEvaluatorResponse {
5740
5770
  * @public
5741
5771
  */
5742
5772
  evaluatorConfig: EvaluatorConfig | undefined;
5773
+ /**
5774
+ * <p> The kind of evaluator resource. Valid values: </p> <ul> <li> <p> <code>Builtin</code> – An Amazon Web Services-managed global evaluator.</p> </li> <li> <p> <code>ThirdParty</code> – An Amazon Web Services-managed global evaluator from a third-party provider.</p> </li> <li> <p> <code>Custom</code> – A customer-created evaluator.</p> </li> <li> <p> <code>CustomCode</code> – A customer-created code-based evaluator.</p> </li> <li> <p> <code>CustomDerived</code> – A customer-created evaluator derived from an existing base evaluator.</p> </li> </ul>
5775
+ * @public
5776
+ */
5777
+ evaluatorType?: EvaluatorType | undefined;
5778
+ /**
5779
+ * <p> The source of the evaluator's logic: Amazon Web Services, a third-party library, or you. </p>
5780
+ * @public
5781
+ */
5782
+ provider?: Provider | undefined;
5743
5783
  /**
5744
5784
  * <p> The evaluation level (<code>TOOL_CALL</code>, <code>TRACE</code>, or <code>SESSION</code>) that determines the scope of evaluation. </p>
5745
5785
  * @public
@@ -5816,6 +5856,11 @@ export interface EvaluatorSummary {
5816
5856
  * @public
5817
5857
  */
5818
5858
  evaluatorType: EvaluatorType | undefined;
5859
+ /**
5860
+ * <p> The source of the evaluator's logic: Amazon Web Services, a third-party library, or you. </p>
5861
+ * @public
5862
+ */
5863
+ provider?: Provider | undefined;
5819
5864
  /**
5820
5865
  * <p> The evaluation level (<code>TOOL_CALL</code>, <code>TRACE</code>, or <code>SESSION</code>) that determines the scope of evaluation. </p>
5821
5866
  * @public
@@ -8116,17 +8161,6 @@ export interface InferenceConnectorSource {
8116
8161
  */
8117
8162
  connectorId: string | undefined;
8118
8163
  }
8119
- /**
8120
- * <p>The configuration for a connector-based inference target. This configuration uses a built-in connector that provides predefined rules for a large language model (LLM) provider.</p>
8121
- * @public
8122
- */
8123
- export interface InferenceConnectorTargetConfiguration {
8124
- /**
8125
- * <p>The source configuration identifying which inference connector to use.</p>
8126
- * @public
8127
- */
8128
- source: InferenceConnectorSource | undefined;
8129
- }
8130
8164
  /**
8131
8165
  * @public
8132
8166
  */
@@ -1,6 +1,17 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType, ExtractionType, FilterOperator, HarnessBedrockApiFormat, HarnessEndpointStatus, HarnessManagedMemoryStrategyType, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, KeyType, ListingMode, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, RestApiMethod, SecretSourceType, SigningAlgorithm, Status, TargetStatus, TargetType } from "./enums";
3
- import type { AuthorizerConfiguration, ContainerConfiguration, FilesystemConfiguration, InferenceConnectorTargetConfiguration, LifecycleConfiguration, NetworkConfiguration, OAuthCredentialProvider, PrivateEndpoint, PrivateEndpointOverride, S3Configuration, Secret, SecretReference, Unit, UpdatedDescription, WorkloadIdentityDetails } from "./models_0";
2
+ import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType, ExtractionType, FilterOperator, HarnessBedrockApiFormat, HarnessEndpointStatus, HarnessManagedMemoryStrategyType, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, KeyType, ListingMode, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorProvisionMode, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, RestApiMethod, SecretSourceType, SigningAlgorithm, Status, TargetStatus, TargetType } from "./enums";
3
+ import type { AuthorizerConfiguration, ContainerConfiguration, FilesystemConfiguration, InferenceConnectorSource, LifecycleConfiguration, NetworkConfiguration, OAuthCredentialProvider, PrivateEndpoint, PrivateEndpointOverride, S3Configuration, Secret, SecretReference, Unit, UpdatedDescription, WorkloadIdentityDetails } from "./models_0";
4
+ /**
5
+ * <p>The configuration for a connector-based inference target. This configuration uses a built-in connector that provides predefined rules for a large language model (LLM) provider.</p>
6
+ * @public
7
+ */
8
+ export interface InferenceConnectorTargetConfiguration {
9
+ /**
10
+ * <p>The source configuration identifying which inference connector to use.</p>
11
+ * @public
12
+ */
13
+ source: InferenceConnectorSource | undefined;
14
+ }
4
15
  /**
5
16
  * <p>The configuration that controls how a provider prefix is applied to model IDs during translation.</p>
6
17
  * @public
@@ -7421,6 +7432,11 @@ export interface CreatePaymentManagerRequest {
7421
7432
  * @public
7422
7433
  */
7423
7434
  tags?: Record<string, string> | undefined;
7435
+ /**
7436
+ * <p>The Amazon Resource Name (ARN) of the customer managed KMS key to use for encrypting sensitive payment manager data at rest. If you don't specify a key, the data is encrypted with an Amazon Web Services owned key.</p>
7437
+ * @public
7438
+ */
7439
+ kmsKeyArn?: string | undefined;
7424
7440
  }
7425
7441
  /**
7426
7442
  * @public
@@ -7476,6 +7492,11 @@ export interface CreatePaymentManagerResponse {
7476
7492
  * @public
7477
7493
  */
7478
7494
  tags?: Record<string, string> | undefined;
7495
+ /**
7496
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive payment manager data at rest, if configured.</p>
7497
+ * @public
7498
+ */
7499
+ kmsKeyArn?: string | undefined;
7479
7500
  }
7480
7501
  /**
7481
7502
  * @public
@@ -7581,6 +7602,11 @@ export interface GetPaymentManagerResponse {
7581
7602
  * @public
7582
7603
  */
7583
7604
  tags?: Record<string, string> | undefined;
7605
+ /**
7606
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive payment manager data at rest, if configured.</p>
7607
+ * @public
7608
+ */
7609
+ kmsKeyArn?: string | undefined;
7584
7610
  }
7585
7611
  /**
7586
7612
  * @public
@@ -7647,6 +7673,11 @@ export interface PaymentManagerSummary {
7647
7673
  * @public
7648
7674
  */
7649
7675
  lastUpdatedAt: Date | undefined;
7676
+ /**
7677
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive payment manager data at rest, if configured.</p>
7678
+ * @public
7679
+ */
7680
+ kmsKeyArn?: string | undefined;
7650
7681
  }
7651
7682
  /**
7652
7683
  * @public
@@ -7748,6 +7779,11 @@ export interface CreatePaymentConnectorRequest {
7748
7779
  * @public
7749
7780
  */
7750
7781
  credentialProviderConfigurations: CredentialsProviderConfiguration[] | undefined;
7782
+ /**
7783
+ * <p>The provision mode for creating the payment connector. If you don't specify a value, the default is <code>MANUAL</code>.</p> <ul> <li> <p> <code>MANUAL</code> - You provide the credential provider configurations directly.</p> </li> <li> <p> <code>QUICK_CREATE</code> - The service orchestrates OAuth consent and provisions the credential provider for you.</p> </li> </ul>
7784
+ * @public
7785
+ */
7786
+ provisionMode?: PaymentConnectorProvisionMode | undefined;
7751
7787
  /**
7752
7788
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
7753
7789
  * @public
@@ -7793,6 +7829,11 @@ export interface CreatePaymentConnectorResponse {
7793
7829
  * @public
7794
7830
  */
7795
7831
  status: PaymentConnectorStatus | undefined;
7832
+ /**
7833
+ * <p>The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is <code>PENDING_AUTHENTICATION</code>.</p>
7834
+ * @public
7835
+ */
7836
+ authorizationUrl?: string | undefined;
7796
7837
  }
7797
7838
  /**
7798
7839
  * @public
@@ -7888,6 +7929,11 @@ export interface GetPaymentConnectorResponse {
7888
7929
  * @public
7889
7930
  */
7890
7931
  status: PaymentConnectorStatus | undefined;
7932
+ /**
7933
+ * <p>The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is <code>PENDING_AUTHENTICATION</code>.</p>
7934
+ * @public
7935
+ */
7936
+ authorizationUrl?: string | undefined;
7891
7937
  }
7892
7938
  /**
7893
7939
  * @public
@@ -8029,6 +8075,11 @@ export interface UpdatePaymentConnectorResponse {
8029
8075
  * @public
8030
8076
  */
8031
8077
  status: PaymentConnectorStatus | undefined;
8078
+ /**
8079
+ * <p>The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is <code>PENDING_AUTHENTICATION</code>.</p>
8080
+ * @public
8081
+ */
8082
+ authorizationUrl?: string | undefined;
8032
8083
  }
8033
8084
  /**
8034
8085
  * @public
@@ -8064,6 +8115,11 @@ export interface UpdatePaymentManagerRequest {
8064
8115
  * @public
8065
8116
  */
8066
8117
  clientToken?: string | undefined;
8118
+ /**
8119
+ * <p>The updated Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt sensitive payment manager data at rest.</p>
8120
+ * @public
8121
+ */
8122
+ kmsKeyArn?: string | undefined;
8067
8123
  }
8068
8124
  /**
8069
8125
  * @public
@@ -8109,6 +8165,11 @@ export interface UpdatePaymentManagerResponse {
8109
8165
  * @public
8110
8166
  */
8111
8167
  status: PaymentManagerStatus | undefined;
8168
+ /**
8169
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive payment manager data at rest, if configured.</p>
8170
+ * @public
8171
+ */
8172
+ kmsKeyArn?: string | undefined;
8112
8173
  }
8113
8174
  /**
8114
8175
  * @public
@@ -8577,18 +8638,3 @@ export interface UpdatePolicyEngineResponse {
8577
8638
  */
8578
8639
  statusReasons: string[] | undefined;
8579
8640
  }
8580
- /**
8581
- * @public
8582
- */
8583
- export interface GetPolicyGenerationRequest {
8584
- /**
8585
- * <p>The unique identifier of the policy generation request to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call.</p>
8586
- * @public
8587
- */
8588
- policyGenerationId: string | undefined;
8589
- /**
8590
- * <p>The identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and schema validation.</p>
8591
- * @public
8592
- */
8593
- policyEngineId: string | undefined;
8594
- }
@@ -1,6 +1,21 @@
1
1
  import type { DescriptorType, EnforcementMode, FindingType, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SchemaType, SynchronizationType, TargetProtocolType, TargetStatus } from "./enums";
2
2
  import type { A2aDescriptor, AgentSkillsDescriptor, ApiSchemaConfiguration, AuthorizerConfiguration, CredentialProviderConfiguration, HttpTargetConfiguration, MetadataConfiguration, PrivateEndpoint, S3Configuration, SkillDefinition, SkillMdDefinition, UpdatedDescription } from "./models_0";
3
3
  import type { ApiGatewayTargetConfiguration, AuthorizationData, ConnectorTargetConfiguration, InferenceTargetConfiguration, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, UpdatedAuthorizerConfiguration } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface GetPolicyGenerationRequest {
8
+ /**
9
+ * <p>The unique identifier of the policy generation request to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call.</p>
10
+ * @public
11
+ */
12
+ policyGenerationId: string | undefined;
13
+ /**
14
+ * <p>The identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and schema validation.</p>
15
+ * @public
16
+ */
17
+ policyEngineId: string | undefined;
18
+ }
4
19
  /**
5
20
  * <p>Represents a resource within the AgentCore Policy system. Resources are the targets of policy evaluation. Currently, only AgentCore Gateways are supported as resources for policy enforcement.</p>
6
21
  * @public
@@ -4,49 +4,14 @@ import type { BedrockAgentCoreControlClientConfig } from "./BedrockAgentCoreCont
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientConfig) => {
7
- runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
- defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
- maxAttempts: number | import("@smithy/types").Provider<number>;
13
- region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
- retryMode: string | import("@smithy/types").Provider<string>;
16
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
- cacheMiddleware?: boolean | undefined;
20
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
21
- protocolSettings: {
22
- defaultNamespace?: string;
23
- [setting: string]: unknown;
24
- };
25
- apiVersion: string;
26
- sha256: import("@smithy/types").HashConstructor;
27
- urlParser: import("@smithy/types").UrlParser;
28
- base64Decoder: import("@smithy/types").Decoder;
29
- base64Encoder: (_input: Uint8Array | string) => string;
30
- utf8Decoder: import("@smithy/types").Decoder;
31
- utf8Encoder: (input: Uint8Array | string) => string;
32
- disableHostPrefix: boolean;
33
- serviceId: string;
34
- profile?: string;
35
- logger: import("@smithy/types").Logger;
36
- extensions: import("./runtimeExtensions").RuntimeExtension[];
7
+ cacheMiddleware?: boolean;
37
8
  customUserAgent?: string | import("@smithy/types").UserAgent;
38
9
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
40
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
41
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
42
- logger?: import("@smithy/types").Logger;
43
- }) => import("@smithy/types").EndpointV2;
10
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
44
11
  tls?: boolean;
45
12
  ignoreConfiguredEndpointUrls?: boolean;
46
13
  serviceConfiguredEndpoint?: never;
47
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
48
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
14
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
50
15
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
16
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
17
  signingEscapePath?: boolean;
@@ -54,4 +19,39 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
54
19
  signingRegion?: string;
55
20
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
21
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
22
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
23
+ apiVersion: string;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: Uint8Array | string) => string;
26
+ disableHostPrefix: boolean;
27
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
28
+ logger?: import("@smithy/types").Logger;
29
+ }) => import("@smithy/types").EndpointV2;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
32
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
33
+ logger: import("@smithy/types").Logger;
34
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ [setting: string]: unknown;
37
+ defaultNamespace?: string;
38
+ };
39
+ serviceId: string;
40
+ sha256: import("@smithy/types").HashConstructor;
41
+ urlParser: import("@smithy/types").UrlParser;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ profile?: string;
45
+ runtime: string;
46
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
47
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
48
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
49
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
50
+ maxAttempts: number | import("@smithy/types").Provider<number>;
51
+ region: string | import("@smithy/types").Provider<any>;
52
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
53
+ retryMode: string | import("@smithy/types").Provider<string>;
54
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
55
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
56
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
57
57
  };
@@ -4,11 +4,46 @@ import type { BedrockAgentCoreControlClientConfig } from "./BedrockAgentCoreCont
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientConfig) => {
7
+ cacheMiddleware?: boolean;
8
+ customUserAgent?: string | import("@smithy/types").UserAgent;
9
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
10
+ tls?: boolean;
11
+ ignoreConfiguredEndpointUrls?: boolean;
12
+ serviceConfiguredEndpoint?: never;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
14
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
15
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
16
+ signingEscapePath?: boolean;
17
+ systemClockOffset?: number;
18
+ signingRegion?: string;
19
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
20
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
21
+ apiVersion: string;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: Uint8Array | string) => string;
24
+ disableHostPrefix: boolean;
25
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
26
+ logger?: import("@smithy/types").Logger;
27
+ }) => import("@smithy/types").EndpointV2;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
30
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
31
+ logger: import("@smithy/types").Logger;
32
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
33
+ protocolSettings: {
34
+ [setting: string]: unknown;
35
+ defaultNamespace?: string;
36
+ };
37
+ serviceId: string;
38
+ sha256: import("@smithy/types").HashConstructor;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ utf8Decoder: import("@smithy/types").Decoder;
41
+ utf8Encoder: (input: Uint8Array | string) => string;
7
42
  runtime: string;
8
43
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
46
+ credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
12
47
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
48
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
49
  region: string | import("@smithy/types").Provider<string>;
@@ -18,40 +53,5 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
18
53
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
54
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
55
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
- cacheMiddleware?: boolean | undefined;
22
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
23
- protocolSettings: {
24
- defaultNamespace?: string;
25
- [setting: string]: unknown;
26
- };
27
- apiVersion: string;
28
- sha256: import("@smithy/types").HashConstructor;
29
- urlParser: import("@smithy/types").UrlParser;
30
- base64Decoder: import("@smithy/types").Decoder;
31
- base64Encoder: (_input: Uint8Array | string) => string;
32
- utf8Decoder: import("@smithy/types").Decoder;
33
- utf8Encoder: (input: Uint8Array | string) => string;
34
- disableHostPrefix: boolean;
35
- serviceId: string;
36
56
  profile?: string;
37
- logger: import("@smithy/types").Logger;
38
- extensions: import("./runtimeExtensions").RuntimeExtension[];
39
- customUserAgent?: string | import("@smithy/types").UserAgent;
40
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
- logger?: import("@smithy/types").Logger;
44
- }) => import("@smithy/types").EndpointV2;
45
- tls?: boolean;
46
- ignoreConfiguredEndpointUrls?: boolean;
47
- serviceConfiguredEndpoint?: never;
48
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
50
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
- signingEscapePath?: boolean;
53
- systemClockOffset?: number;
54
- signingRegion?: string;
55
- signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
- disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
57
57
  };