@aws-sdk/client-bedrock-agentcore-control 3.1070.0 → 3.1071.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 (113) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +143 -1
  3. package/dist-cjs/schemas/schemas_0.js +475 -94
  4. package/dist-es/BedrockAgentCoreControl.js +16 -0
  5. package/dist-es/commands/CreateHarnessEndpointCommand.js +16 -0
  6. package/dist-es/commands/DeleteHarnessEndpointCommand.js +16 -0
  7. package/dist-es/commands/GetHarnessEndpointCommand.js +16 -0
  8. package/dist-es/commands/ListHarnessEndpointsCommand.js +16 -0
  9. package/dist-es/commands/ListHarnessVersionsCommand.js +16 -0
  10. package/dist-es/commands/UpdateHarnessEndpointCommand.js +16 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/enums.js +43 -0
  13. package/dist-es/pagination/ListHarnessEndpointsPaginator.js +4 -0
  14. package/dist-es/pagination/ListHarnessVersionsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +435 -94
  17. package/dist-types/BedrockAgentCoreControl.d.ts +56 -0
  18. package/dist-types/BedrockAgentCoreControlClient.d.ts +8 -2
  19. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +10 -0
  20. package/dist-types/commands/CreateGatewayCommand.d.ts +43 -0
  21. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +139 -1
  22. package/dist-types/commands/CreateHarnessCommand.d.ts +51 -2
  23. package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +116 -0
  24. package/dist-types/commands/CreateMemoryCommand.d.ts +1 -0
  25. package/dist-types/commands/CreatePaymentManagerCommand.d.ts +20 -0
  26. package/dist-types/commands/CreatePolicyCommand.d.ts +8 -0
  27. package/dist-types/commands/CreateRegistryCommand.d.ts +11 -1
  28. package/dist-types/commands/DeleteHarnessCommand.d.ts +27 -1
  29. package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +108 -0
  30. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteRegistryCommand.d.ts +1 -1
  32. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +10 -0
  33. package/dist-types/commands/GetGatewayCommand.d.ts +26 -0
  34. package/dist-types/commands/GetGatewayTargetCommand.d.ts +69 -0
  35. package/dist-types/commands/GetHarnessCommand.d.ts +28 -2
  36. package/dist-types/commands/GetHarnessEndpointCommand.d.ts +104 -0
  37. package/dist-types/commands/GetMemoryCommand.d.ts +1 -0
  38. package/dist-types/commands/GetPaymentManagerCommand.d.ts +10 -0
  39. package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
  40. package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -0
  41. package/dist-types/commands/GetRegistryCommand.d.ts +11 -1
  42. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +12 -0
  43. package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +108 -0
  44. package/dist-types/commands/ListHarnessVersionsCommand.d.ts +105 -0
  45. package/dist-types/commands/ListHarnessesCommand.d.ts +3 -2
  46. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -0
  47. package/dist-types/commands/ListPoliciesCommand.d.ts +4 -0
  48. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +3 -0
  49. package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -0
  50. package/dist-types/commands/ListRegistriesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -1
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  53. package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
  54. package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
  55. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +69 -0
  56. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +10 -0
  59. package/dist-types/commands/UpdateGatewayCommand.d.ts +51 -0
  60. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +139 -1
  61. package/dist-types/commands/UpdateHarnessCommand.d.ts +51 -2
  62. package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +113 -0
  63. package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +10 -0
  65. package/dist-types/commands/UpdatePolicyCommand.d.ts +8 -0
  66. package/dist-types/commands/UpdateRegistryCommand.d.ts +21 -1
  67. package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
  69. package/dist-types/commands/index.d.ts +6 -0
  70. package/dist-types/models/enums.d.ts +99 -0
  71. package/dist-types/models/models_0.d.ts +904 -1144
  72. package/dist-types/models/models_1.d.ts +4595 -4209
  73. package/dist-types/models/models_2.d.ts +883 -6
  74. package/dist-types/pagination/ListHarnessEndpointsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListHarnessVersionsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +2 -0
  77. package/dist-types/schemas/schemas_0.d.ts +46 -0
  78. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +116 -0
  79. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +36 -0
  80. package/dist-types/ts3.4/commands/CreateHarnessCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +53 -0
  82. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DeleteHarnessCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +53 -0
  85. package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetHarnessCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +53 -0
  88. package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +53 -0
  90. package/dist-types/ts3.4/commands/ListHarnessVersionsCommand.d.ts +53 -0
  91. package/dist-types/ts3.4/commands/ListHarnessesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UpdateHarnessCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +53 -0
  101. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  105. package/dist-types/ts3.4/models/enums.d.ts +56 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +269 -402
  107. package/dist-types/ts3.4/models/models_1.d.ts +447 -211
  108. package/dist-types/ts3.4/models/models_2.d.ts +262 -3
  109. package/dist-types/ts3.4/pagination/ListHarnessEndpointsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListHarnessVersionsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  112. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
  113. package/package.json +3 -3
@@ -28,16 +28,17 @@ import {
28
28
  GatewayRuleStatus,
29
29
  GatewayStatus,
30
30
  HarnessBedrockApiFormat,
31
+ HarnessEndpointStatus,
32
+ HarnessManagedMemoryStrategyType,
31
33
  HarnessOpenAiApiFormat,
32
- HarnessStatus,
33
- HarnessToolType,
34
- HarnessTruncationStrategy,
35
34
  InboundTokenClaimValueType,
36
35
  IncludedData,
36
+ InterceptorPayloadExclusion,
37
37
  KeyType,
38
38
  ListingMode,
39
39
  NetworkMode,
40
40
  OAuthGrantType,
41
+ PassthroughProtocolType,
41
42
  PrincipalMatchOperator,
42
43
  ResourceType,
43
44
  RestApiMethod,
@@ -45,6 +46,8 @@ import {
45
46
  SecretSourceType,
46
47
  ServerProtocol,
47
48
  TargetStatus,
49
+ TargetType,
50
+ WafFailureMode,
48
51
  } from "./enums";
49
52
  export interface AgentCardDefinition {
50
53
  schemaVersion?: string | undefined;
@@ -346,6 +349,13 @@ export declare namespace AgentRuntimeArtifact {
346
349
  _: (name: string, value: any) => T;
347
350
  }
348
351
  }
352
+ export interface HostingEnvironment {
353
+ arn: string | undefined;
354
+ }
355
+ export interface AllowedWorkloadConfiguration {
356
+ hostingEnvironments?: HostingEnvironment[] | undefined;
357
+ workloadIdentities?: string[] | undefined;
358
+ }
349
359
  export type ClaimMatchValueType =
350
360
  | ClaimMatchValueType.MatchValueStringMember
351
361
  | ClaimMatchValueType.MatchValueStringListMember
@@ -444,6 +454,7 @@ export interface CustomJWTAuthorizerConfiguration {
444
454
  customClaims?: CustomClaimValidationType[] | undefined;
445
455
  privateEndpoint?: PrivateEndpoint | undefined;
446
456
  privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
457
+ allowedWorkloadConfiguration?: AllowedWorkloadConfiguration | undefined;
447
458
  }
448
459
  export type AuthorizerConfiguration =
449
460
  | AuthorizerConfiguration.CustomJWTAuthorizerMember
@@ -1434,8 +1445,29 @@ export interface UpdateEvaluatorResponse {
1434
1445
  updatedAt: Date | undefined;
1435
1446
  status: EvaluatorStatus | undefined;
1436
1447
  }
1448
+ export type InterceptorPayloadExclusionSelector =
1449
+ | InterceptorPayloadExclusionSelector.FieldMember
1450
+ | InterceptorPayloadExclusionSelector.$UnknownMember;
1451
+ export declare namespace InterceptorPayloadExclusionSelector {
1452
+ interface FieldMember {
1453
+ field: InterceptorPayloadExclusion;
1454
+ $unknown?: never;
1455
+ }
1456
+ interface $UnknownMember {
1457
+ field?: never;
1458
+ $unknown: [string, any];
1459
+ }
1460
+ interface Visitor<T> {
1461
+ field: (value: InterceptorPayloadExclusion) => T;
1462
+ _: (name: string, value: any) => T;
1463
+ }
1464
+ }
1465
+ export interface InterceptorPayloadFilter {
1466
+ exclude: InterceptorPayloadExclusionSelector[] | undefined;
1467
+ }
1437
1468
  export interface InterceptorInputConfiguration {
1438
1469
  passRequestHeaders: boolean | undefined;
1470
+ payloadFilter?: InterceptorPayloadFilter | undefined;
1439
1471
  }
1440
1472
  export interface LambdaInterceptorConfiguration {
1441
1473
  arn: string | undefined;
@@ -1511,6 +1543,15 @@ export interface CreateGatewayRequest {
1511
1543
  exceptionLevel?: ExceptionLevel | undefined;
1512
1544
  tags?: Record<string, string> | undefined;
1513
1545
  }
1546
+ export interface LambdaTransformConfiguration {
1547
+ arn?: string | undefined;
1548
+ }
1549
+ export interface CustomTransformConfiguration {
1550
+ lambda?: LambdaTransformConfiguration | undefined;
1551
+ }
1552
+ export interface WafConfiguration {
1553
+ failureMode?: WafFailureMode | undefined;
1554
+ }
1514
1555
  export interface CreateGatewayResponse {
1515
1556
  gatewayArn: string | undefined;
1516
1557
  gatewayId: string | undefined;
@@ -1527,10 +1568,13 @@ export interface CreateGatewayResponse {
1527
1568
  authorizerType: AuthorizerType | undefined;
1528
1569
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
1529
1570
  kmsKeyArn?: string | undefined;
1571
+ customTransformConfiguration?: CustomTransformConfiguration | undefined;
1530
1572
  interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
1531
1573
  policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
1532
1574
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
1533
1575
  exceptionLevel?: ExceptionLevel | undefined;
1576
+ webAclArn?: string | undefined;
1577
+ wafConfiguration?: WafConfiguration | undefined;
1534
1578
  }
1535
1579
  export interface DeleteGatewayRequest {
1536
1580
  gatewayIdentifier: string | undefined;
@@ -1559,10 +1603,13 @@ export interface GetGatewayResponse {
1559
1603
  authorizerType: AuthorizerType | undefined;
1560
1604
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
1561
1605
  kmsKeyArn?: string | undefined;
1606
+ customTransformConfiguration?: CustomTransformConfiguration | undefined;
1562
1607
  interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
1563
1608
  policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
1564
1609
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
1565
1610
  exceptionLevel?: ExceptionLevel | undefined;
1611
+ webAclArn?: string | undefined;
1612
+ wafConfiguration?: WafConfiguration | undefined;
1566
1613
  }
1567
1614
  export interface ListGatewaysRequest {
1568
1615
  maxResults?: number | undefined;
@@ -1592,9 +1639,11 @@ export interface UpdateGatewayRequest {
1592
1639
  authorizerType: AuthorizerType | undefined;
1593
1640
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
1594
1641
  kmsKeyArn?: string | undefined;
1642
+ customTransformConfiguration?: CustomTransformConfiguration | undefined;
1595
1643
  interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
1596
1644
  policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
1597
1645
  exceptionLevel?: ExceptionLevel | undefined;
1646
+ wafConfiguration?: WafConfiguration | undefined;
1598
1647
  }
1599
1648
  export interface UpdateGatewayResponse {
1600
1649
  gatewayArn: string | undefined;
@@ -1612,10 +1661,13 @@ export interface UpdateGatewayResponse {
1612
1661
  authorizerType: AuthorizerType | undefined;
1613
1662
  authorizerConfiguration?: AuthorizerConfiguration | undefined;
1614
1663
  kmsKeyArn?: string | undefined;
1664
+ customTransformConfiguration?: CustomTransformConfiguration | undefined;
1615
1665
  interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
1616
1666
  policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
1617
1667
  workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
1618
1668
  exceptionLevel?: ExceptionLevel | undefined;
1669
+ webAclArn?: string | undefined;
1670
+ wafConfiguration?: WafConfiguration | undefined;
1619
1671
  }
1620
1672
  export interface MatchPaths {
1621
1673
  anyOf: string[] | undefined;
@@ -1820,24 +1872,129 @@ export interface MetadataConfiguration {
1820
1872
  allowedQueryParameters?: string[] | undefined;
1821
1873
  allowedResponseHeaders?: string[] | undefined;
1822
1874
  }
1875
+ export interface S3Configuration {
1876
+ uri?: string | undefined;
1877
+ bucketOwnerAccountId?: string | undefined;
1878
+ }
1879
+ export type ApiSchemaConfiguration =
1880
+ | ApiSchemaConfiguration.InlinePayloadMember
1881
+ | ApiSchemaConfiguration.S3Member
1882
+ | ApiSchemaConfiguration.$UnknownMember;
1883
+ export declare namespace ApiSchemaConfiguration {
1884
+ interface S3Member {
1885
+ s3: S3Configuration;
1886
+ inlinePayload?: never;
1887
+ $unknown?: never;
1888
+ }
1889
+ interface InlinePayloadMember {
1890
+ s3?: never;
1891
+ inlinePayload: string;
1892
+ $unknown?: never;
1893
+ }
1894
+ interface $UnknownMember {
1895
+ s3?: never;
1896
+ inlinePayload?: never;
1897
+ $unknown: [string, any];
1898
+ }
1899
+ interface Visitor<T> {
1900
+ s3: (value: S3Configuration) => T;
1901
+ inlinePayload: (value: string) => T;
1902
+ _: (name: string, value: any) => T;
1903
+ }
1904
+ }
1905
+ export interface HttpApiSchemaConfiguration {
1906
+ source: ApiSchemaConfiguration | undefined;
1907
+ }
1823
1908
  export interface RuntimeTargetConfiguration {
1824
1909
  arn: string | undefined;
1825
1910
  qualifier?: string | undefined;
1911
+ schema?: HttpApiSchemaConfiguration | undefined;
1912
+ }
1913
+ export interface StickinessConfiguration {
1914
+ identifier: string | undefined;
1915
+ timeout?: number | undefined;
1916
+ }
1917
+ export interface PassthroughTargetConfiguration {
1918
+ endpoint: string | undefined;
1919
+ protocolType: PassthroughProtocolType | undefined;
1920
+ schema?: HttpApiSchemaConfiguration | undefined;
1921
+ stickinessConfiguration?: StickinessConfiguration | undefined;
1826
1922
  }
1827
1923
  export type HttpTargetConfiguration =
1828
1924
  | HttpTargetConfiguration.AgentcoreRuntimeMember
1925
+ | HttpTargetConfiguration.PassthroughMember
1829
1926
  | HttpTargetConfiguration.$UnknownMember;
1830
1927
  export declare namespace HttpTargetConfiguration {
1831
1928
  interface AgentcoreRuntimeMember {
1832
1929
  agentcoreRuntime: RuntimeTargetConfiguration;
1930
+ passthrough?: never;
1931
+ $unknown?: never;
1932
+ }
1933
+ interface PassthroughMember {
1934
+ agentcoreRuntime?: never;
1935
+ passthrough: PassthroughTargetConfiguration;
1833
1936
  $unknown?: never;
1834
1937
  }
1835
1938
  interface $UnknownMember {
1836
1939
  agentcoreRuntime?: never;
1940
+ passthrough?: never;
1837
1941
  $unknown: [string, any];
1838
1942
  }
1839
1943
  interface Visitor<T> {
1840
1944
  agentcoreRuntime: (value: RuntimeTargetConfiguration) => T;
1945
+ passthrough: (value: PassthroughTargetConfiguration) => T;
1946
+ _: (name: string, value: any) => T;
1947
+ }
1948
+ }
1949
+ export interface InferenceConnectorSource {
1950
+ connectorId: string | undefined;
1951
+ }
1952
+ export interface InferenceConnectorTargetConfiguration {
1953
+ source: InferenceConnectorSource | undefined;
1954
+ }
1955
+ export interface ProviderPrefix {
1956
+ strip?: boolean | undefined;
1957
+ separator?: string | undefined;
1958
+ }
1959
+ export interface ModelMapping {
1960
+ providerPrefix?: ProviderPrefix | undefined;
1961
+ }
1962
+ export interface ModelEntry {
1963
+ model: string | undefined;
1964
+ }
1965
+ export interface InferenceOperationConfiguration {
1966
+ path: string | undefined;
1967
+ providerPath?: string | undefined;
1968
+ models?: ModelEntry[] | undefined;
1969
+ }
1970
+ export interface InferenceProviderTargetConfiguration {
1971
+ endpoint: string | undefined;
1972
+ modelMapping?: ModelMapping | undefined;
1973
+ operations?: InferenceOperationConfiguration[] | undefined;
1974
+ }
1975
+ export type InferenceTargetConfiguration =
1976
+ | InferenceTargetConfiguration.ConnectorMember
1977
+ | InferenceTargetConfiguration.ProviderMember
1978
+ | InferenceTargetConfiguration.$UnknownMember;
1979
+ export declare namespace InferenceTargetConfiguration {
1980
+ interface ConnectorMember {
1981
+ connector: InferenceConnectorTargetConfiguration;
1982
+ provider?: never;
1983
+ $unknown?: never;
1984
+ }
1985
+ interface ProviderMember {
1986
+ connector?: never;
1987
+ provider: InferenceProviderTargetConfiguration;
1988
+ $unknown?: never;
1989
+ }
1990
+ interface $UnknownMember {
1991
+ connector?: never;
1992
+ provider?: never;
1993
+ $unknown: [string, any];
1994
+ }
1995
+ interface Visitor<T> {
1996
+ connector: (value: InferenceConnectorTargetConfiguration) => T;
1997
+ provider: (value: InferenceProviderTargetConfiguration) => T;
1841
1998
  _: (name: string, value: any) => T;
1842
1999
  }
1843
2000
  }
@@ -1860,9 +2017,24 @@ export interface ApiGatewayTargetConfiguration {
1860
2017
  stage: string | undefined;
1861
2018
  apiGatewayToolConfiguration: ApiGatewayToolConfiguration | undefined;
1862
2019
  }
1863
- export interface S3Configuration {
1864
- uri?: string | undefined;
1865
- bucketOwnerAccountId?: string | undefined;
2020
+ export interface ConnectorParameterOverride {
2021
+ path: string | undefined;
2022
+ description?: string | undefined;
2023
+ visible?: boolean | undefined;
2024
+ }
2025
+ export interface ConnectorConfiguration {
2026
+ name: string | undefined;
2027
+ description?: string | undefined;
2028
+ parameterValues?: __DocumentType | undefined;
2029
+ parameterOverrides?: ConnectorParameterOverride[] | undefined;
2030
+ }
2031
+ export interface ConnectorSource {
2032
+ connectorId: string | undefined;
2033
+ }
2034
+ export interface ConnectorTargetConfiguration {
2035
+ source: ConnectorSource | undefined;
2036
+ enabled?: string[] | undefined;
2037
+ configurations?: ConnectorConfiguration[] | undefined;
1866
2038
  }
1867
2039
  export type McpToolSchemaConfiguration =
1868
2040
  | McpToolSchemaConfiguration.InlinePayloadMember
@@ -1896,32 +2068,6 @@ export interface McpServerTargetConfiguration {
1896
2068
  listingMode?: ListingMode | undefined;
1897
2069
  resourcePriority?: number | undefined;
1898
2070
  }
1899
- export type ApiSchemaConfiguration =
1900
- | ApiSchemaConfiguration.InlinePayloadMember
1901
- | ApiSchemaConfiguration.S3Member
1902
- | ApiSchemaConfiguration.$UnknownMember;
1903
- export declare namespace ApiSchemaConfiguration {
1904
- interface S3Member {
1905
- s3: S3Configuration;
1906
- inlinePayload?: never;
1907
- $unknown?: never;
1908
- }
1909
- interface InlinePayloadMember {
1910
- s3?: never;
1911
- inlinePayload: string;
1912
- $unknown?: never;
1913
- }
1914
- interface $UnknownMember {
1915
- s3?: never;
1916
- inlinePayload?: never;
1917
- $unknown: [string, any];
1918
- }
1919
- interface Visitor<T> {
1920
- s3: (value: S3Configuration) => T;
1921
- inlinePayload: (value: string) => T;
1922
- _: (name: string, value: any) => T;
1923
- }
1924
- }
1925
2071
  export interface OAuth2AuthorizationData {
1926
2072
  authorizationUrl: string | undefined;
1927
2073
  userId?: string | undefined;
@@ -1975,6 +2121,10 @@ export interface TargetSummary {
1975
2121
  createdAt: Date | undefined;
1976
2122
  updatedAt: Date | undefined;
1977
2123
  resourcePriority?: number | undefined;
2124
+ lastSynchronizedAt?: Date | undefined;
2125
+ authorizationData?: AuthorizationData | undefined;
2126
+ targetType?: TargetType | undefined;
2127
+ listingMode?: ListingMode | undefined;
1978
2128
  }
1979
2129
  export interface ListGatewayTargetsResponse {
1980
2130
  items: TargetSummary[] | undefined;
@@ -2002,6 +2152,64 @@ export interface GetTokenVaultResponse {
2002
2152
  kmsConfiguration: KmsConfiguration | undefined;
2003
2153
  lastModifiedDate: Date | undefined;
2004
2154
  }
2155
+ export interface CreateHarnessEndpointRequest {
2156
+ harnessId: string | undefined;
2157
+ endpointName: string | undefined;
2158
+ targetVersion?: string | undefined;
2159
+ description?: string | undefined;
2160
+ clientToken?: string | undefined;
2161
+ tags?: Record<string, string> | undefined;
2162
+ }
2163
+ export interface HarnessEndpoint {
2164
+ harnessId: string | undefined;
2165
+ harnessName: string | undefined;
2166
+ endpointName: string | undefined;
2167
+ arn: string | undefined;
2168
+ status: HarnessEndpointStatus | undefined;
2169
+ createdAt: Date | undefined;
2170
+ updatedAt: Date | undefined;
2171
+ liveVersion?: string | undefined;
2172
+ targetVersion?: string | undefined;
2173
+ description?: string | undefined;
2174
+ failureReason?: string | undefined;
2175
+ }
2176
+ export interface CreateHarnessEndpointResponse {
2177
+ endpoint: HarnessEndpoint | undefined;
2178
+ }
2179
+ export interface DeleteHarnessEndpointRequest {
2180
+ harnessId: string | undefined;
2181
+ endpointName: string | undefined;
2182
+ clientToken?: string | undefined;
2183
+ }
2184
+ export interface DeleteHarnessEndpointResponse {
2185
+ endpoint: HarnessEndpoint | undefined;
2186
+ }
2187
+ export interface GetHarnessEndpointRequest {
2188
+ harnessId: string | undefined;
2189
+ endpointName: string | undefined;
2190
+ }
2191
+ export interface GetHarnessEndpointResponse {
2192
+ endpoint: HarnessEndpoint | undefined;
2193
+ }
2194
+ export interface ListHarnessEndpointsRequest {
2195
+ harnessId: string | undefined;
2196
+ maxResults?: number | undefined;
2197
+ nextToken?: string | undefined;
2198
+ }
2199
+ export interface ListHarnessEndpointsResponse {
2200
+ endpoints: HarnessEndpoint[] | undefined;
2201
+ nextToken?: string | undefined;
2202
+ }
2203
+ export interface UpdateHarnessEndpointRequest {
2204
+ harnessId: string | undefined;
2205
+ endpointName: string | undefined;
2206
+ targetVersion?: string | undefined;
2207
+ description?: string | undefined;
2208
+ clientToken?: string | undefined;
2209
+ }
2210
+ export interface UpdateHarnessEndpointResponse {
2211
+ endpoint: HarnessEndpoint | undefined;
2212
+ }
2005
2213
  export interface HarnessAgentCoreRuntimeEnvironmentRequest {
2006
2214
  lifecycleConfiguration?: LifecycleConfiguration | undefined;
2007
2215
  networkConfiguration?: NetworkConfiguration | undefined;
@@ -2056,22 +2264,49 @@ export interface HarnessAgentCoreMemoryConfiguration {
2056
2264
  | Record<string, HarnessAgentCoreMemoryRetrievalConfig>
2057
2265
  | undefined;
2058
2266
  }
2267
+ export interface HarnessDisabledMemoryConfiguration {}
2268
+ export interface HarnessManagedMemoryConfiguration {
2269
+ arn?: string | undefined;
2270
+ strategies?: HarnessManagedMemoryStrategyType[] | undefined;
2271
+ eventExpiryDuration?: number | undefined;
2272
+ encryptionKeyArn?: string | undefined;
2273
+ }
2059
2274
  export type HarnessMemoryConfiguration =
2060
2275
  | HarnessMemoryConfiguration.AgentCoreMemoryConfigurationMember
2276
+ | HarnessMemoryConfiguration.DisabledMember
2277
+ | HarnessMemoryConfiguration.ManagedMemoryConfigurationMember
2061
2278
  | HarnessMemoryConfiguration.$UnknownMember;
2062
2279
  export declare namespace HarnessMemoryConfiguration {
2063
2280
  interface AgentCoreMemoryConfigurationMember {
2064
2281
  agentCoreMemoryConfiguration: HarnessAgentCoreMemoryConfiguration;
2282
+ managedMemoryConfiguration?: never;
2283
+ disabled?: never;
2284
+ $unknown?: never;
2285
+ }
2286
+ interface ManagedMemoryConfigurationMember {
2287
+ agentCoreMemoryConfiguration?: never;
2288
+ managedMemoryConfiguration: HarnessManagedMemoryConfiguration;
2289
+ disabled?: never;
2290
+ $unknown?: never;
2291
+ }
2292
+ interface DisabledMember {
2293
+ agentCoreMemoryConfiguration?: never;
2294
+ managedMemoryConfiguration?: never;
2295
+ disabled: HarnessDisabledMemoryConfiguration;
2065
2296
  $unknown?: never;
2066
2297
  }
2067
2298
  interface $UnknownMember {
2068
2299
  agentCoreMemoryConfiguration?: never;
2300
+ managedMemoryConfiguration?: never;
2301
+ disabled?: never;
2069
2302
  $unknown: [string, any];
2070
2303
  }
2071
2304
  interface Visitor<T> {
2072
2305
  agentCoreMemoryConfiguration: (
2073
2306
  value: HarnessAgentCoreMemoryConfiguration
2074
2307
  ) => T;
2308
+ managedMemoryConfiguration: (value: HarnessManagedMemoryConfiguration) => T;
2309
+ disabled: (value: HarnessDisabledMemoryConfiguration) => T;
2075
2310
  _: (name: string, value: any) => T;
2076
2311
  }
2077
2312
  }
@@ -2159,375 +2394,7 @@ export declare namespace HarnessModelConfiguration {
2159
2394
  _: (name: string, value: any) => T;
2160
2395
  }
2161
2396
  }
2162
- export interface HarnessSkillGitAuth {
2163
- credentialArn: string | undefined;
2164
- username?: string | undefined;
2165
- }
2166
- export interface HarnessSkillGitSource {
2167
- url: string | undefined;
2168
- path?: string | undefined;
2169
- auth?: HarnessSkillGitAuth | undefined;
2170
- }
2171
- export interface HarnessSkillS3Source {
2172
- uri: string | undefined;
2173
- }
2174
- export type HarnessSkill =
2175
- | HarnessSkill.GitMember
2176
- | HarnessSkill.PathMember
2177
- | HarnessSkill.S3Member
2178
- | HarnessSkill.$UnknownMember;
2179
- export declare namespace HarnessSkill {
2180
- interface PathMember {
2181
- path: string;
2182
- s3?: never;
2183
- git?: never;
2184
- $unknown?: never;
2185
- }
2186
- interface S3Member {
2187
- path?: never;
2188
- s3: HarnessSkillS3Source;
2189
- git?: never;
2190
- $unknown?: never;
2191
- }
2192
- interface GitMember {
2193
- path?: never;
2194
- s3?: never;
2195
- git: HarnessSkillGitSource;
2196
- $unknown?: never;
2197
- }
2198
- interface $UnknownMember {
2199
- path?: never;
2200
- s3?: never;
2201
- git?: never;
2202
- $unknown: [string, any];
2203
- }
2204
- interface Visitor<T> {
2205
- path: (value: string) => T;
2206
- s3: (value: HarnessSkillS3Source) => T;
2207
- git: (value: HarnessSkillGitSource) => T;
2208
- _: (name: string, value: any) => T;
2209
- }
2210
- }
2211
- export type HarnessSystemContentBlock =
2212
- | HarnessSystemContentBlock.TextMember
2213
- | HarnessSystemContentBlock.$UnknownMember;
2214
- export declare namespace HarnessSystemContentBlock {
2215
- interface TextMember {
2216
- text: string;
2217
- $unknown?: never;
2218
- }
2219
- interface $UnknownMember {
2220
- text?: never;
2221
- $unknown: [string, any];
2222
- }
2223
- interface Visitor<T> {
2224
- text: (value: string) => T;
2225
- _: (name: string, value: any) => T;
2226
- }
2227
- }
2228
- export interface HarnessAgentCoreBrowserConfig {
2229
- browserArn?: string | undefined;
2230
- }
2231
- export interface HarnessAgentCoreCodeInterpreterConfig {
2232
- codeInterpreterArn?: string | undefined;
2397
+ export interface HarnessSkillAwsSkillsSource {
2398
+ paths?: string[] | undefined;
2233
2399
  }
2234
2400
  export interface Unit {}
2235
- export type HarnessGatewayOutboundAuth =
2236
- | HarnessGatewayOutboundAuth.AwsIamMember
2237
- | HarnessGatewayOutboundAuth.NoneMember
2238
- | HarnessGatewayOutboundAuth.OauthMember
2239
- | HarnessGatewayOutboundAuth.$UnknownMember;
2240
- export declare namespace HarnessGatewayOutboundAuth {
2241
- interface AwsIamMember {
2242
- awsIam: Unit;
2243
- none?: never;
2244
- oauth?: never;
2245
- $unknown?: never;
2246
- }
2247
- interface NoneMember {
2248
- awsIam?: never;
2249
- none: Unit;
2250
- oauth?: never;
2251
- $unknown?: never;
2252
- }
2253
- interface OauthMember {
2254
- awsIam?: never;
2255
- none?: never;
2256
- oauth: OAuthCredentialProvider;
2257
- $unknown?: never;
2258
- }
2259
- interface $UnknownMember {
2260
- awsIam?: never;
2261
- none?: never;
2262
- oauth?: never;
2263
- $unknown: [string, any];
2264
- }
2265
- interface Visitor<T> {
2266
- awsIam: (value: Unit) => T;
2267
- none: (value: Unit) => T;
2268
- oauth: (value: OAuthCredentialProvider) => T;
2269
- _: (name: string, value: any) => T;
2270
- }
2271
- }
2272
- export interface HarnessAgentCoreGatewayConfig {
2273
- gatewayArn: string | undefined;
2274
- outboundAuth?: HarnessGatewayOutboundAuth | undefined;
2275
- }
2276
- export interface HarnessInlineFunctionConfig {
2277
- description: string | undefined;
2278
- inputSchema: __DocumentType | undefined;
2279
- }
2280
- export interface HarnessRemoteMcpConfig {
2281
- url: string | undefined;
2282
- headers?: Record<string, string> | undefined;
2283
- }
2284
- export type HarnessToolConfiguration =
2285
- | HarnessToolConfiguration.AgentCoreBrowserMember
2286
- | HarnessToolConfiguration.AgentCoreCodeInterpreterMember
2287
- | HarnessToolConfiguration.AgentCoreGatewayMember
2288
- | HarnessToolConfiguration.InlineFunctionMember
2289
- | HarnessToolConfiguration.RemoteMcpMember
2290
- | HarnessToolConfiguration.$UnknownMember;
2291
- export declare namespace HarnessToolConfiguration {
2292
- interface RemoteMcpMember {
2293
- remoteMcp: HarnessRemoteMcpConfig;
2294
- agentCoreBrowser?: never;
2295
- agentCoreGateway?: never;
2296
- inlineFunction?: never;
2297
- agentCoreCodeInterpreter?: never;
2298
- $unknown?: never;
2299
- }
2300
- interface AgentCoreBrowserMember {
2301
- remoteMcp?: never;
2302
- agentCoreBrowser: HarnessAgentCoreBrowserConfig;
2303
- agentCoreGateway?: never;
2304
- inlineFunction?: never;
2305
- agentCoreCodeInterpreter?: never;
2306
- $unknown?: never;
2307
- }
2308
- interface AgentCoreGatewayMember {
2309
- remoteMcp?: never;
2310
- agentCoreBrowser?: never;
2311
- agentCoreGateway: HarnessAgentCoreGatewayConfig;
2312
- inlineFunction?: never;
2313
- agentCoreCodeInterpreter?: never;
2314
- $unknown?: never;
2315
- }
2316
- interface InlineFunctionMember {
2317
- remoteMcp?: never;
2318
- agentCoreBrowser?: never;
2319
- agentCoreGateway?: never;
2320
- inlineFunction: HarnessInlineFunctionConfig;
2321
- agentCoreCodeInterpreter?: never;
2322
- $unknown?: never;
2323
- }
2324
- interface AgentCoreCodeInterpreterMember {
2325
- remoteMcp?: never;
2326
- agentCoreBrowser?: never;
2327
- agentCoreGateway?: never;
2328
- inlineFunction?: never;
2329
- agentCoreCodeInterpreter: HarnessAgentCoreCodeInterpreterConfig;
2330
- $unknown?: never;
2331
- }
2332
- interface $UnknownMember {
2333
- remoteMcp?: never;
2334
- agentCoreBrowser?: never;
2335
- agentCoreGateway?: never;
2336
- inlineFunction?: never;
2337
- agentCoreCodeInterpreter?: never;
2338
- $unknown: [string, any];
2339
- }
2340
- interface Visitor<T> {
2341
- remoteMcp: (value: HarnessRemoteMcpConfig) => T;
2342
- agentCoreBrowser: (value: HarnessAgentCoreBrowserConfig) => T;
2343
- agentCoreGateway: (value: HarnessAgentCoreGatewayConfig) => T;
2344
- inlineFunction: (value: HarnessInlineFunctionConfig) => T;
2345
- agentCoreCodeInterpreter: (
2346
- value: HarnessAgentCoreCodeInterpreterConfig
2347
- ) => T;
2348
- _: (name: string, value: any) => T;
2349
- }
2350
- }
2351
- export interface HarnessTool {
2352
- type: HarnessToolType | undefined;
2353
- name?: string | undefined;
2354
- config?: HarnessToolConfiguration | undefined;
2355
- }
2356
- export interface HarnessSlidingWindowConfiguration {
2357
- messagesCount?: number | undefined;
2358
- }
2359
- export interface HarnessSummarizationConfiguration {
2360
- summaryRatio?: number | undefined;
2361
- preserveRecentMessages?: number | undefined;
2362
- summarizationSystemPrompt?: string | undefined;
2363
- }
2364
- export type HarnessTruncationStrategyConfiguration =
2365
- | HarnessTruncationStrategyConfiguration.SlidingWindowMember
2366
- | HarnessTruncationStrategyConfiguration.SummarizationMember
2367
- | HarnessTruncationStrategyConfiguration.$UnknownMember;
2368
- export declare namespace HarnessTruncationStrategyConfiguration {
2369
- interface SlidingWindowMember {
2370
- slidingWindow: HarnessSlidingWindowConfiguration;
2371
- summarization?: never;
2372
- $unknown?: never;
2373
- }
2374
- interface SummarizationMember {
2375
- slidingWindow?: never;
2376
- summarization: HarnessSummarizationConfiguration;
2377
- $unknown?: never;
2378
- }
2379
- interface $UnknownMember {
2380
- slidingWindow?: never;
2381
- summarization?: never;
2382
- $unknown: [string, any];
2383
- }
2384
- interface Visitor<T> {
2385
- slidingWindow: (value: HarnessSlidingWindowConfiguration) => T;
2386
- summarization: (value: HarnessSummarizationConfiguration) => T;
2387
- _: (name: string, value: any) => T;
2388
- }
2389
- }
2390
- export interface HarnessTruncationConfiguration {
2391
- strategy: HarnessTruncationStrategy | undefined;
2392
- config?: HarnessTruncationStrategyConfiguration | undefined;
2393
- }
2394
- export interface CreateHarnessRequest {
2395
- harnessName: string | undefined;
2396
- clientToken?: string | undefined;
2397
- executionRoleArn: string | undefined;
2398
- environment?: HarnessEnvironmentProviderRequest | undefined;
2399
- environmentArtifact?: HarnessEnvironmentArtifact | undefined;
2400
- environmentVariables?: Record<string, string> | undefined;
2401
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
2402
- model?: HarnessModelConfiguration | undefined;
2403
- systemPrompt?: HarnessSystemContentBlock[] | undefined;
2404
- tools?: HarnessTool[] | undefined;
2405
- skills?: HarnessSkill[] | undefined;
2406
- allowedTools?: string[] | undefined;
2407
- memory?: HarnessMemoryConfiguration | undefined;
2408
- truncation?: HarnessTruncationConfiguration | undefined;
2409
- maxIterations?: number | undefined;
2410
- maxTokens?: number | undefined;
2411
- timeoutSeconds?: number | undefined;
2412
- tags?: Record<string, string> | undefined;
2413
- }
2414
- export interface HarnessAgentCoreRuntimeEnvironment {
2415
- agentRuntimeArn: string | undefined;
2416
- agentRuntimeName: string | undefined;
2417
- agentRuntimeId: string | undefined;
2418
- lifecycleConfiguration: LifecycleConfiguration | undefined;
2419
- networkConfiguration: NetworkConfiguration | undefined;
2420
- filesystemConfigurations?: FilesystemConfiguration[] | undefined;
2421
- }
2422
- export type HarnessEnvironmentProvider =
2423
- | HarnessEnvironmentProvider.AgentCoreRuntimeEnvironmentMember
2424
- | HarnessEnvironmentProvider.$UnknownMember;
2425
- export declare namespace HarnessEnvironmentProvider {
2426
- interface AgentCoreRuntimeEnvironmentMember {
2427
- agentCoreRuntimeEnvironment: HarnessAgentCoreRuntimeEnvironment;
2428
- $unknown?: never;
2429
- }
2430
- interface $UnknownMember {
2431
- agentCoreRuntimeEnvironment?: never;
2432
- $unknown: [string, any];
2433
- }
2434
- interface Visitor<T> {
2435
- agentCoreRuntimeEnvironment: (
2436
- value: HarnessAgentCoreRuntimeEnvironment
2437
- ) => T;
2438
- _: (name: string, value: any) => T;
2439
- }
2440
- }
2441
- export interface Harness {
2442
- harnessId: string | undefined;
2443
- harnessName: string | undefined;
2444
- arn: string | undefined;
2445
- status: HarnessStatus | undefined;
2446
- executionRoleArn: string | undefined;
2447
- createdAt: Date | undefined;
2448
- updatedAt: Date | undefined;
2449
- model: HarnessModelConfiguration | undefined;
2450
- systemPrompt: HarnessSystemContentBlock[] | undefined;
2451
- tools: HarnessTool[] | undefined;
2452
- skills: HarnessSkill[] | undefined;
2453
- allowedTools: string[] | undefined;
2454
- truncation: HarnessTruncationConfiguration | undefined;
2455
- environment: HarnessEnvironmentProvider | undefined;
2456
- environmentArtifact?: HarnessEnvironmentArtifact | undefined;
2457
- environmentVariables?: Record<string, string> | undefined;
2458
- authorizerConfiguration?: AuthorizerConfiguration | undefined;
2459
- memory?: HarnessMemoryConfiguration | undefined;
2460
- maxIterations?: number | undefined;
2461
- maxTokens?: number | undefined;
2462
- timeoutSeconds?: number | undefined;
2463
- failureReason?: string | undefined;
2464
- }
2465
- export interface CreateHarnessResponse {
2466
- harness: Harness | undefined;
2467
- }
2468
- export interface DeleteHarnessRequest {
2469
- harnessId: string | undefined;
2470
- clientToken?: string | undefined;
2471
- }
2472
- export interface DeleteHarnessResponse {
2473
- harness?: Harness | undefined;
2474
- }
2475
- export interface GetHarnessRequest {
2476
- harnessId: string | undefined;
2477
- }
2478
- export interface GetHarnessResponse {
2479
- harness: Harness | undefined;
2480
- }
2481
- export interface ListHarnessesRequest {
2482
- maxResults?: number | undefined;
2483
- nextToken?: string | undefined;
2484
- }
2485
- export interface HarnessSummary {
2486
- harnessId: string | undefined;
2487
- harnessName: string | undefined;
2488
- arn: string | undefined;
2489
- status: HarnessStatus | undefined;
2490
- createdAt: Date | undefined;
2491
- updatedAt: Date | undefined;
2492
- }
2493
- export interface ListHarnessesResponse {
2494
- harnesses: HarnessSummary[] | undefined;
2495
- nextToken?: string | undefined;
2496
- }
2497
- export interface UpdatedAuthorizerConfiguration {
2498
- optionalValue?: AuthorizerConfiguration | undefined;
2499
- }
2500
- export interface UpdatedHarnessEnvironmentArtifact {
2501
- optionalValue?: HarnessEnvironmentArtifact | undefined;
2502
- }
2503
- export interface UpdatedHarnessMemoryConfiguration {
2504
- optionalValue?: HarnessMemoryConfiguration | undefined;
2505
- }
2506
- export interface UpdateHarnessRequest {
2507
- harnessId: string | undefined;
2508
- clientToken?: string | undefined;
2509
- executionRoleArn?: string | undefined;
2510
- environment?: HarnessEnvironmentProviderRequest | undefined;
2511
- environmentArtifact?: UpdatedHarnessEnvironmentArtifact | undefined;
2512
- environmentVariables?: Record<string, string> | undefined;
2513
- authorizerConfiguration?: UpdatedAuthorizerConfiguration | undefined;
2514
- model?: HarnessModelConfiguration | undefined;
2515
- systemPrompt?: HarnessSystemContentBlock[] | undefined;
2516
- tools?: HarnessTool[] | undefined;
2517
- skills?: HarnessSkill[] | undefined;
2518
- allowedTools?: string[] | undefined;
2519
- memory?: UpdatedHarnessMemoryConfiguration | undefined;
2520
- truncation?: HarnessTruncationConfiguration | undefined;
2521
- maxIterations?: number | undefined;
2522
- maxTokens?: number | undefined;
2523
- timeoutSeconds?: number | undefined;
2524
- }
2525
- export interface UpdateHarnessResponse {
2526
- harness: Harness | undefined;
2527
- }
2528
- export interface ListTagsForResourceRequest {
2529
- resourceArn: string | undefined;
2530
- }
2531
- export interface ListTagsForResourceResponse {
2532
- tags?: Record<string, string> | undefined;
2533
- }