Skip to content

Commit dfd80a0

Browse files
committed
chore: update services with new aws-sdk methods and errors
1 parent b802a37 commit dfd80a0

16 files changed

Lines changed: 1104 additions & 41 deletions

File tree

.changeset/slow-bulldogs-retire.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@effect-aws/client-cloudwatch-logs": patch
3+
"@effect-aws/client-cloudwatch": patch
4+
"@effect-aws/client-opensearch": patch
5+
"@effect-aws/client-bedrock": patch
6+
"@effect-aws/client-lambda": patch
7+
"@effect-aws/client-ec2": patch
8+
"@effect-aws/client-ecr": patch
9+
"@effect-aws/client-ecs": patch
10+
"@effect-aws/client-ivs": patch
11+
"@effect-aws/client-rds": patch
12+
---
13+
14+
update services with new aws-sdk methods

packages/client-bedrock/src/BedrockService.ts

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ import {
103103
DeleteProvisionedModelThroughputCommand,
104104
type DeleteProvisionedModelThroughputCommandInput,
105105
type DeleteProvisionedModelThroughputCommandOutput,
106+
DeleteResourcePolicyCommand,
107+
type DeleteResourcePolicyCommandInput,
108+
type DeleteResourcePolicyCommandOutput,
106109
DeregisterMarketplaceModelEndpointCommand,
107110
type DeregisterMarketplaceModelEndpointCommandInput,
108111
type DeregisterMarketplaceModelEndpointCommandOutput,
@@ -178,6 +181,9 @@ import {
178181
GetProvisionedModelThroughputCommand,
179182
type GetProvisionedModelThroughputCommandInput,
180183
type GetProvisionedModelThroughputCommandOutput,
184+
GetResourcePolicyCommand,
185+
type GetResourcePolicyCommandInput,
186+
type GetResourcePolicyCommandOutput,
181187
GetUseCaseForModelAccessCommand,
182188
type GetUseCaseForModelAccessCommandInput,
183189
type GetUseCaseForModelAccessCommandOutput,
@@ -268,6 +274,9 @@ import {
268274
PutModelInvocationLoggingConfigurationCommand,
269275
type PutModelInvocationLoggingConfigurationCommandInput,
270276
type PutModelInvocationLoggingConfigurationCommandOutput,
277+
PutResourcePolicyCommand,
278+
type PutResourcePolicyCommandInput,
279+
type PutResourcePolicyCommandOutput,
271280
PutUseCaseForModelAccessCommand,
272281
type PutUseCaseForModelAccessCommandInput,
273282
type PutUseCaseForModelAccessCommandOutput,
@@ -375,6 +384,7 @@ const commands = {
375384
DeleteModelInvocationLoggingConfigurationCommand,
376385
DeletePromptRouterCommand,
377386
DeleteProvisionedModelThroughputCommand,
387+
DeleteResourcePolicyCommand,
378388
DeregisterMarketplaceModelEndpointCommand,
379389
ExportAutomatedReasoningPolicyVersionCommand,
380390
GetAutomatedReasoningPolicyCommand,
@@ -400,6 +410,7 @@ const commands = {
400410
GetModelInvocationLoggingConfigurationCommand,
401411
GetPromptRouterCommand,
402412
GetProvisionedModelThroughputCommand,
413+
GetResourcePolicyCommand,
403414
GetUseCaseForModelAccessCommand,
404415
ListAutomatedReasoningPoliciesCommand,
405416
ListAutomatedReasoningPolicyBuildWorkflowsCommand,
@@ -424,6 +435,7 @@ const commands = {
424435
ListTagsForResourceCommand,
425436
PutEnforcedGuardrailConfigurationCommand,
426437
PutModelInvocationLoggingConfigurationCommand,
438+
PutResourcePolicyCommand,
427439
PutUseCaseForModelAccessCommand,
428440
RegisterMarketplaceModelEndpointCommand,
429441
StartAutomatedReasoningPolicyBuildWorkflowCommand,
@@ -1074,6 +1086,23 @@ interface BedrockService$ {
10741086
| ValidationError
10751087
>;
10761088

1089+
/**
1090+
* @see {@link DeleteResourcePolicyCommand}
1091+
*/
1092+
deleteResourcePolicy(
1093+
args: DeleteResourcePolicyCommandInput,
1094+
options?: HttpHandlerOptions,
1095+
): Effect.Effect<
1096+
DeleteResourcePolicyCommandOutput,
1097+
| Cause.TimeoutException
1098+
| SdkError
1099+
| AccessDeniedError
1100+
| InternalServerError
1101+
| ResourceNotFoundError
1102+
| ThrottlingError
1103+
| ValidationError
1104+
>;
1105+
10771106
/**
10781107
* @see {@link DeregisterMarketplaceModelEndpointCommand}
10791108
*/
@@ -1494,6 +1523,23 @@ interface BedrockService$ {
14941523
| ValidationError
14951524
>;
14961525

1526+
/**
1527+
* @see {@link GetResourcePolicyCommand}
1528+
*/
1529+
getResourcePolicy(
1530+
args: GetResourcePolicyCommandInput,
1531+
options?: HttpHandlerOptions,
1532+
): Effect.Effect<
1533+
GetResourcePolicyCommandOutput,
1534+
| Cause.TimeoutException
1535+
| SdkError
1536+
| AccessDeniedError
1537+
| InternalServerError
1538+
| ResourceNotFoundError
1539+
| ThrottlingError
1540+
| ValidationError
1541+
>;
1542+
14971543
/**
14981544
* @see {@link GetUseCaseForModelAccessCommand}
14991545
*/
@@ -2019,6 +2065,23 @@ interface BedrockService$ {
20192065
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
20202066
>;
20212067

2068+
/**
2069+
* @see {@link PutResourcePolicyCommand}
2070+
*/
2071+
putResourcePolicy(
2072+
args: PutResourcePolicyCommandInput,
2073+
options?: HttpHandlerOptions,
2074+
): Effect.Effect<
2075+
PutResourcePolicyCommandOutput,
2076+
| Cause.TimeoutException
2077+
| SdkError
2078+
| AccessDeniedError
2079+
| ConflictError
2080+
| InternalServerError
2081+
| ThrottlingError
2082+
| ValidationError
2083+
>;
2084+
20222085
/**
20232086
* @see {@link PutUseCaseForModelAccessCommand}
20242087
*/

packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ import {
3434
CreateLogStreamCommand,
3535
type CreateLogStreamCommandInput,
3636
type CreateLogStreamCommandOutput,
37+
CreateLookupTableCommand,
38+
type CreateLookupTableCommandInput,
39+
type CreateLookupTableCommandOutput,
3740
CreateScheduledQueryCommand,
3841
type CreateScheduledQueryCommandInput,
3942
type CreateScheduledQueryCommandOutput,
@@ -73,6 +76,9 @@ import {
7376
DeleteLogStreamCommand,
7477
type DeleteLogStreamCommandInput,
7578
type DeleteLogStreamCommandOutput,
79+
DeleteLookupTableCommand,
80+
type DeleteLookupTableCommandInput,
81+
type DeleteLookupTableCommandOutput,
7682
DeleteMetricFilterCommand,
7783
type DeleteMetricFilterCommandInput,
7884
type DeleteMetricFilterCommandOutput,
@@ -133,6 +139,9 @@ import {
133139
DescribeLogStreamsCommand,
134140
type DescribeLogStreamsCommandInput,
135141
type DescribeLogStreamsCommandOutput,
142+
DescribeLookupTablesCommand,
143+
type DescribeLookupTablesCommandInput,
144+
type DescribeLookupTablesCommandOutput,
136145
DescribeMetricFiltersCommand,
137146
type DescribeMetricFiltersCommandInput,
138147
type DescribeMetricFiltersCommandOutput,
@@ -193,6 +202,9 @@ import {
193202
GetLogRecordCommand,
194203
type GetLogRecordCommandInput,
195204
type GetLogRecordCommandOutput,
205+
GetLookupTableCommand,
206+
type GetLookupTableCommandInput,
207+
type GetLookupTableCommandOutput,
196208
GetQueryResultsCommand,
197209
type GetQueryResultsCommandInput,
198210
type GetQueryResultsCommandOutput,
@@ -343,6 +355,9 @@ import {
343355
UpdateLogAnomalyDetectorCommand,
344356
type UpdateLogAnomalyDetectorCommandInput,
345357
type UpdateLogAnomalyDetectorCommandOutput,
358+
UpdateLookupTableCommand,
359+
type UpdateLookupTableCommandInput,
360+
type UpdateLookupTableCommandOutput,
346361
UpdateScheduledQueryCommand,
347362
type UpdateScheduledQueryCommandInput,
348363
type UpdateScheduledQueryCommandOutput,
@@ -390,6 +405,7 @@ const commands = {
390405
CreateLogAnomalyDetectorCommand,
391406
CreateLogGroupCommand,
392407
CreateLogStreamCommand,
408+
CreateLookupTableCommand,
393409
CreateScheduledQueryCommand,
394410
DeleteAccountPolicyCommand,
395411
DeleteDataProtectionPolicyCommand,
@@ -403,6 +419,7 @@ const commands = {
403419
DeleteLogAnomalyDetectorCommand,
404420
DeleteLogGroupCommand,
405421
DeleteLogStreamCommand,
422+
DeleteLookupTableCommand,
406423
DeleteMetricFilterCommand,
407424
DeleteQueryDefinitionCommand,
408425
DeleteResourcePolicyCommand,
@@ -423,6 +440,7 @@ const commands = {
423440
DescribeIndexPoliciesCommand,
424441
DescribeLogGroupsCommand,
425442
DescribeLogStreamsCommand,
443+
DescribeLookupTablesCommand,
426444
DescribeMetricFiltersCommand,
427445
DescribeQueriesCommand,
428446
DescribeQueryDefinitionsCommand,
@@ -443,6 +461,7 @@ const commands = {
443461
GetLogGroupFieldsCommand,
444462
GetLogObjectCommand,
445463
GetLogRecordCommand,
464+
GetLookupTableCommand,
446465
GetQueryResultsCommand,
447466
GetScheduledQueryCommand,
448467
GetScheduledQueryHistoryCommand,
@@ -487,6 +506,7 @@ const commands = {
487506
UpdateAnomalyCommand,
488507
UpdateDeliveryConfigurationCommand,
489508
UpdateLogAnomalyDetectorCommand,
509+
UpdateLookupTableCommand,
490510
UpdateScheduledQueryCommand,
491511
};
492512

@@ -686,6 +706,24 @@ interface CloudWatchLogsService$ {
686706
| ServiceUnavailableError
687707
>;
688708

709+
/**
710+
* @see {@link CreateLookupTableCommand}
711+
*/
712+
createLookupTable(
713+
args: CreateLookupTableCommandInput,
714+
options?: HttpHandlerOptions,
715+
): Effect.Effect<
716+
CreateLookupTableCommandOutput,
717+
| Cause.TimeoutException
718+
| SdkError
719+
| AccessDeniedError
720+
| InvalidParameterError
721+
| LimitExceededError
722+
| ResourceAlreadyExistsError
723+
| ServiceUnavailableError
724+
| ValidationError
725+
>;
726+
689727
/**
690728
* @see {@link CreateScheduledQueryCommand}
691729
*/
@@ -906,6 +944,22 @@ interface CloudWatchLogsService$ {
906944
| ValidationError
907945
>;
908946

947+
/**
948+
* @see {@link DeleteLookupTableCommand}
949+
*/
950+
deleteLookupTable(
951+
args: DeleteLookupTableCommandInput,
952+
options?: HttpHandlerOptions,
953+
): Effect.Effect<
954+
DeleteLookupTableCommandOutput,
955+
| Cause.TimeoutException
956+
| SdkError
957+
| AccessDeniedError
958+
| InvalidParameterError
959+
| ResourceNotFoundError
960+
| ServiceUnavailableError
961+
>;
962+
909963
/**
910964
* @see {@link DeleteMetricFilterCommand}
911965
*/
@@ -1283,6 +1337,22 @@ interface CloudWatchLogsService$ {
12831337
Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
12841338
>;
12851339

1340+
/**
1341+
* @see {@link DescribeLookupTablesCommand}
1342+
*/
1343+
describeLookupTables(
1344+
args: DescribeLookupTablesCommandInput,
1345+
options?: HttpHandlerOptions,
1346+
): Effect.Effect<
1347+
DescribeLookupTablesCommandOutput,
1348+
| Cause.TimeoutException
1349+
| SdkError
1350+
| AccessDeniedError
1351+
| InvalidParameterError
1352+
| ResourceNotFoundError
1353+
| ServiceUnavailableError
1354+
>;
1355+
12861356
/**
12871357
* @see {@link DescribeMetricFiltersCommand}
12881358
*/
@@ -1595,6 +1665,22 @@ interface CloudWatchLogsService$ {
15951665
| ServiceUnavailableError
15961666
>;
15971667

1668+
/**
1669+
* @see {@link GetLookupTableCommand}
1670+
*/
1671+
getLookupTable(
1672+
args: GetLookupTableCommandInput,
1673+
options?: HttpHandlerOptions,
1674+
): Effect.Effect<
1675+
GetLookupTableCommandOutput,
1676+
| Cause.TimeoutException
1677+
| SdkError
1678+
| AccessDeniedError
1679+
| InvalidParameterError
1680+
| ResourceNotFoundError
1681+
| ServiceUnavailableError
1682+
>;
1683+
15981684
/**
15991685
* @see {@link GetQueryResultsCommand}
16001686
*/
@@ -2333,6 +2419,23 @@ interface CloudWatchLogsService$ {
23332419
| ServiceUnavailableError
23342420
>;
23352421

2422+
/**
2423+
* @see {@link UpdateLookupTableCommand}
2424+
*/
2425+
updateLookupTable(
2426+
args: UpdateLookupTableCommandInput,
2427+
options?: HttpHandlerOptions,
2428+
): Effect.Effect<
2429+
UpdateLookupTableCommandOutput,
2430+
| Cause.TimeoutException
2431+
| SdkError
2432+
| AccessDeniedError
2433+
| InvalidParameterError
2434+
| ResourceNotFoundError
2435+
| ServiceUnavailableError
2436+
| ValidationError
2437+
>;
2438+
23362439
/**
23372440
* @see {@link UpdateScheduledQueryCommand}
23382441
*/

0 commit comments

Comments
 (0)