@aws-sdk/client-bedrock-agentcore-control 3.1104.0 → 3.1105.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 (133) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +728 -90
  3. package/dist-es/BedrockAgentCoreControl.js +30 -0
  4. package/dist-es/commands/BatchPutGatewayRateLimitsCommand.js +4 -0
  5. package/dist-es/commands/CreateCapacityProviderCommand.js +4 -0
  6. package/dist-es/commands/CreateGatewayRateLimitCommand.js +4 -0
  7. package/dist-es/commands/DeleteCapacityProviderCommand.js +4 -0
  8. package/dist-es/commands/DeleteGatewayRateLimitCommand.js +4 -0
  9. package/dist-es/commands/GetCapacityProviderCommand.js +4 -0
  10. package/dist-es/commands/GetGatewayRateLimitCommand.js +4 -0
  11. package/dist-es/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.js +4 -0
  12. package/dist-es/commands/ListCapacityProvidersCommand.js +4 -0
  13. package/dist-es/commands/ListGatewayRateLimitsCommand.js +4 -0
  14. package/dist-es/commands/UpdateCapacityProviderCommand.js +4 -0
  15. package/dist-es/commands/UpdateGatewayRateLimitCommand.js +4 -0
  16. package/dist-es/commands/index.js +12 -0
  17. package/dist-es/models/enums.js +47 -0
  18. package/dist-es/models/errors.js +13 -0
  19. package/dist-es/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.js +4 -0
  20. package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
  21. package/dist-es/pagination/ListGatewayRateLimitsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/schemas/schemas_0.js +531 -90
  24. package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
  25. package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
  26. package/dist-types/commands/BatchPutGatewayRateLimitsCommand.d.ts +164 -0
  27. package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +7 -0
  28. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +189 -0
  29. package/dist-types/commands/CreateGatewayRateLimitCommand.d.ts +156 -0
  30. package/dist-types/commands/CreateHarnessCommand.d.ts +8 -0
  31. package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -1
  34. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteGatewayRateLimitCommand.d.ts +91 -0
  37. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteHarnessCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAgentRuntimeCommand.d.ts +7 -0
  42. package/dist-types/commands/GetCapacityProviderCommand.d.ts +180 -0
  43. package/dist-types/commands/GetGatewayRateLimitCommand.d.ts +120 -0
  44. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  45. package/dist-types/commands/GetHarnessCommand.d.ts +4 -0
  46. package/dist-types/commands/GetHarnessEndpointCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPolicyGenerationCommand.d.ts +2 -1
  49. package/dist-types/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  50. package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -1
  51. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  52. package/dist-types/commands/GetTokenVaultCommand.d.ts +1 -1
  53. package/dist-types/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +92 -0
  54. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +93 -0
  55. package/dist-types/commands/ListGatewayRateLimitsCommand.d.ts +126 -0
  56. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -1
  63. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
  65. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +7 -0
  67. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +101 -0
  68. package/dist-types/commands/UpdateGatewayRateLimitCommand.d.ts +149 -0
  69. package/dist-types/commands/UpdateHarnessCommand.d.ts +8 -0
  70. package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
  72. package/dist-types/commands/index.d.ts +12 -0
  73. package/dist-types/models/enums.d.ts +111 -0
  74. package/dist-types/models/errors.d.ts +13 -0
  75. package/dist-types/models/models_0.d.ts +2568 -2358
  76. package/dist-types/models/models_1.d.ts +4322 -4707
  77. package/dist-types/models/models_2.d.ts +1440 -3
  78. package/dist-types/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListGatewayRateLimitsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +3 -0
  82. package/dist-types/schemas/schemas_0.d.ts +61 -0
  83. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
  84. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
  85. package/dist-types/ts3.4/commands/BatchPutGatewayRateLimitsCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/CreateGatewayRateLimitCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/DeleteGatewayRateLimitCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/GetGatewayRateLimitCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/GetPolicyGenerationSummaryCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/GetPolicySummaryCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetTokenVaultCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListAgentRuntimeVersionsByCapacityProviderCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +39 -0
  107. package/dist-types/ts3.4/commands/ListGatewayRateLimitsCommand.d.ts +39 -0
  108. package/dist-types/ts3.4/commands/ListGatewayTargetsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListPolicyGenerationSummariesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/ListPolicySummariesCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/UpdateGatewayRateLimitCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  123. package/dist-types/ts3.4/models/enums.d.ts +59 -0
  124. package/dist-types/ts3.4/models/errors.d.ts +6 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +345 -323
  126. package/dist-types/ts3.4/models/models_1.d.ts +325 -404
  127. package/dist-types/ts3.4/models/models_2.d.ts +403 -13
  128. package/dist-types/ts3.4/pagination/ListAgentRuntimeVersionsByCapacityProviderPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListGatewayRateLimitsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  132. package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  133. package/package.json +1 -1
@@ -0,0 +1,189 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateCapacityProviderInput, CreateCapacityProviderOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateCapacityProviderCommand}.
11
+ */
12
+ export interface CreateCapacityProviderCommandInput extends CreateCapacityProviderInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateCapacityProviderCommand}.
18
+ */
19
+ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateCapacityProviderCommand_base: {
22
+ new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a capacity provider. A capacity provider defines the Amazon EC2 infrastructure for AgentCore Runtime, including the operating system, allowed instance types, networking, and storage. It also specifies the IAM permissions that AgentCore uses to manage those instances.</p> <p>The capacity provider name must be unique within your account. After you create the capacity provider, it enters a <code>CREATING</code> state and transitions to <code>READY</code> when it is available for use.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreControlClient, CreateCapacityProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
32
+ * // const { BedrockAgentCoreControlClient, CreateCapacityProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
33
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
34
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
35
+ * const client = new BedrockAgentCoreControlClient(config);
36
+ * const input = { // CreateCapacityProviderInput
37
+ * name: "STRING_VALUE", // required
38
+ * description: "STRING_VALUE",
39
+ * permissionsConfiguration: { // PermissionsConfiguration
40
+ * capacityProviderOperatorRoleArn: "STRING_VALUE", // required
41
+ * },
42
+ * clientToken: "STRING_VALUE",
43
+ * tags: { // TagsMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * computeConfiguration: { // ComputeConfiguration Union: only one key present
47
+ * ec2Configuration: { // Ec2Configuration
48
+ * launchTemplateSource: { // LaunchTemplateSource Union: only one key present
49
+ * launchParameters: { // LaunchParameters
50
+ * operatingSystem: "LINUX_X86_64" || "LINUX_ARM64", // required
51
+ * instanceRequirements: { // InstanceRequirements
52
+ * allowedInstanceTypes: [ // InstanceTypeList // required
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * },
56
+ * ephemeralVolumes: [ // EphemeralBlockDeviceMappingList
57
+ * { // EphemeralBlockDeviceMapping
58
+ * deviceName: "STRING_VALUE",
59
+ * virtualName: "STRING_VALUE",
60
+ * ebs: { // EphemeralEBSVolumeConfiguration
61
+ * volumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
62
+ * iops: Number("int"),
63
+ * throughput: Number("int"),
64
+ * encrypted: true || false,
65
+ * kmsKeyId: "STRING_VALUE",
66
+ * snapshotId: "STRING_VALUE",
67
+ * volumeSize: Number("int"),
68
+ * volumeInitializationRate: Number("int"),
69
+ * ebsCardIndex: Number("int"),
70
+ * },
71
+ * },
72
+ * ],
73
+ * monitoring: "BASIC" || "DETAILED",
74
+ * licenseSpecifications: [ // LicenseSpecificationList
75
+ * { // LicenseSpecification
76
+ * licenseConfigurationArn: "STRING_VALUE", // required
77
+ * },
78
+ * ],
79
+ * capacityReservationSpecification: { // CapacityReservationSpecification
80
+ * capacityReservationPreference: "capacity-reservations-only" || "open" || "none",
81
+ * capacityReservationTarget: { // CapacityReservationTarget
82
+ * capacityReservationId: "STRING_VALUE",
83
+ * capacityReservationResourceGroupArn: "STRING_VALUE",
84
+ * },
85
+ * },
86
+ * sshKeyName: "STRING_VALUE",
87
+ * instanceProfileArn: "STRING_VALUE",
88
+ * propagatedTags: {
89
+ * "<keys>": "STRING_VALUE",
90
+ * },
91
+ * },
92
+ * },
93
+ * vpcConfiguration: { // VpcConfiguration
94
+ * subnets: [ // SubnetIdList // required
95
+ * "STRING_VALUE",
96
+ * ],
97
+ * securityGroups: [ // SecurityGroupIdList // required
98
+ * "STRING_VALUE",
99
+ * ],
100
+ * },
101
+ * volumes: [ // VolumeConfigurationList
102
+ * { // VolumeConfiguration Union: only one key present
103
+ * ebsConfiguration: { // EbsVolumeConfiguration
104
+ * name: "STRING_VALUE", // required
105
+ * sizeGiB: Number("int"), // required
106
+ * volumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
107
+ * iops: Number("int"),
108
+ * throughput: Number("int"),
109
+ * encrypted: true || false,
110
+ * kmsKeyId: "STRING_VALUE",
111
+ * snapshotId: "STRING_VALUE",
112
+ * },
113
+ * },
114
+ * ],
115
+ * lifecycleConfiguration: { // InstanceLifecycleConfiguration
116
+ * idleInstanceTimeout: Number("int"),
117
+ * maxLifetime: Number("int"),
118
+ * },
119
+ * rootVolume: { // RootVolumeConfiguration
120
+ * volumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
121
+ * iops: Number("int"),
122
+ * throughput: Number("int"),
123
+ * encrypted: true || false,
124
+ * kmsKeyId: "STRING_VALUE",
125
+ * freeSpaceGiB: Number("int"),
126
+ * },
127
+ * },
128
+ * },
129
+ * };
130
+ * const command = new CreateCapacityProviderCommand(input);
131
+ * const response = await client.send(command);
132
+ * // { // CreateCapacityProviderOutput
133
+ * // capacityProviderId: "STRING_VALUE", // required
134
+ * // capacityProviderArn: "STRING_VALUE", // required
135
+ * // name: "STRING_VALUE", // required
136
+ * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
137
+ * // };
138
+ *
139
+ * ```
140
+ *
141
+ * @param CreateCapacityProviderCommandInput - {@link CreateCapacityProviderCommandInput}
142
+ * @returns {@link CreateCapacityProviderCommandOutput}
143
+ * @see {@link CreateCapacityProviderCommandInput} for command's `input` shape.
144
+ * @see {@link CreateCapacityProviderCommandOutput} for command's `response` shape.
145
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
146
+ *
147
+ * @throws {@link AccessDeniedException} (client fault)
148
+ * <p>This exception is thrown when a request is denied per access permissions</p>
149
+ *
150
+ * @throws {@link ConflictException} (client fault)
151
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
152
+ *
153
+ * @throws {@link InternalServerException} (server fault)
154
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
155
+ *
156
+ * @throws {@link ResourceNotFoundException} (client fault)
157
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
158
+ *
159
+ * @throws {@link RetryableConflictException} (client fault)
160
+ * <p>The operation failed because of a conflicting request. Retry the request.</p>
161
+ *
162
+ * @throws {@link ServiceQuotaExceededException} (client fault)
163
+ * <p>This exception is thrown when a request is made beyond the service quota</p>
164
+ *
165
+ * @throws {@link ThrottlingException} (client fault)
166
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
167
+ *
168
+ * @throws {@link ValidationException} (client fault)
169
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
170
+ *
171
+ * @throws {@link BedrockAgentCoreControlServiceException}
172
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
173
+ *
174
+ *
175
+ * @public
176
+ */
177
+ export declare class CreateCapacityProviderCommand extends CreateCapacityProviderCommand_base {
178
+ /** @internal type navigation helper, not in runtime. */
179
+ protected static __types: {
180
+ api: {
181
+ input: CreateCapacityProviderInput;
182
+ output: CreateCapacityProviderOutput;
183
+ };
184
+ sdk: {
185
+ input: CreateCapacityProviderCommandInput;
186
+ output: CreateCapacityProviderCommandOutput;
187
+ };
188
+ };
189
+ }
@@ -0,0 +1,156 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateGatewayRateLimitRequest, CreateGatewayRateLimitResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateGatewayRateLimitCommand}.
11
+ */
12
+ export interface CreateGatewayRateLimitCommandInput extends CreateGatewayRateLimitRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateGatewayRateLimitCommand}.
18
+ */
19
+ export interface CreateGatewayRateLimitCommandOutput extends CreateGatewayRateLimitResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateGatewayRateLimitCommand_base: {
22
+ new (input: CreateGatewayRateLimitCommandInput): import("@smithy/core/client").CommandImpl<CreateGatewayRateLimitCommandInput, CreateGatewayRateLimitCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateGatewayRateLimitCommandInput): import("@smithy/core/client").CommandImpl<CreateGatewayRateLimitCommandInput, CreateGatewayRateLimitCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a rate limit for a gateway. Rate limits define throttling rules for each dimension that control request rates, token consumption rates, and concurrent connections through the gateway.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreControlClient, CreateGatewayRateLimitCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
32
+ * // const { BedrockAgentCoreControlClient, CreateGatewayRateLimitCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
33
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
34
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
35
+ * const client = new BedrockAgentCoreControlClient(config);
36
+ * const input = { // CreateGatewayRateLimitRequest
37
+ * gatewayIdentifier: "STRING_VALUE", // required
38
+ * clientToken: "STRING_VALUE",
39
+ * rateLimitId: "STRING_VALUE",
40
+ * description: "STRING_VALUE",
41
+ * dimensionKeys: [ // DimensionKeys // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * entries: [ // LimitEntries // required
45
+ * { // LimitEntry
46
+ * dimensions: { // Dimensions // required
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * requests: [ // RateConfigs
50
+ * { // RateConfig
51
+ * rate: Number("double"), // required
52
+ * period: "second" || "minute", // required
53
+ * },
54
+ * ],
55
+ * tokens: [
56
+ * {
57
+ * rate: Number("double"), // required
58
+ * period: "second" || "minute", // required
59
+ * },
60
+ * ],
61
+ * connections: [
62
+ * {
63
+ * rate: Number("double"), // required
64
+ * period: "second" || "minute", // required
65
+ * },
66
+ * ],
67
+ * },
68
+ * ],
69
+ * };
70
+ * const command = new CreateGatewayRateLimitCommand(input);
71
+ * const response = await client.send(command);
72
+ * // { // CreateGatewayRateLimitResponse
73
+ * // rateLimitId: "STRING_VALUE", // required
74
+ * // gatewayIdentifier: "STRING_VALUE", // required
75
+ * // description: "STRING_VALUE",
76
+ * // dimensionKeys: [ // DimensionKeys // required
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // entries: [ // LimitEntries // required
80
+ * // { // LimitEntry
81
+ * // dimensions: { // Dimensions // required
82
+ * // "<keys>": "STRING_VALUE",
83
+ * // },
84
+ * // requests: [ // RateConfigs
85
+ * // { // RateConfig
86
+ * // rate: Number("double"), // required
87
+ * // period: "second" || "minute", // required
88
+ * // },
89
+ * // ],
90
+ * // tokens: [
91
+ * // {
92
+ * // rate: Number("double"), // required
93
+ * // period: "second" || "minute", // required
94
+ * // },
95
+ * // ],
96
+ * // connections: [
97
+ * // {
98
+ * // rate: Number("double"), // required
99
+ * // period: "second" || "minute", // required
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // ],
104
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
105
+ * // createdAt: new Date("TIMESTAMP"), // required
106
+ * // updatedAt: new Date("TIMESTAMP"), // required
107
+ * // };
108
+ *
109
+ * ```
110
+ *
111
+ * @param CreateGatewayRateLimitCommandInput - {@link CreateGatewayRateLimitCommandInput}
112
+ * @returns {@link CreateGatewayRateLimitCommandOutput}
113
+ * @see {@link CreateGatewayRateLimitCommandInput} for command's `input` shape.
114
+ * @see {@link CreateGatewayRateLimitCommandOutput} for command's `response` shape.
115
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
116
+ *
117
+ * @throws {@link AccessDeniedException} (client fault)
118
+ * <p>This exception is thrown when a request is denied per access permissions</p>
119
+ *
120
+ * @throws {@link ConflictException} (client fault)
121
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
122
+ *
123
+ * @throws {@link InternalServerException} (server fault)
124
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
125
+ *
126
+ * @throws {@link ResourceNotFoundException} (client fault)
127
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
128
+ *
129
+ * @throws {@link ServiceQuotaExceededException} (client fault)
130
+ * <p>This exception is thrown when a request is made beyond the service quota</p>
131
+ *
132
+ * @throws {@link ThrottlingException} (client fault)
133
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
134
+ *
135
+ * @throws {@link ValidationException} (client fault)
136
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
137
+ *
138
+ * @throws {@link BedrockAgentCoreControlServiceException}
139
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
140
+ *
141
+ *
142
+ * @public
143
+ */
144
+ export declare class CreateGatewayRateLimitCommand extends CreateGatewayRateLimitCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: CreateGatewayRateLimitRequest;
149
+ output: CreateGatewayRateLimitResponse;
150
+ };
151
+ sdk: {
152
+ input: CreateGatewayRateLimitCommandInput;
153
+ output: CreateGatewayRateLimitCommandOutput;
154
+ };
155
+ };
156
+ }
@@ -68,6 +68,10 @@ declare const CreateHarnessCommand_base: {
68
68
  * accessPointArn: "STRING_VALUE", // required
69
69
  * mountPath: "STRING_VALUE", // required
70
70
  * },
71
+ * capacityProviderVolume: { // CapacityProviderVolumeConfiguration
72
+ * volumeName: "STRING_VALUE", // required
73
+ * mountPath: "STRING_VALUE", // required
74
+ * },
71
75
  * },
72
76
  * ],
73
77
  * },
@@ -481,6 +485,10 @@ declare const CreateHarnessCommand_base: {
481
485
  * // accessPointArn: "STRING_VALUE", // required
482
486
  * // mountPath: "STRING_VALUE", // required
483
487
  * // },
488
+ * // capacityProviderVolume: { // CapacityProviderVolumeConfiguration
489
+ * // volumeName: "STRING_VALUE", // required
490
+ * // mountPath: "STRING_VALUE", // required
491
+ * // },
484
492
  * // },
485
493
  * // ],
486
494
  * // },
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateHarnessEndpointRequest, CreateHarnessEndpointResponse } from "../models/models_0";
2
+ import type { CreateHarnessEndpointRequest, CreateHarnessEndpointResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreatePolicyRequest, CreatePolicyResponse } from "../models/models_1";
2
+ import type { CreatePolicyRequest, CreatePolicyResponse } from "../models/models_2";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -24,7 +24,7 @@ declare const DeleteAgentRuntimeCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes an Amazon Bedrock AgentCore Runtime.</p>
27
+ * <p>Deletes an Amazon Bedrock AgentCore Runtime, or a single version of an AgentCore Runtime when you provide the version qualifier.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -35,6 +35,7 @@ declare const DeleteAgentRuntimeCommand_base: {
35
35
  * const client = new BedrockAgentCoreControlClient(config);
36
36
  * const input = { // DeleteAgentRuntimeRequest
37
37
  * agentRuntimeId: "STRING_VALUE", // required
38
+ * agentRuntimeVersion: "STRING_VALUE",
38
39
  * clientToken: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new DeleteAgentRuntimeCommand(input);
@@ -42,6 +43,7 @@ declare const DeleteAgentRuntimeCommand_base: {
42
43
  * // { // DeleteAgentRuntimeResponse
43
44
  * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
44
45
  * // agentRuntimeId: "STRING_VALUE",
46
+ * // agentRuntimeVersion: "STRING_VALUE",
45
47
  * // };
46
48
  *
47
49
  * ```
@@ -24,7 +24,7 @@ declare const DeleteAgentRuntimeEndpointCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes an AAgentCore Runtime endpoint.</p>
27
+ * <p>Deletes an AgentCore Runtime endpoint.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteCapacityProviderInput, DeleteCapacityProviderOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteCapacityProviderCommand}.
11
+ */
12
+ export interface DeleteCapacityProviderCommandInput extends DeleteCapacityProviderInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteCapacityProviderCommand}.
18
+ */
19
+ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProviderOutput, __MetadataBearer {
20
+ }
21
+ declare const DeleteCapacityProviderCommand_base: {
22
+ new (input: DeleteCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a capacity provider. Before you delete a capacity provider, disassociate all agent runtimes and runtime versions that reference it. If any references remain, the operation fails.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreControlClient, DeleteCapacityProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
32
+ * // const { BedrockAgentCoreControlClient, DeleteCapacityProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
33
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
34
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
35
+ * const client = new BedrockAgentCoreControlClient(config);
36
+ * const input = { // DeleteCapacityProviderInput
37
+ * capacityProviderId: "STRING_VALUE", // required
38
+ * clientToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new DeleteCapacityProviderCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteCapacityProviderOutput
43
+ * // capacityProviderId: "STRING_VALUE", // required
44
+ * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteCapacityProviderCommandInput - {@link DeleteCapacityProviderCommandInput}
50
+ * @returns {@link DeleteCapacityProviderCommandOutput}
51
+ * @see {@link DeleteCapacityProviderCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteCapacityProviderCommandOutput} for command's `response` shape.
53
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>This exception is thrown when a request is denied per access permissions</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
66
+ *
67
+ * @throws {@link RetryableConflictException} (client fault)
68
+ * <p>The operation failed because of a conflicting request. Retry the request.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
75
+ *
76
+ * @throws {@link BedrockAgentCoreControlServiceException}
77
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteCapacityProviderCommand extends DeleteCapacityProviderCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteCapacityProviderInput;
87
+ output: DeleteCapacityProviderOutput;
88
+ };
89
+ sdk: {
90
+ input: DeleteCapacityProviderCommandInput;
91
+ output: DeleteCapacityProviderCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,91 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteGatewayRateLimitRequest, DeleteGatewayRateLimitResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteGatewayRateLimitCommand}.
11
+ */
12
+ export interface DeleteGatewayRateLimitCommandInput extends DeleteGatewayRateLimitRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteGatewayRateLimitCommand}.
18
+ */
19
+ export interface DeleteGatewayRateLimitCommandOutput extends DeleteGatewayRateLimitResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteGatewayRateLimitCommand_base: {
22
+ new (input: DeleteGatewayRateLimitCommandInput): import("@smithy/core/client").CommandImpl<DeleteGatewayRateLimitCommandInput, DeleteGatewayRateLimitCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteGatewayRateLimitCommandInput): import("@smithy/core/client").CommandImpl<DeleteGatewayRateLimitCommandInput, DeleteGatewayRateLimitCommandOutput, import("..").BedrockAgentCoreControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a gateway rate limit.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreControlClient, DeleteGatewayRateLimitCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
32
+ * // const { BedrockAgentCoreControlClient, DeleteGatewayRateLimitCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
33
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
34
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
35
+ * const client = new BedrockAgentCoreControlClient(config);
36
+ * const input = { // DeleteGatewayRateLimitRequest
37
+ * gatewayIdentifier: "STRING_VALUE", // required
38
+ * rateLimitId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteGatewayRateLimitCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteGatewayRateLimitResponse
43
+ * // rateLimitId: "STRING_VALUE", // required
44
+ * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteGatewayRateLimitCommandInput - {@link DeleteGatewayRateLimitCommandInput}
50
+ * @returns {@link DeleteGatewayRateLimitCommandOutput}
51
+ * @see {@link DeleteGatewayRateLimitCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteGatewayRateLimitCommandOutput} for command's `response` shape.
53
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>This exception is thrown when a request is denied per access permissions</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
72
+ *
73
+ * @throws {@link BedrockAgentCoreControlServiceException}
74
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteGatewayRateLimitCommand extends DeleteGatewayRateLimitCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteGatewayRateLimitRequest;
84
+ output: DeleteGatewayRateLimitResponse;
85
+ };
86
+ sdk: {
87
+ input: DeleteGatewayRateLimitCommandInput;
88
+ output: DeleteGatewayRateLimitCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteGatewayTargetRequest, DeleteGatewayTargetResponse } from "../models/models_0";
2
+ import type { DeleteGatewayTargetRequest, DeleteGatewayTargetResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -205,6 +205,10 @@ declare const DeleteHarnessCommand_base: {
205
205
  * // accessPointArn: "STRING_VALUE", // required
206
206
  * // mountPath: "STRING_VALUE", // required
207
207
  * // },
208
+ * // capacityProviderVolume: { // CapacityProviderVolumeConfiguration
209
+ * // volumeName: "STRING_VALUE", // required
210
+ * // mountPath: "STRING_VALUE", // required
211
+ * // },
208
212
  * // },
209
213
  * // ],
210
214
  * // },
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteHarnessEndpointRequest, DeleteHarnessEndpointResponse } from "../models/models_0";
2
+ import type { DeleteHarnessEndpointRequest, DeleteHarnessEndpointResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_1";
2
+ import type { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_2";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -199,8 +199,15 @@ declare const GetAgentRuntimeCommand_base: {
199
199
  * // accessPointArn: "STRING_VALUE", // required
200
200
  * // mountPath: "STRING_VALUE", // required
201
201
  * // },
202
+ * // capacityProviderVolume: { // CapacityProviderVolumeConfiguration
203
+ * // volumeName: "STRING_VALUE", // required
204
+ * // mountPath: "STRING_VALUE", // required
205
+ * // },
202
206
  * // },
203
207
  * // ],
208
+ * // capacityProviderConfiguration: { // CapacityProviderConfiguration
209
+ * // capacityProviderArn: "STRING_VALUE",
210
+ * // },
204
211
  * // };
205
212
  *
206
213
  * ```