cdk-lambda-subminute 2.0.412 → 2.0.414

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 (27) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +14 -0
  5. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +52 -0
  6. package/node_modules/aws-sdk/apis/ce-2017-10-25.paginators.json +5 -0
  7. package/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +2 -1
  8. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +130 -73
  9. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +60 -27
  10. package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +2 -3
  11. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +219 -199
  12. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +26 -9
  13. package/node_modules/aws-sdk/clients/codebuild.d.ts +16 -12
  14. package/node_modules/aws-sdk/clients/costexplorer.d.ts +72 -0
  15. package/node_modules/aws-sdk/clients/ec2.d.ts +90 -6
  16. package/node_modules/aws-sdk/clients/ecs.d.ts +15 -15
  17. package/node_modules/aws-sdk/clients/finspace.d.ts +31 -2
  18. package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +41 -33
  19. package/node_modules/aws-sdk/clients/medialive.d.ts +37 -0
  20. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1 -1
  21. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  22. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
  23. package/node_modules/aws-sdk/dist/aws-sdk.js +192 -77
  24. package/node_modules/aws-sdk/dist/aws-sdk.min.js +102 -102
  25. package/node_modules/aws-sdk/lib/core.js +1 -1
  26. package/node_modules/aws-sdk/package.json +1 -1
  27. package/package.json +3 -3
@@ -29,11 +29,11 @@ declare class BedrockAgentRuntime extends Service {
29
29
  */
30
30
  retrieve(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.RetrieveResponse) => void): Request<BedrockAgentRuntime.Types.RetrieveResponse, AWSError>;
31
31
  /**
32
- * Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in the vectorSearchConfiguration object.
32
+ * Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.
33
33
  */
34
34
  retrieveAndGenerate(params: BedrockAgentRuntime.Types.RetrieveAndGenerateRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.RetrieveAndGenerateResponse) => void): Request<BedrockAgentRuntime.Types.RetrieveAndGenerateResponse, AWSError>;
35
35
  /**
36
- * Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in the vectorSearchConfiguration object.
36
+ * Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.
37
37
  */
38
38
  retrieveAndGenerate(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.RetrieveAndGenerateResponse) => void): Request<BedrockAgentRuntime.Types.RetrieveAndGenerateResponse, AWSError>;
39
39
  }
@@ -137,6 +137,12 @@ declare namespace BedrockAgentRuntime {
137
137
  */
138
138
  textResponsePart?: TextResponsePart;
139
139
  }
140
+ export interface GenerationConfiguration {
141
+ /**
142
+ * Contains the template for the prompt that's sent to the model for response generation.
143
+ */
144
+ promptTemplate?: PromptTemplate;
145
+ }
140
146
  export interface InferenceConfiguration {
141
147
  /**
142
148
  * The maximum number of tokens allowed in the generated response.
@@ -208,7 +214,7 @@ declare namespace BedrockAgentRuntime {
208
214
  */
209
215
  sessionId: SessionId;
210
216
  /**
211
- * Contains parameters that specify various attributes of the session.
217
+ * Contains parameters that specify various attributes of the session. For more information, see Control session context.
212
218
  */
213
219
  sessionState?: SessionState;
214
220
  }
@@ -254,7 +260,7 @@ declare namespace BedrockAgentRuntime {
254
260
  export type KnowledgeBaseQueryTextString = string;
255
261
  export interface KnowledgeBaseRetrievalConfiguration {
256
262
  /**
257
- * Contains details about how the results from the vector search should be returned.
263
+ * Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
258
264
  */
259
265
  vectorSearchConfiguration: KnowledgeBaseVectorSearchConfiguration;
260
266
  }
@@ -274,6 +280,10 @@ declare namespace BedrockAgentRuntime {
274
280
  }
275
281
  export type KnowledgeBaseRetrievalResults = KnowledgeBaseRetrievalResult[];
276
282
  export interface KnowledgeBaseRetrieveAndGenerateConfiguration {
283
+ /**
284
+ * Contains configurations for response generation based on the knowwledge base query results.
285
+ */
286
+ generationConfiguration?: GenerationConfiguration;
277
287
  /**
278
288
  * The unique identifier of the knowledge base that is queried and the foundation model used for generation.
279
289
  */
@@ -289,7 +299,7 @@ declare namespace BedrockAgentRuntime {
289
299
  }
290
300
  export interface KnowledgeBaseVectorSearchConfiguration {
291
301
  /**
292
- * The number of results to return. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in this field if you are sending a RetrieveAndGenerate request.
302
+ * The number of source chunks to retrieve.
293
303
  */
294
304
  numberOfResults?: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger;
295
305
  /**
@@ -461,6 +471,12 @@ declare namespace BedrockAgentRuntime {
461
471
  modelInvocationOutput?: PreProcessingModelInvocationOutput;
462
472
  }
463
473
  export type PromptSessionAttributesMap = {[key: string]: String};
474
+ export interface PromptTemplate {
475
+ /**
476
+ * The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template. For more information, see the following resources: Knowledge base prompt templates Use XML tags with Anthropic Claude models
477
+ */
478
+ textPromptTemplate?: TextPromptTemplate;
479
+ }
464
480
  export type PromptText = string;
465
481
  export type PromptType = "PRE_PROCESSING"|"ORCHESTRATION"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|"POST_PROCESSING"|string;
466
482
  export interface Rationale {
@@ -542,11 +558,11 @@ declare namespace BedrockAgentRuntime {
542
558
  }
543
559
  export interface RetrieveAndGenerateRequest {
544
560
  /**
545
- * Contains the query made to the knowledge base.
561
+ * Contains the query to be made to the knowledge base.
546
562
  */
547
563
  input: RetrieveAndGenerateInput;
548
564
  /**
549
- * Contains details about the resource being queried and the foundation model used for generation.
565
+ * Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
550
566
  */
551
567
  retrieveAndGenerateConfiguration?: RetrieveAndGenerateConfiguration;
552
568
  /**
@@ -589,11 +605,11 @@ declare namespace BedrockAgentRuntime {
589
605
  */
590
606
  nextToken?: NextToken;
591
607
  /**
592
- * Contains details about how the results should be returned.
608
+ * Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
593
609
  */
594
610
  retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration;
595
611
  /**
596
- * The query to send the knowledge base.
612
+ * Contains the query to send the knowledge base.
597
613
  */
598
614
  retrievalQuery: KnowledgeBaseQuery;
599
615
  }
@@ -650,6 +666,7 @@ declare namespace BedrockAgentRuntime {
650
666
  export type StopSequences = String[];
651
667
  export type String = string;
652
668
  export type Temperature = number;
669
+ export type TextPromptTemplate = string;
653
670
  export interface TextResponsePart {
654
671
  /**
655
672
  * Contains information about where the text with a citation begins and ends in the generated output.
@@ -416,7 +416,7 @@ declare namespace CodeBuild {
416
416
  export type ArtifactNamespace = "NONE"|"BUILD_ID"|string;
417
417
  export type ArtifactPackaging = "NONE"|"ZIP"|string;
418
418
  export type ArtifactsType = "CODEPIPELINE"|"S3"|"NO_ARTIFACTS"|string;
419
- export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|string;
419
+ export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|string;
420
420
  export interface BatchDeleteBuildsInput {
421
421
  /**
422
422
  * The IDs of the builds to delete.
@@ -1493,7 +1493,7 @@ declare namespace CodeBuild {
1493
1493
  export type FleetSortByType = "NAME"|"CREATED_TIME"|"LAST_MODIFIED_TIME"|string;
1494
1494
  export interface FleetStatus {
1495
1495
  /**
1496
- * The status code of the compute fleet. Valid values include: CREATING: The compute fleet is being created. UPDATING: The compute fleet is being updated. ROTATING: The compute fleet is being rotated. DELETING: The compute fleet is being deleted. CREATE_FAILED: The compute fleet has failed to create. UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. ACTIVE: The compute fleet has succeeded and is active.
1496
+ * The status code of the compute fleet. Valid values include: CREATING: The compute fleet is being created. UPDATING: The compute fleet is being updated. ROTATING: The compute fleet is being rotated. PENDING_DELETION: The compute fleet is pending deletion. DELETING: The compute fleet is being deleted. CREATE_FAILED: The compute fleet has failed to create. UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. ACTIVE: The compute fleet has succeeded and is active.
1497
1497
  */
1498
1498
  statusCode?: FleetStatusCode;
1499
1499
  /**
@@ -2251,11 +2251,11 @@ declare namespace CodeBuild {
2251
2251
  export type ProjectSortByType = "NAME"|"CREATED_TIME"|"LAST_MODIFIED_TIME"|string;
2252
2252
  export interface ProjectSource {
2253
2253
  /**
2254
- * The type of repository that contains the source code to be built. Valid values include: BITBUCKET: The source code is in a Bitbucket repository. CODECOMMIT: The source code is in an CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in CodePipeline. GITHUB: The source code is in a GitHub or GitHub Enterprise Cloud repository. GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository. NO_SOURCE: The project does not have input source code. S3: The source code is in an Amazon S3 bucket.
2254
+ * The type of repository that contains the source code to be built. Valid values include: BITBUCKET: The source code is in a Bitbucket repository. CODECOMMIT: The source code is in an CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in CodePipeline. GITHUB: The source code is in a GitHub repository. GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository. GITLAB: The source code is in a GitLab repository. GITLAB_SELF_MANAGED: The source code is in a self-managed GitLab repository. NO_SOURCE: The project does not have input source code. S3: The source code is in an Amazon S3 bucket.
2255
2255
  */
2256
2256
  type: SourceType;
2257
2257
  /**
2258
- * Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.&lt;region-ID&gt;.amazonaws.com/v1/repos/&lt;repo-name&gt;). For source code in an Amazon S3 input bucket, one of the following. The path to the ZIP file that contains the source code (for example, &lt;bucket-name&gt;/&lt;path&gt;/&lt;object-name&gt;.zip). The path to the folder that contains the source code (for example, &lt;bucket-name&gt;/&lt;path-to-source-code&gt;/&lt;folder&gt;/). For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your GitHub account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access, choose Request access next to each repository you want to allow CodeBuild to have access to, and then choose Authorize application. (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access. (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location.
2258
+ * Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit.&lt;region-ID&gt;.amazonaws.com/v1/repos/&lt;repo-name&gt;). For source code in an Amazon S3 input bucket, one of the following. The path to the ZIP file that contains the source code (for example, &lt;bucket-name&gt;/&lt;path&gt;/&lt;object-name&gt;.zip). The path to the folder that contains the source code (for example, &lt;bucket-name&gt;/&lt;path-to-source-code&gt;/&lt;folder&gt;/). For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your GitHub account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access, choose Request access next to each repository you want to allow CodeBuild to have access to, and then choose Authorize application. (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your GitLab account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections Authorize application page, choose Authorize. Then on the CodeStar Connections Create GitLab connection page, choose Connect to GitLab. (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to override the default connection and use this connection instead, set the auth object's type value to CODECONNECTIONS in the source object. For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access. (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location.
2259
2259
  */
2260
2260
  location?: String;
2261
2261
  /**
@@ -2275,7 +2275,7 @@ declare namespace CodeBuild {
2275
2275
  */
2276
2276
  auth?: SourceAuth;
2277
2277
  /**
2278
- * Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider. If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.
2278
+ * Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide. The status of a build triggered by a webhook is always reported to your source provider. If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.
2279
2279
  */
2280
2280
  reportBuildStatus?: WrapperBoolean;
2281
2281
  /**
@@ -2297,7 +2297,7 @@ declare namespace CodeBuild {
2297
2297
  */
2298
2298
  sourceIdentifier: String;
2299
2299
  /**
2300
- * The source version for the corresponding source identifier. If specified, must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
2300
+ * The source version for the corresponding source identifier. If specified, must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub or GitLab: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
2301
2301
  */
2302
2302
  sourceVersion: String;
2303
2303
  }
@@ -2591,12 +2591,12 @@ declare namespace CodeBuild {
2591
2591
  export type SecurityGroupIds = NonEmptyString[];
2592
2592
  export type SensitiveNonEmptyString = string;
2593
2593
  export type SensitiveString = string;
2594
- export type ServerType = "GITHUB"|"BITBUCKET"|"GITHUB_ENTERPRISE"|string;
2594
+ export type ServerType = "GITHUB"|"BITBUCKET"|"GITHUB_ENTERPRISE"|"GITLAB"|"GITLAB_SELF_MANAGED"|string;
2595
2595
  export type SharedResourceSortByType = "ARN"|"MODIFIED_TIME"|string;
2596
2596
  export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
2597
2597
  export interface SourceAuth {
2598
2598
  /**
2599
- * This data type is deprecated and is no longer accurate or used. The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.
2599
+ * The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
2600
2600
  */
2601
2601
  type: SourceAuthType;
2602
2602
  /**
@@ -2604,23 +2604,27 @@ declare namespace CodeBuild {
2604
2604
  */
2605
2605
  resource?: String;
2606
2606
  }
2607
- export type SourceAuthType = "OAUTH"|string;
2607
+ export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|string;
2608
2608
  export interface SourceCredentialsInfo {
2609
2609
  /**
2610
2610
  * The Amazon Resource Name (ARN) of the token.
2611
2611
  */
2612
2612
  arn?: NonEmptyString;
2613
2613
  /**
2614
- * The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
2614
+ * The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
2615
2615
  */
2616
2616
  serverType?: ServerType;
2617
2617
  /**
2618
- * The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
2618
+ * The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
2619
2619
  */
2620
2620
  authType?: AuthType;
2621
+ /**
2622
+ * The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.
2623
+ */
2624
+ resource?: String;
2621
2625
  }
2622
2626
  export type SourceCredentialsInfos = SourceCredentialsInfo[];
2623
- export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"S3"|"BITBUCKET"|"GITHUB_ENTERPRISE"|"NO_SOURCE"|string;
2627
+ export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"GITLAB"|"GITLAB_SELF_MANAGED"|"S3"|"BITBUCKET"|"GITHUB_ENTERPRISE"|"NO_SOURCE"|string;
2624
2628
  export interface StartBuildBatchInput {
2625
2629
  /**
2626
2630
  * The name of the project.
@@ -227,6 +227,14 @@ declare class CostExplorer extends Service {
227
227
  * Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage.
228
228
  */
229
229
  getUsageForecast(callback?: (err: AWSError, data: CostExplorer.Types.GetUsageForecastResponse) => void): Request<CostExplorer.Types.GetUsageForecastResponse, AWSError>;
230
+ /**
231
+ * Retrieves a list of your historical cost allocation tag backfill requests.
232
+ */
233
+ listCostAllocationTagBackfillHistory(params: CostExplorer.Types.ListCostAllocationTagBackfillHistoryRequest, callback?: (err: AWSError, data: CostExplorer.Types.ListCostAllocationTagBackfillHistoryResponse) => void): Request<CostExplorer.Types.ListCostAllocationTagBackfillHistoryResponse, AWSError>;
234
+ /**
235
+ * Retrieves a list of your historical cost allocation tag backfill requests.
236
+ */
237
+ listCostAllocationTagBackfillHistory(callback?: (err: AWSError, data: CostExplorer.Types.ListCostAllocationTagBackfillHistoryResponse) => void): Request<CostExplorer.Types.ListCostAllocationTagBackfillHistoryResponse, AWSError>;
230
238
  /**
231
239
  * Get a list of cost allocation tags. All inputs in the API are optional and serve as filters. By default, all cost allocation tags are returned.
232
240
  */
@@ -267,6 +275,14 @@ declare class CostExplorer extends Service {
267
275
  * Modifies the feedback property of a given cost anomaly.
268
276
  */
269
277
  provideAnomalyFeedback(callback?: (err: AWSError, data: CostExplorer.Types.ProvideAnomalyFeedbackResponse) => void): Request<CostExplorer.Types.ProvideAnomalyFeedbackResponse, AWSError>;
278
+ /**
279
+ * Request a cost allocation tag backfill. This will backfill the activation status (either active or inactive) for all tag keys from para:BackfillFrom up to the when this request is made. You can request a backfill once every 24 hours.
280
+ */
281
+ startCostAllocationTagBackfill(params: CostExplorer.Types.StartCostAllocationTagBackfillRequest, callback?: (err: AWSError, data: CostExplorer.Types.StartCostAllocationTagBackfillResponse) => void): Request<CostExplorer.Types.StartCostAllocationTagBackfillResponse, AWSError>;
282
+ /**
283
+ * Request a cost allocation tag backfill. This will backfill the activation status (either active or inactive) for all tag keys from para:BackfillFrom up to the when this request is made. You can request a backfill once every 24 hours.
284
+ */
285
+ startCostAllocationTagBackfill(callback?: (err: AWSError, data: CostExplorer.Types.StartCostAllocationTagBackfillResponse) => void): Request<CostExplorer.Types.StartCostAllocationTagBackfillResponse, AWSError>;
270
286
  /**
271
287
  * Requests a Savings Plans recommendation generation. This enables you to calculate a fresh set of Savings Plans recommendations that takes your latest usage data and current Savings Plans inventory into account. You can refresh Savings Plans recommendations up to three times daily for a consolidated billing family. StartSavingsPlansPurchaseRecommendationGeneration has no request syntax because no input parameters are needed to support this operation.
272
288
  */
@@ -489,6 +505,30 @@ declare namespace CostExplorer {
489
505
  */
490
506
  LastUsedDate?: ZonedDateTime;
491
507
  }
508
+ export interface CostAllocationTagBackfillRequest {
509
+ /**
510
+ * The date the backfill starts from.
511
+ */
512
+ BackfillFrom?: ZonedDateTime;
513
+ /**
514
+ * The time when the backfill was requested.
515
+ */
516
+ RequestedAt?: ZonedDateTime;
517
+ /**
518
+ * The backfill completion time.
519
+ */
520
+ CompletedAt?: ZonedDateTime;
521
+ /**
522
+ * The status of the cost allocation tag backfill request.
523
+ */
524
+ BackfillStatus?: CostAllocationTagBackfillStatus;
525
+ /**
526
+ * The time when the backfill status was last updated.
527
+ */
528
+ LastUpdatedAt?: ZonedDateTime;
529
+ }
530
+ export type CostAllocationTagBackfillRequestList = CostAllocationTagBackfillRequest[];
531
+ export type CostAllocationTagBackfillStatus = "SUCCEEDED"|"PROCESSING"|"FAILED"|string;
492
532
  export type CostAllocationTagKeyList = TagKey[];
493
533
  export type CostAllocationTagList = CostAllocationTag[];
494
534
  export type CostAllocationTagStatus = "Active"|"Inactive"|string;
@@ -2027,6 +2067,26 @@ declare namespace CostExplorer {
2027
2067
  }
2028
2068
  export type Key = string;
2029
2069
  export type Keys = Key[];
2070
+ export interface ListCostAllocationTagBackfillHistoryRequest {
2071
+ /**
2072
+ * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
2073
+ */
2074
+ NextToken?: NextPageToken;
2075
+ /**
2076
+ * The maximum number of objects that are returned for this request.
2077
+ */
2078
+ MaxResults?: CostAllocationTagsMaxResults;
2079
+ }
2080
+ export interface ListCostAllocationTagBackfillHistoryResponse {
2081
+ /**
2082
+ * The list of historical cost allocation tag backfill requests.
2083
+ */
2084
+ BackfillRequests?: CostAllocationTagBackfillRequestList;
2085
+ /**
2086
+ * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
2087
+ */
2088
+ NextToken?: NextPageToken;
2089
+ }
2030
2090
  export interface ListCostAllocationTagsRequest {
2031
2091
  /**
2032
2092
  * The status of cost allocation tag keys that are returned for this request.
@@ -3127,6 +3187,18 @@ declare namespace CostExplorer {
3127
3187
  export type SortDefinitionKey = string;
3128
3188
  export type SortDefinitions = SortDefinition[];
3129
3189
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
3190
+ export interface StartCostAllocationTagBackfillRequest {
3191
+ /**
3192
+ * The date you want the backfill to start from. The date can only be a first day of the month (a billing start date). Dates can't precede the previous twelve months, or in the future.
3193
+ */
3194
+ BackfillFrom: ZonedDateTime;
3195
+ }
3196
+ export interface StartCostAllocationTagBackfillResponse {
3197
+ /**
3198
+ * An object containing detailed metadata of your new backfill request.
3199
+ */
3200
+ BackfillRequest?: CostAllocationTagBackfillRequest;
3201
+ }
3130
3202
  export interface StartSavingsPlansPurchaseRecommendationGenerationRequest {
3131
3203
  }
3132
3204
  export interface StartSavingsPlansPurchaseRecommendationGenerationResponse {
@@ -3532,6 +3532,14 @@ declare class EC2 extends Service {
3532
3532
  * Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3533
3533
  */
3534
3534
  getImageBlockPublicAccessState(callback?: (err: AWSError, data: EC2.Types.GetImageBlockPublicAccessStateResult) => void): Request<EC2.Types.GetImageBlockPublicAccessStateResult, AWSError>;
3535
+ /**
3536
+ * Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services&#x2028; Region. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
3537
+ */
3538
+ getInstanceMetadataDefaults(params: EC2.Types.GetInstanceMetadataDefaultsRequest, callback?: (err: AWSError, data: EC2.Types.GetInstanceMetadataDefaultsResult) => void): Request<EC2.Types.GetInstanceMetadataDefaultsResult, AWSError>;
3539
+ /**
3540
+ * Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services&#x2028; Region. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
3541
+ */
3542
+ getInstanceMetadataDefaults(callback?: (err: AWSError, data: EC2.Types.GetInstanceMetadataDefaultsResult) => void): Request<EC2.Types.GetInstanceMetadataDefaultsResult, AWSError>;
3535
3543
  /**
3536
3544
  * Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity. When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values. For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.
3537
3545
  */
@@ -4020,6 +4028,14 @@ declare class EC2 extends Service {
4020
4028
  * Modifies the recovery behavior of your instance to disable simplified automatic recovery or set the recovery behavior to default. The default configuration will not enable simplified automatic recovery for an unsupported instance type. For more information, see Simplified automatic recovery.
4021
4029
  */
4022
4030
  modifyInstanceMaintenanceOptions(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceMaintenanceOptionsResult) => void): Request<EC2.Types.ModifyInstanceMaintenanceOptionsResult, AWSError>;
4031
+ /**
4032
+ * Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services&#x2028; Region. To remove a parameter's account-level default setting, specify no-preference. At instance launch, the value will come from the AMI, or from the launch parameter if specified. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
4033
+ */
4034
+ modifyInstanceMetadataDefaults(params: EC2.Types.ModifyInstanceMetadataDefaultsRequest, callback?: (err: AWSError, data: EC2.Types.ModifyInstanceMetadataDefaultsResult) => void): Request<EC2.Types.ModifyInstanceMetadataDefaultsResult, AWSError>;
4035
+ /**
4036
+ * Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services&#x2028; Region. To remove a parameter's account-level default setting, specify no-preference. At instance launch, the value will come from the AMI, or from the launch parameter if specified. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
4037
+ */
4038
+ modifyInstanceMetadataDefaults(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceMetadataDefaultsResult) => void): Request<EC2.Types.ModifyInstanceMetadataDefaultsResult, AWSError>;
4023
4039
  /**
4024
4040
  * Modify the instance metadata parameters on a running or stopped instance. When you modify the parameters on a stopped instance, they are applied when the instance is started. When you modify the parameters on a running instance, the API responds with a state of “pending”. After the parameter modifications are successfully applied to the instance, the state of the modifications changes from “pending” to “applied” in subsequent describe-instances API calls. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
4025
4041
  */
@@ -7221,6 +7237,7 @@ declare namespace EC2 {
7221
7237
  export type BootModeTypeList = BootModeType[];
7222
7238
  export type BootModeValues = "legacy-bios"|"uefi"|"uefi-preferred"|string;
7223
7239
  export type BoxedDouble = number;
7240
+ export type BoxedInteger = number;
7224
7241
  export type BundleId = string;
7225
7242
  export type BundleIdStringList = BundleId[];
7226
7243
  export interface BundleInstanceRequest {
@@ -12061,6 +12078,8 @@ declare namespace EC2 {
12061
12078
  export type DedicatedHostFlag = boolean;
12062
12079
  export type DedicatedHostId = string;
12063
12080
  export type DedicatedHostIdList = DedicatedHostId[];
12081
+ export type DefaultInstanceMetadataEndpointState = "disabled"|"enabled"|"no-preference"|string;
12082
+ export type DefaultInstanceMetadataTagsState = "disabled"|"enabled"|"no-preference"|string;
12064
12083
  export type DefaultNetworkCardIndex = number;
12065
12084
  export type DefaultRouteTableAssociationValue = "enable"|"disable"|string;
12066
12085
  export type DefaultRouteTablePropagationValue = "enable"|"disable"|string;
@@ -21627,6 +21646,18 @@ declare namespace EC2 {
21627
21646
  */
21628
21647
  ImageBlockPublicAccessState?: String;
21629
21648
  }
21649
+ export interface GetInstanceMetadataDefaultsRequest {
21650
+ /**
21651
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
21652
+ */
21653
+ DryRun?: Boolean;
21654
+ }
21655
+ export interface GetInstanceMetadataDefaultsResult {
21656
+ /**
21657
+ * The account-level default IMDS settings.
21658
+ */
21659
+ AccountLevel?: InstanceMetadataDefaultsResponse;
21660
+ }
21630
21661
  export interface GetInstanceTypesFromInstanceRequirementsRequest {
21631
21662
  /**
21632
21663
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
@@ -23131,7 +23162,7 @@ declare namespace EC2 {
23131
23162
  */
23132
23163
  Hypervisor?: HypervisorType;
23133
23164
  /**
23134
- * The Amazon Web Services account alias (for example, amazon, self) or the Amazon Web Services account ID of the AMI owner.
23165
+ * The owner alias (amazon | aws-marketplace).
23135
23166
  */
23136
23167
  ImageOwnerAlias?: String;
23137
23168
  /**
@@ -24478,14 +24509,32 @@ declare namespace EC2 {
24478
24509
  SpotOptions?: SpotMarketOptions;
24479
24510
  }
24480
24511
  export type InstanceMatchCriteria = "open"|"targeted"|string;
24512
+ export interface InstanceMetadataDefaultsResponse {
24513
+ /**
24514
+ * Indicates whether IMDSv2 is required. optional – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. required – IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.
24515
+ */
24516
+ HttpTokens?: HttpTokensState;
24517
+ /**
24518
+ * The maximum number of hops that the metadata token can travel.
24519
+ */
24520
+ HttpPutResponseHopLimit?: BoxedInteger;
24521
+ /**
24522
+ * Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance metadata can't be accessed.
24523
+ */
24524
+ HttpEndpoint?: InstanceMetadataEndpointState;
24525
+ /**
24526
+ * Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.
24527
+ */
24528
+ InstanceMetadataTags?: InstanceMetadataTagsState;
24529
+ }
24481
24530
  export type InstanceMetadataEndpointState = "disabled"|"enabled"|string;
24482
24531
  export interface InstanceMetadataOptionsRequest {
24483
24532
  /**
24484
- * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
24533
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. required - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0 and the account level default is set to no-preference, the default is required. If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, but the account level default is set to V1 or V2, the default is optional. The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
24485
24534
  */
24486
24535
  HttpTokens?: HttpTokensState;
24487
24536
  /**
24488
- * The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Default: 1 Possible values: Integers from 1 to 64
24537
+ * The maximum number of hops that the metadata token can travel. Possible values: Integers from 1 to 64
24489
24538
  */
24490
24539
  HttpPutResponseHopLimit?: Integer;
24491
24540
  /**
@@ -24507,11 +24556,11 @@ declare namespace EC2 {
24507
24556
  */
24508
24557
  State?: InstanceMetadataOptionsState;
24509
24558
  /**
24510
- * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
24559
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. required - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.
24511
24560
  */
24512
24561
  HttpTokens?: HttpTokensState;
24513
24562
  /**
24514
- * The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Default: 1 Possible values: Integers from 1 to 64
24563
+ * The maximum number of hops that the metadata token can travel. Possible values: Integers from 1 to 64
24515
24564
  */
24516
24565
  HttpPutResponseHopLimit?: Integer;
24517
24566
  /**
@@ -27922,6 +27971,7 @@ declare namespace EC2 {
27922
27971
  Max?: Integer;
27923
27972
  }
27924
27973
  export type MemorySize = number;
27974
+ export type MetadataDefaultHttpTokensState = "optional"|"required"|"no-preference"|string;
27925
27975
  export interface MetricPoint {
27926
27976
  /**
27927
27977
  * The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.
@@ -28529,13 +28579,41 @@ declare namespace EC2 {
28529
28579
  */
28530
28580
  AutoRecovery?: InstanceAutoRecoveryState;
28531
28581
  }
28582
+ export interface ModifyInstanceMetadataDefaultsRequest {
28583
+ /**
28584
+ * Indicates whether IMDSv2 is required. optional – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. required – IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.
28585
+ */
28586
+ HttpTokens?: MetadataDefaultHttpTokensState;
28587
+ /**
28588
+ * The maximum number of hops that the metadata token can travel. Minimum: 1 Maximum: 64
28589
+ */
28590
+ HttpPutResponseHopLimit?: BoxedInteger;
28591
+ /**
28592
+ * Enables or disables the IMDS endpoint on an instance. When disabled, the instance metadata can't be accessed.
28593
+ */
28594
+ HttpEndpoint?: DefaultInstanceMetadataEndpointState;
28595
+ /**
28596
+ * Enables or disables access to an instance's tags from the instance metadata. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.
28597
+ */
28598
+ InstanceMetadataTags?: DefaultInstanceMetadataTagsState;
28599
+ /**
28600
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
28601
+ */
28602
+ DryRun?: Boolean;
28603
+ }
28604
+ export interface ModifyInstanceMetadataDefaultsResult {
28605
+ /**
28606
+ * If the request succeeds, the response returns true. If the request fails, no response is returned, and instead an error message is returned.
28607
+ */
28608
+ Return?: Boolean;
28609
+ }
28532
28610
  export interface ModifyInstanceMetadataOptionsRequest {
28533
28611
  /**
28534
28612
  * The ID of the instance.
28535
28613
  */
28536
28614
  InstanceId: InstanceId;
28537
28615
  /**
28538
- * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
28616
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0 and the account level default is set to no-preference, the default is required. If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, but the account level default is set to V1 or V2, the default is optional. The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
28539
28617
  */
28540
28618
  HttpTokens?: HttpTokensState;
28541
28619
  /**
@@ -31071,7 +31149,13 @@ declare namespace EC2 {
31071
31149
  TotalNeuronDeviceMemoryInMiB?: TotalNeuronMemory;
31072
31150
  }
31073
31151
  export interface NewDhcpConfiguration {
31152
+ /**
31153
+ * The name of a DHCP option.
31154
+ */
31074
31155
  Key?: String;
31156
+ /**
31157
+ * The values for the DHCP option.
31158
+ */
31075
31159
  Values?: ValueStringList;
31076
31160
  }
31077
31161
  export type NewDhcpConfigurationList = NewDhcpConfiguration[];