@aws-sdk/client-bedrock 3.1173.0 → 3.1174.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 (117) hide show
  1. package/README.md +175 -0
  2. package/dist-cjs/index.js +790 -44
  3. package/dist-es/Bedrock.js +54 -0
  4. package/dist-es/commands/ArchiveProjectCommand.js +4 -0
  5. package/dist-es/commands/CreateProjectCommand.js +4 -0
  6. package/dist-es/commands/DeleteAccountDataRetentionStorageCommand.js +4 -0
  7. package/dist-es/commands/DeleteOrganizationDataRetentionStorageCommand.js +4 -0
  8. package/dist-es/commands/DeleteProjectDataRetentionStorageCommand.js +4 -0
  9. package/dist-es/commands/GetAccountDataRetentionStorageCommand.js +4 -0
  10. package/dist-es/commands/GetOrganizationDataRetentionStorageCommand.js +4 -0
  11. package/dist-es/commands/GetProjectCommand.js +4 -0
  12. package/dist-es/commands/GetProjectDataRetentionStorageCommand.js +4 -0
  13. package/dist-es/commands/GetTrustedAccessProgramAccountEnrollmentCommand.js +4 -0
  14. package/dist-es/commands/GetTrustedAccessProgramCommand.js +4 -0
  15. package/dist-es/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.js +4 -0
  16. package/dist-es/commands/GetTrustedAccessProgramProjectEnrollmentCommand.js +4 -0
  17. package/dist-es/commands/ListProjectsCommand.js +4 -0
  18. package/dist-es/commands/ListTrustedAccessProgramsCommand.js +4 -0
  19. package/dist-es/commands/PutAccountDataRetentionStorageCommand.js +4 -0
  20. package/dist-es/commands/PutOrganizationDataRetentionStorageCommand.js +4 -0
  21. package/dist-es/commands/PutProjectDataRetentionStorageCommand.js +4 -0
  22. package/dist-es/commands/PutTrustedAccessProgramAccountEnrollmentCommand.js +4 -0
  23. package/dist-es/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.js +4 -0
  24. package/dist-es/commands/PutTrustedAccessProgramProjectEnrollmentCommand.js +4 -0
  25. package/dist-es/commands/StartTrustedAccessProgramAccountApplicationCommand.js +4 -0
  26. package/dist-es/commands/StartTrustedAccessProgramOrganizationApplicationCommand.js +4 -0
  27. package/dist-es/commands/StartTrustedAccessProgramProjectApplicationCommand.js +4 -0
  28. package/dist-es/commands/UpdateProjectCommand.js +4 -0
  29. package/dist-es/commands/index.js +25 -0
  30. package/dist-es/models/enums.js +40 -0
  31. package/dist-es/pagination/ListProjectsPaginator.js +4 -0
  32. package/dist-es/pagination/ListTrustedAccessProgramsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +526 -43
  35. package/dist-types/Bedrock.d.ts +191 -0
  36. package/dist-types/BedrockClient.d.ts +27 -2
  37. package/dist-types/commands/ArchiveProjectCommand.d.ts +97 -0
  38. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +1 -2
  39. package/dist-types/commands/CreateProjectCommand.d.ts +109 -0
  40. package/dist-types/commands/DeleteAccountDataRetentionStorageCommand.d.ts +81 -0
  41. package/dist-types/commands/DeleteOrganizationDataRetentionStorageCommand.d.ts +81 -0
  42. package/dist-types/commands/DeleteProjectDataRetentionStorageCommand.d.ts +85 -0
  43. package/dist-types/commands/GetAccountDataRetentionStorageCommand.d.ts +96 -0
  44. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -2
  45. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -0
  46. package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -0
  47. package/dist-types/commands/GetOrganizationDataRetentionStorageCommand.d.ts +96 -0
  48. package/dist-types/commands/GetProjectCommand.d.ts +94 -0
  49. package/dist-types/commands/GetProjectDataRetentionStorageCommand.d.ts +98 -0
  50. package/dist-types/commands/GetTrustedAccessProgramAccountEnrollmentCommand.d.ts +87 -0
  51. package/dist-types/commands/GetTrustedAccessProgramCommand.d.ts +102 -0
  52. package/dist-types/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +87 -0
  53. package/dist-types/commands/GetTrustedAccessProgramProjectEnrollmentCommand.d.ts +88 -0
  54. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -0
  57. package/dist-types/commands/ListProjectsCommand.d.ts +98 -0
  58. package/dist-types/commands/ListTrustedAccessProgramsCommand.d.ts +108 -0
  59. package/dist-types/commands/PutAccountDataRetentionStorageCommand.d.ts +102 -0
  60. package/dist-types/commands/PutOrganizationDataRetentionStorageCommand.d.ts +102 -0
  61. package/dist-types/commands/PutProjectDataRetentionStorageCommand.d.ts +107 -0
  62. package/dist-types/commands/PutTrustedAccessProgramAccountEnrollmentCommand.d.ts +91 -0
  63. package/dist-types/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +91 -0
  64. package/dist-types/commands/PutTrustedAccessProgramProjectEnrollmentCommand.d.ts +92 -0
  65. package/dist-types/commands/StartTrustedAccessProgramAccountApplicationCommand.d.ts +92 -0
  66. package/dist-types/commands/StartTrustedAccessProgramOrganizationApplicationCommand.d.ts +92 -0
  67. package/dist-types/commands/StartTrustedAccessProgramProjectApplicationCommand.d.ts +93 -0
  68. package/dist-types/commands/StopEvaluationJobCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateProjectCommand.d.ts +101 -0
  70. package/dist-types/commands/index.d.ts +25 -0
  71. package/dist-types/models/enums.d.ts +176 -0
  72. package/dist-types/models/models_0.d.ts +768 -716
  73. package/dist-types/models/models_1.d.ts +3216 -1969
  74. package/dist-types/pagination/ListProjectsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListTrustedAccessProgramsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +2 -0
  77. package/dist-types/schemas/schemas_0.d.ts +82 -0
  78. package/dist-types/ts3.4/Bedrock.d.ts +438 -0
  79. package/dist-types/ts3.4/BedrockClient.d.ts +147 -0
  80. package/dist-types/ts3.4/commands/ArchiveProjectCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +1 -2
  82. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/DeleteAccountDataRetentionStorageCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/DeleteOrganizationDataRetentionStorageCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/DeleteProjectDataRetentionStorageCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/GetAccountDataRetentionStorageCommand.d.ts +42 -0
  87. package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +1 -2
  88. package/dist-types/ts3.4/commands/GetOrganizationDataRetentionStorageCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/GetProjectDataRetentionStorageCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/GetTrustedAccessProgramAccountEnrollmentCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/GetTrustedAccessProgramCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/GetTrustedAccessProgramProjectEnrollmentCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/ListTrustedAccessProgramsCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/PutAccountDataRetentionStorageCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/PutOrganizationDataRetentionStorageCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/PutProjectDataRetentionStorageCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/PutTrustedAccessProgramAccountEnrollmentCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +42 -0
  103. package/dist-types/ts3.4/commands/PutTrustedAccessProgramProjectEnrollmentCommand.d.ts +42 -0
  104. package/dist-types/ts3.4/commands/StartTrustedAccessProgramAccountApplicationCommand.d.ts +42 -0
  105. package/dist-types/ts3.4/commands/StartTrustedAccessProgramOrganizationApplicationCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/StartTrustedAccessProgramProjectApplicationCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  110. package/dist-types/ts3.4/models/enums.d.ts +55 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +104 -102
  112. package/dist-types/ts3.4/models/models_1.d.ts +310 -5
  113. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListTrustedAccessProgramsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  116. package/dist-types/ts3.4/schemas/schemas_0.d.ts +82 -0
  117. package/package.json +2 -2
@@ -5,6 +5,10 @@ import {
5
5
  Paginator,
6
6
  } from "@smithy/types";
7
7
  import { BedrockClient } from "./BedrockClient";
8
+ import {
9
+ ArchiveProjectCommandInput,
10
+ ArchiveProjectCommandOutput,
11
+ } from "./commands/ArchiveProjectCommand";
8
12
  import {
9
13
  BatchDeleteAdvancedPromptOptimizationJobCommandInput,
10
14
  BatchDeleteAdvancedPromptOptimizationJobCommandOutput,
@@ -81,6 +85,10 @@ import {
81
85
  CreateModelInvocationJobCommandInput,
82
86
  CreateModelInvocationJobCommandOutput,
83
87
  } from "./commands/CreateModelInvocationJobCommand";
88
+ import {
89
+ CreateProjectCommandInput,
90
+ CreateProjectCommandOutput,
91
+ } from "./commands/CreateProjectCommand";
84
92
  import {
85
93
  CreatePromptRouterCommandInput,
86
94
  CreatePromptRouterCommandOutput,
@@ -89,6 +97,10 @@ import {
89
97
  CreateProvisionedModelThroughputCommandInput,
90
98
  CreateProvisionedModelThroughputCommandOutput,
91
99
  } from "./commands/CreateProvisionedModelThroughputCommand";
100
+ import {
101
+ DeleteAccountDataRetentionStorageCommandInput,
102
+ DeleteAccountDataRetentionStorageCommandOutput,
103
+ } from "./commands/DeleteAccountDataRetentionStorageCommand";
92
104
  import {
93
105
  DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput,
94
106
  DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput,
@@ -137,6 +149,14 @@ import {
137
149
  DeleteModelInvocationLoggingConfigurationCommandInput,
138
150
  DeleteModelInvocationLoggingConfigurationCommandOutput,
139
151
  } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
152
+ import {
153
+ DeleteOrganizationDataRetentionStorageCommandInput,
154
+ DeleteOrganizationDataRetentionStorageCommandOutput,
155
+ } from "./commands/DeleteOrganizationDataRetentionStorageCommand";
156
+ import {
157
+ DeleteProjectDataRetentionStorageCommandInput,
158
+ DeleteProjectDataRetentionStorageCommandOutput,
159
+ } from "./commands/DeleteProjectDataRetentionStorageCommand";
140
160
  import {
141
161
  DeletePromptRouterCommandInput,
142
162
  DeletePromptRouterCommandOutput,
@@ -161,6 +181,10 @@ import {
161
181
  GetAccountDataRetentionCommandInput,
162
182
  GetAccountDataRetentionCommandOutput,
163
183
  } from "./commands/GetAccountDataRetentionCommand";
184
+ import {
185
+ GetAccountDataRetentionStorageCommandInput,
186
+ GetAccountDataRetentionStorageCommandOutput,
187
+ } from "./commands/GetAccountDataRetentionStorageCommand";
164
188
  import {
165
189
  GetAdvancedPromptOptimizationJobCommandInput,
166
190
  GetAdvancedPromptOptimizationJobCommandOutput,
@@ -249,6 +273,15 @@ import {
249
273
  GetModelInvocationLoggingConfigurationCommandInput,
250
274
  GetModelInvocationLoggingConfigurationCommandOutput,
251
275
  } from "./commands/GetModelInvocationLoggingConfigurationCommand";
276
+ import {
277
+ GetOrganizationDataRetentionStorageCommandInput,
278
+ GetOrganizationDataRetentionStorageCommandOutput,
279
+ } from "./commands/GetOrganizationDataRetentionStorageCommand";
280
+ import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
281
+ import {
282
+ GetProjectDataRetentionStorageCommandInput,
283
+ GetProjectDataRetentionStorageCommandOutput,
284
+ } from "./commands/GetProjectDataRetentionStorageCommand";
252
285
  import {
253
286
  GetPromptRouterCommandInput,
254
287
  GetPromptRouterCommandOutput,
@@ -261,6 +294,22 @@ import {
261
294
  GetResourcePolicyCommandInput,
262
295
  GetResourcePolicyCommandOutput,
263
296
  } from "./commands/GetResourcePolicyCommand";
297
+ import {
298
+ GetTrustedAccessProgramAccountEnrollmentCommandInput,
299
+ GetTrustedAccessProgramAccountEnrollmentCommandOutput,
300
+ } from "./commands/GetTrustedAccessProgramAccountEnrollmentCommand";
301
+ import {
302
+ GetTrustedAccessProgramCommandInput,
303
+ GetTrustedAccessProgramCommandOutput,
304
+ } from "./commands/GetTrustedAccessProgramCommand";
305
+ import {
306
+ GetTrustedAccessProgramOrganizationEnrollmentCommandInput,
307
+ GetTrustedAccessProgramOrganizationEnrollmentCommandOutput,
308
+ } from "./commands/GetTrustedAccessProgramOrganizationEnrollmentCommand";
309
+ import {
310
+ GetTrustedAccessProgramProjectEnrollmentCommandInput,
311
+ GetTrustedAccessProgramProjectEnrollmentCommandOutput,
312
+ } from "./commands/GetTrustedAccessProgramProjectEnrollmentCommand";
264
313
  import {
265
314
  GetUseCaseForModelAccessCommandInput,
266
315
  GetUseCaseForModelAccessCommandOutput,
@@ -341,6 +390,10 @@ import {
341
390
  ListModelInvocationJobsCommandInput,
342
391
  ListModelInvocationJobsCommandOutput,
343
392
  } from "./commands/ListModelInvocationJobsCommand";
393
+ import {
394
+ ListProjectsCommandInput,
395
+ ListProjectsCommandOutput,
396
+ } from "./commands/ListProjectsCommand";
344
397
  import {
345
398
  ListPromptRoutersCommandInput,
346
399
  ListPromptRoutersCommandOutput,
@@ -353,10 +406,18 @@ import {
353
406
  ListTagsForResourceCommandInput,
354
407
  ListTagsForResourceCommandOutput,
355
408
  } from "./commands/ListTagsForResourceCommand";
409
+ import {
410
+ ListTrustedAccessProgramsCommandInput,
411
+ ListTrustedAccessProgramsCommandOutput,
412
+ } from "./commands/ListTrustedAccessProgramsCommand";
356
413
  import {
357
414
  PutAccountDataRetentionCommandInput,
358
415
  PutAccountDataRetentionCommandOutput,
359
416
  } from "./commands/PutAccountDataRetentionCommand";
417
+ import {
418
+ PutAccountDataRetentionStorageCommandInput,
419
+ PutAccountDataRetentionStorageCommandOutput,
420
+ } from "./commands/PutAccountDataRetentionStorageCommand";
360
421
  import {
361
422
  PutEnforcedGuardrailConfigurationCommandInput,
362
423
  PutEnforcedGuardrailConfigurationCommandOutput,
@@ -365,10 +426,30 @@ import {
365
426
  PutModelInvocationLoggingConfigurationCommandInput,
366
427
  PutModelInvocationLoggingConfigurationCommandOutput,
367
428
  } from "./commands/PutModelInvocationLoggingConfigurationCommand";
429
+ import {
430
+ PutOrganizationDataRetentionStorageCommandInput,
431
+ PutOrganizationDataRetentionStorageCommandOutput,
432
+ } from "./commands/PutOrganizationDataRetentionStorageCommand";
433
+ import {
434
+ PutProjectDataRetentionStorageCommandInput,
435
+ PutProjectDataRetentionStorageCommandOutput,
436
+ } from "./commands/PutProjectDataRetentionStorageCommand";
368
437
  import {
369
438
  PutResourcePolicyCommandInput,
370
439
  PutResourcePolicyCommandOutput,
371
440
  } from "./commands/PutResourcePolicyCommand";
441
+ import {
442
+ PutTrustedAccessProgramAccountEnrollmentCommandInput,
443
+ PutTrustedAccessProgramAccountEnrollmentCommandOutput,
444
+ } from "./commands/PutTrustedAccessProgramAccountEnrollmentCommand";
445
+ import {
446
+ PutTrustedAccessProgramOrganizationEnrollmentCommandInput,
447
+ PutTrustedAccessProgramOrganizationEnrollmentCommandOutput,
448
+ } from "./commands/PutTrustedAccessProgramOrganizationEnrollmentCommand";
449
+ import {
450
+ PutTrustedAccessProgramProjectEnrollmentCommandInput,
451
+ PutTrustedAccessProgramProjectEnrollmentCommandOutput,
452
+ } from "./commands/PutTrustedAccessProgramProjectEnrollmentCommand";
372
453
  import {
373
454
  PutUseCaseForModelAccessCommandInput,
374
455
  PutUseCaseForModelAccessCommandOutput,
@@ -385,6 +466,18 @@ import {
385
466
  StartAutomatedReasoningPolicyTestWorkflowCommandInput,
386
467
  StartAutomatedReasoningPolicyTestWorkflowCommandOutput,
387
468
  } from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand";
469
+ import {
470
+ StartTrustedAccessProgramAccountApplicationCommandInput,
471
+ StartTrustedAccessProgramAccountApplicationCommandOutput,
472
+ } from "./commands/StartTrustedAccessProgramAccountApplicationCommand";
473
+ import {
474
+ StartTrustedAccessProgramOrganizationApplicationCommandInput,
475
+ StartTrustedAccessProgramOrganizationApplicationCommandOutput,
476
+ } from "./commands/StartTrustedAccessProgramOrganizationApplicationCommand";
477
+ import {
478
+ StartTrustedAccessProgramProjectApplicationCommandInput,
479
+ StartTrustedAccessProgramProjectApplicationCommandOutput,
480
+ } from "./commands/StartTrustedAccessProgramProjectApplicationCommand";
388
481
  import {
389
482
  StopAdvancedPromptOptimizationJobCommandInput,
390
483
  StopAdvancedPromptOptimizationJobCommandOutput,
@@ -430,6 +523,10 @@ import {
430
523
  UpdateMarketplaceModelEndpointCommandInput,
431
524
  UpdateMarketplaceModelEndpointCommandOutput,
432
525
  } from "./commands/UpdateMarketplaceModelEndpointCommand";
526
+ import {
527
+ UpdateProjectCommandInput,
528
+ UpdateProjectCommandOutput,
529
+ } from "./commands/UpdateProjectCommand";
433
530
  import {
434
531
  UpdateProvisionedModelThroughputCommandInput,
435
532
  UpdateProvisionedModelThroughputCommandOutput,
@@ -438,6 +535,19 @@ export interface BedrockRequestOptions extends __HttpHandlerOptions {
438
535
  metricsRecorder?: __MetricsRecorder<unknown>;
439
536
  }
440
537
  export interface Bedrock {
538
+ archiveProject(
539
+ args: ArchiveProjectCommandInput,
540
+ options?: BedrockRequestOptions,
541
+ ): Promise<ArchiveProjectCommandOutput>;
542
+ archiveProject(
543
+ args: ArchiveProjectCommandInput,
544
+ cb: (err: any, data?: ArchiveProjectCommandOutput) => void,
545
+ ): void;
546
+ archiveProject(
547
+ args: ArchiveProjectCommandInput,
548
+ options: BedrockRequestOptions,
549
+ cb: (err: any, data?: ArchiveProjectCommandOutput) => void,
550
+ ): void;
441
551
  batchDeleteAdvancedPromptOptimizationJob(
442
552
  args: BatchDeleteAdvancedPromptOptimizationJobCommandInput,
443
553
  options?: BedrockRequestOptions,
@@ -685,6 +795,19 @@ export interface Bedrock {
685
795
  options: BedrockRequestOptions,
686
796
  cb: (err: any, data?: CreateModelInvocationJobCommandOutput) => void,
687
797
  ): void;
798
+ createProject(
799
+ args: CreateProjectCommandInput,
800
+ options?: BedrockRequestOptions,
801
+ ): Promise<CreateProjectCommandOutput>;
802
+ createProject(
803
+ args: CreateProjectCommandInput,
804
+ cb: (err: any, data?: CreateProjectCommandOutput) => void,
805
+ ): void;
806
+ createProject(
807
+ args: CreateProjectCommandInput,
808
+ options: BedrockRequestOptions,
809
+ cb: (err: any, data?: CreateProjectCommandOutput) => void,
810
+ ): void;
688
811
  createPromptRouter(
689
812
  args: CreatePromptRouterCommandInput,
690
813
  options?: BedrockRequestOptions,
@@ -711,6 +834,19 @@ export interface Bedrock {
711
834
  options: BedrockRequestOptions,
712
835
  cb: (err: any, data?: CreateProvisionedModelThroughputCommandOutput) => void,
713
836
  ): void;
837
+ deleteAccountDataRetentionStorage(
838
+ args: DeleteAccountDataRetentionStorageCommandInput,
839
+ options?: BedrockRequestOptions,
840
+ ): Promise<DeleteAccountDataRetentionStorageCommandOutput>;
841
+ deleteAccountDataRetentionStorage(
842
+ args: DeleteAccountDataRetentionStorageCommandInput,
843
+ cb: (err: any, data?: DeleteAccountDataRetentionStorageCommandOutput) => void,
844
+ ): void;
845
+ deleteAccountDataRetentionStorage(
846
+ args: DeleteAccountDataRetentionStorageCommandInput,
847
+ options: BedrockRequestOptions,
848
+ cb: (err: any, data?: DeleteAccountDataRetentionStorageCommandOutput) => void,
849
+ ): void;
714
850
  deleteAutomatedReasoningPolicy(
715
851
  args: DeleteAutomatedReasoningPolicyCommandInput,
716
852
  options?: BedrockRequestOptions,
@@ -868,6 +1004,32 @@ export interface Bedrock {
868
1004
  options: BedrockRequestOptions,
869
1005
  cb: (err: any, data?: DeleteModelInvocationLoggingConfigurationCommandOutput) => void,
870
1006
  ): void;
1007
+ deleteOrganizationDataRetentionStorage(
1008
+ args: DeleteOrganizationDataRetentionStorageCommandInput,
1009
+ options?: BedrockRequestOptions,
1010
+ ): Promise<DeleteOrganizationDataRetentionStorageCommandOutput>;
1011
+ deleteOrganizationDataRetentionStorage(
1012
+ args: DeleteOrganizationDataRetentionStorageCommandInput,
1013
+ cb: (err: any, data?: DeleteOrganizationDataRetentionStorageCommandOutput) => void,
1014
+ ): void;
1015
+ deleteOrganizationDataRetentionStorage(
1016
+ args: DeleteOrganizationDataRetentionStorageCommandInput,
1017
+ options: BedrockRequestOptions,
1018
+ cb: (err: any, data?: DeleteOrganizationDataRetentionStorageCommandOutput) => void,
1019
+ ): void;
1020
+ deleteProjectDataRetentionStorage(
1021
+ args: DeleteProjectDataRetentionStorageCommandInput,
1022
+ options?: BedrockRequestOptions,
1023
+ ): Promise<DeleteProjectDataRetentionStorageCommandOutput>;
1024
+ deleteProjectDataRetentionStorage(
1025
+ args: DeleteProjectDataRetentionStorageCommandInput,
1026
+ cb: (err: any, data?: DeleteProjectDataRetentionStorageCommandOutput) => void,
1027
+ ): void;
1028
+ deleteProjectDataRetentionStorage(
1029
+ args: DeleteProjectDataRetentionStorageCommandInput,
1030
+ options: BedrockRequestOptions,
1031
+ cb: (err: any, data?: DeleteProjectDataRetentionStorageCommandOutput) => void,
1032
+ ): void;
871
1033
  deletePromptRouter(
872
1034
  args: DeletePromptRouterCommandInput,
873
1035
  options?: BedrockRequestOptions,
@@ -947,6 +1109,19 @@ export interface Bedrock {
947
1109
  options: BedrockRequestOptions,
948
1110
  cb: (err: any, data?: GetAccountDataRetentionCommandOutput) => void,
949
1111
  ): void;
1112
+ getAccountDataRetentionStorage(
1113
+ args: GetAccountDataRetentionStorageCommandInput,
1114
+ options?: BedrockRequestOptions,
1115
+ ): Promise<GetAccountDataRetentionStorageCommandOutput>;
1116
+ getAccountDataRetentionStorage(
1117
+ args: GetAccountDataRetentionStorageCommandInput,
1118
+ cb: (err: any, data?: GetAccountDataRetentionStorageCommandOutput) => void,
1119
+ ): void;
1120
+ getAccountDataRetentionStorage(
1121
+ args: GetAccountDataRetentionStorageCommandInput,
1122
+ options: BedrockRequestOptions,
1123
+ cb: (err: any, data?: GetAccountDataRetentionStorageCommandOutput) => void,
1124
+ ): void;
950
1125
  getAdvancedPromptOptimizationJob(
951
1126
  args: GetAdvancedPromptOptimizationJobCommandInput,
952
1127
  options?: BedrockRequestOptions,
@@ -1240,6 +1415,45 @@ export interface Bedrock {
1240
1415
  options: BedrockRequestOptions,
1241
1416
  cb: (err: any, data?: GetModelInvocationLoggingConfigurationCommandOutput) => void,
1242
1417
  ): void;
1418
+ getOrganizationDataRetentionStorage(
1419
+ args: GetOrganizationDataRetentionStorageCommandInput,
1420
+ options?: BedrockRequestOptions,
1421
+ ): Promise<GetOrganizationDataRetentionStorageCommandOutput>;
1422
+ getOrganizationDataRetentionStorage(
1423
+ args: GetOrganizationDataRetentionStorageCommandInput,
1424
+ cb: (err: any, data?: GetOrganizationDataRetentionStorageCommandOutput) => void,
1425
+ ): void;
1426
+ getOrganizationDataRetentionStorage(
1427
+ args: GetOrganizationDataRetentionStorageCommandInput,
1428
+ options: BedrockRequestOptions,
1429
+ cb: (err: any, data?: GetOrganizationDataRetentionStorageCommandOutput) => void,
1430
+ ): void;
1431
+ getProject(
1432
+ args: GetProjectCommandInput,
1433
+ options?: BedrockRequestOptions,
1434
+ ): Promise<GetProjectCommandOutput>;
1435
+ getProject(
1436
+ args: GetProjectCommandInput,
1437
+ cb: (err: any, data?: GetProjectCommandOutput) => void,
1438
+ ): void;
1439
+ getProject(
1440
+ args: GetProjectCommandInput,
1441
+ options: BedrockRequestOptions,
1442
+ cb: (err: any, data?: GetProjectCommandOutput) => void,
1443
+ ): void;
1444
+ getProjectDataRetentionStorage(
1445
+ args: GetProjectDataRetentionStorageCommandInput,
1446
+ options?: BedrockRequestOptions,
1447
+ ): Promise<GetProjectDataRetentionStorageCommandOutput>;
1448
+ getProjectDataRetentionStorage(
1449
+ args: GetProjectDataRetentionStorageCommandInput,
1450
+ cb: (err: any, data?: GetProjectDataRetentionStorageCommandOutput) => void,
1451
+ ): void;
1452
+ getProjectDataRetentionStorage(
1453
+ args: GetProjectDataRetentionStorageCommandInput,
1454
+ options: BedrockRequestOptions,
1455
+ cb: (err: any, data?: GetProjectDataRetentionStorageCommandOutput) => void,
1456
+ ): void;
1243
1457
  getPromptRouter(
1244
1458
  args: GetPromptRouterCommandInput,
1245
1459
  options?: BedrockRequestOptions,
@@ -1279,6 +1493,58 @@ export interface Bedrock {
1279
1493
  options: BedrockRequestOptions,
1280
1494
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
1281
1495
  ): void;
1496
+ getTrustedAccessProgram(
1497
+ args: GetTrustedAccessProgramCommandInput,
1498
+ options?: BedrockRequestOptions,
1499
+ ): Promise<GetTrustedAccessProgramCommandOutput>;
1500
+ getTrustedAccessProgram(
1501
+ args: GetTrustedAccessProgramCommandInput,
1502
+ cb: (err: any, data?: GetTrustedAccessProgramCommandOutput) => void,
1503
+ ): void;
1504
+ getTrustedAccessProgram(
1505
+ args: GetTrustedAccessProgramCommandInput,
1506
+ options: BedrockRequestOptions,
1507
+ cb: (err: any, data?: GetTrustedAccessProgramCommandOutput) => void,
1508
+ ): void;
1509
+ getTrustedAccessProgramAccountEnrollment(
1510
+ args: GetTrustedAccessProgramAccountEnrollmentCommandInput,
1511
+ options?: BedrockRequestOptions,
1512
+ ): Promise<GetTrustedAccessProgramAccountEnrollmentCommandOutput>;
1513
+ getTrustedAccessProgramAccountEnrollment(
1514
+ args: GetTrustedAccessProgramAccountEnrollmentCommandInput,
1515
+ cb: (err: any, data?: GetTrustedAccessProgramAccountEnrollmentCommandOutput) => void,
1516
+ ): void;
1517
+ getTrustedAccessProgramAccountEnrollment(
1518
+ args: GetTrustedAccessProgramAccountEnrollmentCommandInput,
1519
+ options: BedrockRequestOptions,
1520
+ cb: (err: any, data?: GetTrustedAccessProgramAccountEnrollmentCommandOutput) => void,
1521
+ ): void;
1522
+ getTrustedAccessProgramOrganizationEnrollment(
1523
+ args: GetTrustedAccessProgramOrganizationEnrollmentCommandInput,
1524
+ options?: BedrockRequestOptions,
1525
+ ): Promise<GetTrustedAccessProgramOrganizationEnrollmentCommandOutput>;
1526
+ getTrustedAccessProgramOrganizationEnrollment(
1527
+ args: GetTrustedAccessProgramOrganizationEnrollmentCommandInput,
1528
+ cb: (err: any, data?: GetTrustedAccessProgramOrganizationEnrollmentCommandOutput) => void,
1529
+ ): void;
1530
+ getTrustedAccessProgramOrganizationEnrollment(
1531
+ args: GetTrustedAccessProgramOrganizationEnrollmentCommandInput,
1532
+ options: BedrockRequestOptions,
1533
+ cb: (err: any, data?: GetTrustedAccessProgramOrganizationEnrollmentCommandOutput) => void,
1534
+ ): void;
1535
+ getTrustedAccessProgramProjectEnrollment(
1536
+ args: GetTrustedAccessProgramProjectEnrollmentCommandInput,
1537
+ options?: BedrockRequestOptions,
1538
+ ): Promise<GetTrustedAccessProgramProjectEnrollmentCommandOutput>;
1539
+ getTrustedAccessProgramProjectEnrollment(
1540
+ args: GetTrustedAccessProgramProjectEnrollmentCommandInput,
1541
+ cb: (err: any, data?: GetTrustedAccessProgramProjectEnrollmentCommandOutput) => void,
1542
+ ): void;
1543
+ getTrustedAccessProgramProjectEnrollment(
1544
+ args: GetTrustedAccessProgramProjectEnrollmentCommandInput,
1545
+ options: BedrockRequestOptions,
1546
+ cb: (err: any, data?: GetTrustedAccessProgramProjectEnrollmentCommandOutput) => void,
1547
+ ): void;
1282
1548
  getUseCaseForModelAccess(): Promise<GetUseCaseForModelAccessCommandOutput>;
1283
1549
  getUseCaseForModelAccess(
1284
1550
  args: GetUseCaseForModelAccessCommandInput,
@@ -1555,6 +1821,20 @@ export interface Bedrock {
1555
1821
  options: BedrockRequestOptions,
1556
1822
  cb: (err: any, data?: ListModelInvocationJobsCommandOutput) => void,
1557
1823
  ): void;
1824
+ listProjects(): Promise<ListProjectsCommandOutput>;
1825
+ listProjects(
1826
+ args: ListProjectsCommandInput,
1827
+ options?: BedrockRequestOptions,
1828
+ ): Promise<ListProjectsCommandOutput>;
1829
+ listProjects(
1830
+ args: ListProjectsCommandInput,
1831
+ cb: (err: any, data?: ListProjectsCommandOutput) => void,
1832
+ ): void;
1833
+ listProjects(
1834
+ args: ListProjectsCommandInput,
1835
+ options: BedrockRequestOptions,
1836
+ cb: (err: any, data?: ListProjectsCommandOutput) => void,
1837
+ ): void;
1558
1838
  listPromptRouters(): Promise<ListPromptRoutersCommandOutput>;
1559
1839
  listPromptRouters(
1560
1840
  args: ListPromptRoutersCommandInput,
@@ -1596,6 +1876,20 @@ export interface Bedrock {
1596
1876
  options: BedrockRequestOptions,
1597
1877
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
1598
1878
  ): void;
1879
+ listTrustedAccessPrograms(): Promise<ListTrustedAccessProgramsCommandOutput>;
1880
+ listTrustedAccessPrograms(
1881
+ args: ListTrustedAccessProgramsCommandInput,
1882
+ options?: BedrockRequestOptions,
1883
+ ): Promise<ListTrustedAccessProgramsCommandOutput>;
1884
+ listTrustedAccessPrograms(
1885
+ args: ListTrustedAccessProgramsCommandInput,
1886
+ cb: (err: any, data?: ListTrustedAccessProgramsCommandOutput) => void,
1887
+ ): void;
1888
+ listTrustedAccessPrograms(
1889
+ args: ListTrustedAccessProgramsCommandInput,
1890
+ options: BedrockRequestOptions,
1891
+ cb: (err: any, data?: ListTrustedAccessProgramsCommandOutput) => void,
1892
+ ): void;
1599
1893
  putAccountDataRetention(
1600
1894
  args: PutAccountDataRetentionCommandInput,
1601
1895
  options?: BedrockRequestOptions,
@@ -1609,6 +1903,19 @@ export interface Bedrock {
1609
1903
  options: BedrockRequestOptions,
1610
1904
  cb: (err: any, data?: PutAccountDataRetentionCommandOutput) => void,
1611
1905
  ): void;
1906
+ putAccountDataRetentionStorage(
1907
+ args: PutAccountDataRetentionStorageCommandInput,
1908
+ options?: BedrockRequestOptions,
1909
+ ): Promise<PutAccountDataRetentionStorageCommandOutput>;
1910
+ putAccountDataRetentionStorage(
1911
+ args: PutAccountDataRetentionStorageCommandInput,
1912
+ cb: (err: any, data?: PutAccountDataRetentionStorageCommandOutput) => void,
1913
+ ): void;
1914
+ putAccountDataRetentionStorage(
1915
+ args: PutAccountDataRetentionStorageCommandInput,
1916
+ options: BedrockRequestOptions,
1917
+ cb: (err: any, data?: PutAccountDataRetentionStorageCommandOutput) => void,
1918
+ ): void;
1612
1919
  putEnforcedGuardrailConfiguration(
1613
1920
  args: PutEnforcedGuardrailConfigurationCommandInput,
1614
1921
  options?: BedrockRequestOptions,
@@ -1635,6 +1942,32 @@ export interface Bedrock {
1635
1942
  options: BedrockRequestOptions,
1636
1943
  cb: (err: any, data?: PutModelInvocationLoggingConfigurationCommandOutput) => void,
1637
1944
  ): void;
1945
+ putOrganizationDataRetentionStorage(
1946
+ args: PutOrganizationDataRetentionStorageCommandInput,
1947
+ options?: BedrockRequestOptions,
1948
+ ): Promise<PutOrganizationDataRetentionStorageCommandOutput>;
1949
+ putOrganizationDataRetentionStorage(
1950
+ args: PutOrganizationDataRetentionStorageCommandInput,
1951
+ cb: (err: any, data?: PutOrganizationDataRetentionStorageCommandOutput) => void,
1952
+ ): void;
1953
+ putOrganizationDataRetentionStorage(
1954
+ args: PutOrganizationDataRetentionStorageCommandInput,
1955
+ options: BedrockRequestOptions,
1956
+ cb: (err: any, data?: PutOrganizationDataRetentionStorageCommandOutput) => void,
1957
+ ): void;
1958
+ putProjectDataRetentionStorage(
1959
+ args: PutProjectDataRetentionStorageCommandInput,
1960
+ options?: BedrockRequestOptions,
1961
+ ): Promise<PutProjectDataRetentionStorageCommandOutput>;
1962
+ putProjectDataRetentionStorage(
1963
+ args: PutProjectDataRetentionStorageCommandInput,
1964
+ cb: (err: any, data?: PutProjectDataRetentionStorageCommandOutput) => void,
1965
+ ): void;
1966
+ putProjectDataRetentionStorage(
1967
+ args: PutProjectDataRetentionStorageCommandInput,
1968
+ options: BedrockRequestOptions,
1969
+ cb: (err: any, data?: PutProjectDataRetentionStorageCommandOutput) => void,
1970
+ ): void;
1638
1971
  putResourcePolicy(
1639
1972
  args: PutResourcePolicyCommandInput,
1640
1973
  options?: BedrockRequestOptions,
@@ -1648,6 +1981,45 @@ export interface Bedrock {
1648
1981
  options: BedrockRequestOptions,
1649
1982
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
1650
1983
  ): void;
1984
+ putTrustedAccessProgramAccountEnrollment(
1985
+ args: PutTrustedAccessProgramAccountEnrollmentCommandInput,
1986
+ options?: BedrockRequestOptions,
1987
+ ): Promise<PutTrustedAccessProgramAccountEnrollmentCommandOutput>;
1988
+ putTrustedAccessProgramAccountEnrollment(
1989
+ args: PutTrustedAccessProgramAccountEnrollmentCommandInput,
1990
+ cb: (err: any, data?: PutTrustedAccessProgramAccountEnrollmentCommandOutput) => void,
1991
+ ): void;
1992
+ putTrustedAccessProgramAccountEnrollment(
1993
+ args: PutTrustedAccessProgramAccountEnrollmentCommandInput,
1994
+ options: BedrockRequestOptions,
1995
+ cb: (err: any, data?: PutTrustedAccessProgramAccountEnrollmentCommandOutput) => void,
1996
+ ): void;
1997
+ putTrustedAccessProgramOrganizationEnrollment(
1998
+ args: PutTrustedAccessProgramOrganizationEnrollmentCommandInput,
1999
+ options?: BedrockRequestOptions,
2000
+ ): Promise<PutTrustedAccessProgramOrganizationEnrollmentCommandOutput>;
2001
+ putTrustedAccessProgramOrganizationEnrollment(
2002
+ args: PutTrustedAccessProgramOrganizationEnrollmentCommandInput,
2003
+ cb: (err: any, data?: PutTrustedAccessProgramOrganizationEnrollmentCommandOutput) => void,
2004
+ ): void;
2005
+ putTrustedAccessProgramOrganizationEnrollment(
2006
+ args: PutTrustedAccessProgramOrganizationEnrollmentCommandInput,
2007
+ options: BedrockRequestOptions,
2008
+ cb: (err: any, data?: PutTrustedAccessProgramOrganizationEnrollmentCommandOutput) => void,
2009
+ ): void;
2010
+ putTrustedAccessProgramProjectEnrollment(
2011
+ args: PutTrustedAccessProgramProjectEnrollmentCommandInput,
2012
+ options?: BedrockRequestOptions,
2013
+ ): Promise<PutTrustedAccessProgramProjectEnrollmentCommandOutput>;
2014
+ putTrustedAccessProgramProjectEnrollment(
2015
+ args: PutTrustedAccessProgramProjectEnrollmentCommandInput,
2016
+ cb: (err: any, data?: PutTrustedAccessProgramProjectEnrollmentCommandOutput) => void,
2017
+ ): void;
2018
+ putTrustedAccessProgramProjectEnrollment(
2019
+ args: PutTrustedAccessProgramProjectEnrollmentCommandInput,
2020
+ options: BedrockRequestOptions,
2021
+ cb: (err: any, data?: PutTrustedAccessProgramProjectEnrollmentCommandOutput) => void,
2022
+ ): void;
1651
2023
  putUseCaseForModelAccess(
1652
2024
  args: PutUseCaseForModelAccessCommandInput,
1653
2025
  options?: BedrockRequestOptions,
@@ -1700,6 +2072,45 @@ export interface Bedrock {
1700
2072
  options: BedrockRequestOptions,
1701
2073
  cb: (err: any, data?: StartAutomatedReasoningPolicyTestWorkflowCommandOutput) => void,
1702
2074
  ): void;
2075
+ startTrustedAccessProgramAccountApplication(
2076
+ args: StartTrustedAccessProgramAccountApplicationCommandInput,
2077
+ options?: BedrockRequestOptions,
2078
+ ): Promise<StartTrustedAccessProgramAccountApplicationCommandOutput>;
2079
+ startTrustedAccessProgramAccountApplication(
2080
+ args: StartTrustedAccessProgramAccountApplicationCommandInput,
2081
+ cb: (err: any, data?: StartTrustedAccessProgramAccountApplicationCommandOutput) => void,
2082
+ ): void;
2083
+ startTrustedAccessProgramAccountApplication(
2084
+ args: StartTrustedAccessProgramAccountApplicationCommandInput,
2085
+ options: BedrockRequestOptions,
2086
+ cb: (err: any, data?: StartTrustedAccessProgramAccountApplicationCommandOutput) => void,
2087
+ ): void;
2088
+ startTrustedAccessProgramOrganizationApplication(
2089
+ args: StartTrustedAccessProgramOrganizationApplicationCommandInput,
2090
+ options?: BedrockRequestOptions,
2091
+ ): Promise<StartTrustedAccessProgramOrganizationApplicationCommandOutput>;
2092
+ startTrustedAccessProgramOrganizationApplication(
2093
+ args: StartTrustedAccessProgramOrganizationApplicationCommandInput,
2094
+ cb: (err: any, data?: StartTrustedAccessProgramOrganizationApplicationCommandOutput) => void,
2095
+ ): void;
2096
+ startTrustedAccessProgramOrganizationApplication(
2097
+ args: StartTrustedAccessProgramOrganizationApplicationCommandInput,
2098
+ options: BedrockRequestOptions,
2099
+ cb: (err: any, data?: StartTrustedAccessProgramOrganizationApplicationCommandOutput) => void,
2100
+ ): void;
2101
+ startTrustedAccessProgramProjectApplication(
2102
+ args: StartTrustedAccessProgramProjectApplicationCommandInput,
2103
+ options?: BedrockRequestOptions,
2104
+ ): Promise<StartTrustedAccessProgramProjectApplicationCommandOutput>;
2105
+ startTrustedAccessProgramProjectApplication(
2106
+ args: StartTrustedAccessProgramProjectApplicationCommandInput,
2107
+ cb: (err: any, data?: StartTrustedAccessProgramProjectApplicationCommandOutput) => void,
2108
+ ): void;
2109
+ startTrustedAccessProgramProjectApplication(
2110
+ args: StartTrustedAccessProgramProjectApplicationCommandInput,
2111
+ options: BedrockRequestOptions,
2112
+ cb: (err: any, data?: StartTrustedAccessProgramProjectApplicationCommandOutput) => void,
2113
+ ): void;
1703
2114
  stopAdvancedPromptOptimizationJob(
1704
2115
  args: StopAdvancedPromptOptimizationJobCommandInput,
1705
2116
  options?: BedrockRequestOptions,
@@ -1856,6 +2267,19 @@ export interface Bedrock {
1856
2267
  options: BedrockRequestOptions,
1857
2268
  cb: (err: any, data?: UpdateMarketplaceModelEndpointCommandOutput) => void,
1858
2269
  ): void;
2270
+ updateProject(
2271
+ args: UpdateProjectCommandInput,
2272
+ options?: BedrockRequestOptions,
2273
+ ): Promise<UpdateProjectCommandOutput>;
2274
+ updateProject(
2275
+ args: UpdateProjectCommandInput,
2276
+ cb: (err: any, data?: UpdateProjectCommandOutput) => void,
2277
+ ): void;
2278
+ updateProject(
2279
+ args: UpdateProjectCommandInput,
2280
+ options: BedrockRequestOptions,
2281
+ cb: (err: any, data?: UpdateProjectCommandOutput) => void,
2282
+ ): void;
1859
2283
  updateProvisionedModelThroughput(
1860
2284
  args: UpdateProvisionedModelThroughputCommandInput,
1861
2285
  options?: BedrockRequestOptions,
@@ -1988,6 +2412,13 @@ export interface Bedrock {
1988
2412
  Exclude<keyof PaginationConfiguration, "client">
1989
2413
  >,
1990
2414
  ): Paginator<ListModelInvocationJobsCommandOutput>;
2415
+ paginateListProjects(
2416
+ args?: ListProjectsCommandInput,
2417
+ paginationConfig?: Pick<
2418
+ PaginationConfiguration,
2419
+ Exclude<keyof PaginationConfiguration, "client">
2420
+ >,
2421
+ ): Paginator<ListProjectsCommandOutput>;
1991
2422
  paginateListPromptRouters(
1992
2423
  args?: ListPromptRoutersCommandInput,
1993
2424
  paginationConfig?: Pick<
@@ -2002,5 +2433,12 @@ export interface Bedrock {
2002
2433
  Exclude<keyof PaginationConfiguration, "client">
2003
2434
  >,
2004
2435
  ): Paginator<ListProvisionedModelThroughputsCommandOutput>;
2436
+ paginateListTrustedAccessPrograms(
2437
+ args?: ListTrustedAccessProgramsCommandInput,
2438
+ paginationConfig?: Pick<
2439
+ PaginationConfiguration,
2440
+ Exclude<keyof PaginationConfiguration, "client">
2441
+ >,
2442
+ ): Paginator<ListTrustedAccessProgramsCommandOutput>;
2005
2443
  }
2006
2444
  export declare class Bedrock extends BedrockClient implements Bedrock {}