cdk-lambda-subminute 2.0.437 → 2.0.439
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.
- package/.jsii +4 -4
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +1059 -90
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +41 -34
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +68 -7
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +24 -0
- package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +2 -1
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +46 -35
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +146 -82
- package/node_modules/aws-sdk/apis/emr-containers-2020-10-01.min.json +182 -19
- package/node_modules/aws-sdk/apis/emr-containers-2020-10-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/entityresolution-2018-05-10.min.json +165 -93
- package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +586 -188
- package/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +235 -129
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +84 -43
- package/node_modules/aws-sdk/clients/bedrock.d.ts +1082 -118
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +24 -2
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +65 -1
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +37 -10
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +11 -7
- package/node_modules/aws-sdk/clients/datasync.d.ts +67 -42
- package/node_modules/aws-sdk/clients/ec2.d.ts +112 -40
- package/node_modules/aws-sdk/clients/emrcontainers.d.ts +205 -0
- package/node_modules/aws-sdk/clients/entityresolution.d.ts +64 -0
- package/node_modules/aws-sdk/clients/gamelift.d.ts +592 -88
- package/node_modules/aws-sdk/clients/pi.d.ts +5 -5
- package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ssm.d.ts +186 -6
- package/node_modules/aws-sdk/clients/workspacesweb.d.ts +89 -23
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +17 -17
- package/node_modules/aws-sdk/dist/aws-sdk.js +984 -403
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +78 -78
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -811,6 +811,7 @@ declare namespace BedrockAgent {
|
|
811
811
|
export type BasePromptTemplate = string;
|
812
812
|
export type BedrockEmbeddingModelArn = string;
|
813
813
|
export type Boolean = boolean;
|
814
|
+
export type BucketOwnerAccountId = string;
|
814
815
|
export interface ChunkingConfiguration {
|
815
816
|
/**
|
816
817
|
* Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration. NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
|
@@ -957,6 +958,10 @@ declare namespace BedrockAgent {
|
|
957
958
|
* A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
|
958
959
|
*/
|
959
960
|
clientToken?: ClientToken;
|
961
|
+
/**
|
962
|
+
* The deletion policy for the requested data source
|
963
|
+
*/
|
964
|
+
dataDeletionPolicy?: DataDeletionPolicy;
|
960
965
|
/**
|
961
966
|
* Contains metadata about where the data source is stored.
|
962
967
|
*/
|
@@ -1026,11 +1031,16 @@ declare namespace BedrockAgent {
|
|
1026
1031
|
}
|
1027
1032
|
export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
|
1028
1033
|
export type CustomControlMethod = "RETURN_CONTROL"|string;
|
1034
|
+
export type DataDeletionPolicy = "RETAIN"|"DELETE"|string;
|
1029
1035
|
export interface DataSource {
|
1030
1036
|
/**
|
1031
1037
|
* The time at which the data source was created.
|
1032
1038
|
*/
|
1033
1039
|
createdAt: DateTimestamp;
|
1040
|
+
/**
|
1041
|
+
* The deletion policy for the data source.
|
1042
|
+
*/
|
1043
|
+
dataDeletionPolicy?: DataDeletionPolicy;
|
1034
1044
|
/**
|
1035
1045
|
* Contains details about how the data source is stored.
|
1036
1046
|
*/
|
@@ -1043,6 +1053,10 @@ declare namespace BedrockAgent {
|
|
1043
1053
|
* The description of the data source.
|
1044
1054
|
*/
|
1045
1055
|
description?: Description;
|
1056
|
+
/**
|
1057
|
+
* The details of the failure reasons related to the data source.
|
1058
|
+
*/
|
1059
|
+
failureReasons?: FailureReasons;
|
1046
1060
|
/**
|
1047
1061
|
* The unique identifier of the knowledge base to which the data source belongs.
|
1048
1062
|
*/
|
@@ -1078,7 +1092,7 @@ declare namespace BedrockAgent {
|
|
1078
1092
|
*/
|
1079
1093
|
type: DataSourceType;
|
1080
1094
|
}
|
1081
|
-
export type DataSourceStatus = "AVAILABLE"|"DELETING"|string;
|
1095
|
+
export type DataSourceStatus = "AVAILABLE"|"DELETING"|"DELETE_UNSUCCESSFUL"|string;
|
1082
1096
|
export type DataSourceSummaries = DataSourceSummary[];
|
1083
1097
|
export interface DataSourceSummary {
|
1084
1098
|
/**
|
@@ -1645,7 +1659,7 @@ declare namespace BedrockAgent {
|
|
1645
1659
|
}
|
1646
1660
|
export type KnowledgeBaseRoleArn = string;
|
1647
1661
|
export type KnowledgeBaseState = "ENABLED"|"DISABLED"|string;
|
1648
|
-
export type KnowledgeBaseStatus = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"FAILED"|string;
|
1662
|
+
export type KnowledgeBaseStatus = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"FAILED"|"DELETE_UNSUCCESSFUL"|string;
|
1649
1663
|
export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS"|"PINECONE"|"REDIS_ENTERPRISE_CLOUD"|"RDS"|string;
|
1650
1664
|
export type KnowledgeBaseSummaries = KnowledgeBaseSummary[];
|
1651
1665
|
export interface KnowledgeBaseSummary {
|
@@ -2121,6 +2135,10 @@ declare namespace BedrockAgent {
|
|
2121
2135
|
* The Amazon Resource Name (ARN) of the bucket that contains the data source.
|
2122
2136
|
*/
|
2123
2137
|
bucketArn: S3BucketArn;
|
2138
|
+
/**
|
2139
|
+
* The account ID for the owner of the S3 bucket.
|
2140
|
+
*/
|
2141
|
+
bucketOwnerAccountId?: BucketOwnerAccountId;
|
2124
2142
|
/**
|
2125
2143
|
* A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
|
2126
2144
|
*/
|
@@ -2378,6 +2396,10 @@ declare namespace BedrockAgent {
|
|
2378
2396
|
agent: Agent;
|
2379
2397
|
}
|
2380
2398
|
export interface UpdateDataSourceRequest {
|
2399
|
+
/**
|
2400
|
+
* The data deletion policy of the updated data source.
|
2401
|
+
*/
|
2402
|
+
dataDeletionPolicy?: DataDeletionPolicy;
|
2381
2403
|
/**
|
2382
2404
|
* Contains details about the storage configuration of the data source.
|
2383
2405
|
*/
|
@@ -164,6 +164,21 @@ declare namespace BedrockAgentRuntime {
|
|
164
164
|
}
|
165
165
|
export type BedrockModelArn = string;
|
166
166
|
export type Boolean = boolean;
|
167
|
+
export type ByteContentBlob = Buffer|Uint8Array|Blob|string;
|
168
|
+
export interface ByteContentDoc {
|
169
|
+
/**
|
170
|
+
* The MIME type of the document contained in the wrapper object.
|
171
|
+
*/
|
172
|
+
contentType: ContentType;
|
173
|
+
/**
|
174
|
+
* The byte value of the file to upload, encoded as a Base-64 string.
|
175
|
+
*/
|
176
|
+
data: ByteContentBlob;
|
177
|
+
/**
|
178
|
+
* The file name of the document contained in the wrapper object.
|
179
|
+
*/
|
180
|
+
identifier: Identifier;
|
181
|
+
}
|
167
182
|
export interface Citation {
|
168
183
|
/**
|
169
184
|
* Contains the generated response and metadata
|
@@ -185,6 +200,7 @@ declare namespace BedrockAgentRuntime {
|
|
185
200
|
body?: String;
|
186
201
|
}
|
187
202
|
export type ContentMap = {[key: string]: Parameters};
|
203
|
+
export type ContentType = string;
|
188
204
|
export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
|
189
205
|
export interface DependencyFailedException {
|
190
206
|
message?: NonBlankString;
|
@@ -194,6 +210,42 @@ declare namespace BedrockAgentRuntime {
|
|
194
210
|
resourceName?: NonBlankString;
|
195
211
|
}
|
196
212
|
export type Double = number;
|
213
|
+
export interface ExternalSource {
|
214
|
+
/**
|
215
|
+
* The identifier, contentType, and data of the external source wrapper object.
|
216
|
+
*/
|
217
|
+
byteContent?: ByteContentDoc;
|
218
|
+
/**
|
219
|
+
* The S3 location of the external source wrapper object.
|
220
|
+
*/
|
221
|
+
s3Location?: S3ObjectDoc;
|
222
|
+
/**
|
223
|
+
* The source type of the external source wrapper object.
|
224
|
+
*/
|
225
|
+
sourceType: ExternalSourceType;
|
226
|
+
}
|
227
|
+
export type ExternalSourceType = "S3"|"BYTE_CONTENT"|string;
|
228
|
+
export type ExternalSources = ExternalSource[];
|
229
|
+
export interface ExternalSourcesGenerationConfiguration {
|
230
|
+
/**
|
231
|
+
* Contain the textPromptTemplate string for the external source wrapper object.
|
232
|
+
*/
|
233
|
+
promptTemplate?: PromptTemplate;
|
234
|
+
}
|
235
|
+
export interface ExternalSourcesRetrieveAndGenerateConfiguration {
|
236
|
+
/**
|
237
|
+
* The prompt used with the external source wrapper object with the retrieveAndGenerate function.
|
238
|
+
*/
|
239
|
+
generationConfiguration?: ExternalSourcesGenerationConfiguration;
|
240
|
+
/**
|
241
|
+
* The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
|
242
|
+
*/
|
243
|
+
modelArn: BedrockModelArn;
|
244
|
+
/**
|
245
|
+
* The document used with the external source wrapper object in the retrieveAndGenerate function.
|
246
|
+
*/
|
247
|
+
sources: ExternalSources;
|
248
|
+
}
|
197
249
|
export type FailureReasonString = string;
|
198
250
|
export interface FailureTrace {
|
199
251
|
/**
|
@@ -285,6 +337,7 @@ declare namespace BedrockAgentRuntime {
|
|
285
337
|
*/
|
286
338
|
promptTemplate?: PromptTemplate;
|
287
339
|
}
|
340
|
+
export type Identifier = string;
|
288
341
|
export interface InferenceConfiguration {
|
289
342
|
/**
|
290
343
|
* The maximum number of tokens allowed in the generated response.
|
@@ -766,6 +819,10 @@ declare namespace BedrockAgentRuntime {
|
|
766
819
|
uri?: String;
|
767
820
|
}
|
768
821
|
export interface RetrieveAndGenerateConfiguration {
|
822
|
+
/**
|
823
|
+
* The configuration used with the external source wrapper object in the retrieveAndGenerate function.
|
824
|
+
*/
|
825
|
+
externalSourcesConfiguration?: ExternalSourcesRetrieveAndGenerateConfiguration;
|
769
826
|
/**
|
770
827
|
* Contains details about the resource being queried.
|
771
828
|
*/
|
@@ -826,7 +883,7 @@ declare namespace BedrockAgentRuntime {
|
|
826
883
|
*/
|
827
884
|
kmsKeyArn: KmsKeyArn;
|
828
885
|
}
|
829
|
-
export type RetrieveAndGenerateType = "KNOWLEDGE_BASE"|string;
|
886
|
+
export type RetrieveAndGenerateType = "KNOWLEDGE_BASE"|"EXTERNAL_SOURCES"|string;
|
830
887
|
export interface RetrieveRequest {
|
831
888
|
/**
|
832
889
|
* The unique identifier of the knowledge base to query.
|
@@ -881,6 +938,13 @@ declare namespace BedrockAgentRuntime {
|
|
881
938
|
*/
|
882
939
|
invocationInputs?: InvocationInputs;
|
883
940
|
}
|
941
|
+
export interface S3ObjectDoc {
|
942
|
+
/**
|
943
|
+
* The file location of the S3 wrapper object.
|
944
|
+
*/
|
945
|
+
uri: S3Uri;
|
946
|
+
}
|
947
|
+
export type S3Uri = string;
|
884
948
|
export type SearchType = "HYBRID"|"SEMANTIC"|string;
|
885
949
|
export interface ServiceQuotaExceededException {
|
886
950
|
message?: NonBlankString;
|
@@ -13,31 +13,33 @@ declare class BedrockRuntime extends Service {
|
|
13
13
|
constructor(options?: BedrockRuntime.Types.ClientConfiguration)
|
14
14
|
config: Config & BedrockRuntime.Types.ClientConfiguration;
|
15
15
|
/**
|
16
|
-
* Invokes the specified Bedrock model to run inference using the
|
16
|
+
* Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings. For example code, see Invoke model code examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
|
17
17
|
*/
|
18
18
|
invokeModel(params: BedrockRuntime.Types.InvokeModelRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelResponse) => void): Request<BedrockRuntime.Types.InvokeModelResponse, AWSError>;
|
19
19
|
/**
|
20
|
-
* Invokes the specified Bedrock model to run inference using the
|
20
|
+
* Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings. For example code, see Invoke model code examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
|
21
21
|
*/
|
22
22
|
invokeModel(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelResponse) => void): Request<BedrockRuntime.Types.InvokeModelResponse, AWSError>;
|
23
23
|
/**
|
24
|
-
* Invoke the specified Bedrock model to run inference using the
|
24
|
+
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
25
25
|
*/
|
26
26
|
invokeModelWithResponseStream(params: BedrockRuntime.Types.InvokeModelWithResponseStreamRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
|
27
27
|
/**
|
28
|
-
* Invoke the specified Bedrock model to run inference using the
|
28
|
+
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
29
29
|
*/
|
30
30
|
invokeModelWithResponseStream(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
|
31
31
|
}
|
32
32
|
declare namespace BedrockRuntime {
|
33
33
|
export type Body = Buffer|Uint8Array|Blob|string;
|
34
|
+
export type GuardrailIdentifier = string;
|
35
|
+
export type GuardrailVersion = string;
|
34
36
|
export interface InternalServerException {
|
35
37
|
message?: NonBlankString;
|
36
38
|
}
|
37
39
|
export type InvokeModelIdentifier = string;
|
38
40
|
export interface InvokeModelRequest {
|
39
41
|
/**
|
40
|
-
*
|
42
|
+
* The prompt and inference parameters in the format specified in the contentType in the header. To see the format and content of the request and response bodies for different models, refer to Inference parameters. For more information, see Run inference in the Bedrock User Guide.
|
41
43
|
*/
|
42
44
|
body: Body;
|
43
45
|
/**
|
@@ -49,13 +51,25 @@ declare namespace BedrockRuntime {
|
|
49
51
|
*/
|
50
52
|
accept?: MimeType;
|
51
53
|
/**
|
52
|
-
*
|
54
|
+
* The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide. If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide. If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
|
53
55
|
*/
|
54
56
|
modelId: InvokeModelIdentifier;
|
57
|
+
/**
|
58
|
+
* Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace.
|
59
|
+
*/
|
60
|
+
trace?: Trace;
|
61
|
+
/**
|
62
|
+
* The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error will be thrown in the following situations. You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. You enable the guardrail but the contentType isn't application/json. You provide a guardrail identifier, but guardrailVersion isn't specified.
|
63
|
+
*/
|
64
|
+
guardrailIdentifier?: GuardrailIdentifier;
|
65
|
+
/**
|
66
|
+
* The version number for the guardrail. The value can also be DRAFT.
|
67
|
+
*/
|
68
|
+
guardrailVersion?: GuardrailVersion;
|
55
69
|
}
|
56
70
|
export interface InvokeModelResponse {
|
57
71
|
/**
|
58
|
-
* Inference response from the model in the format specified in the
|
72
|
+
* Inference response from the model in the format specified in the contentType header. To see the format and content of the request and response bodies for different models, refer to Inference parameters.
|
59
73
|
*/
|
60
74
|
body: Body;
|
61
75
|
/**
|
@@ -65,7 +79,7 @@ declare namespace BedrockRuntime {
|
|
65
79
|
}
|
66
80
|
export interface InvokeModelWithResponseStreamRequest {
|
67
81
|
/**
|
68
|
-
*
|
82
|
+
* The prompt and inference parameters in the format specified in the contentType in the header. To see the format and content of the request and response bodies for different models, refer to Inference parameters. For more information, see Run inference in the Bedrock User Guide.
|
69
83
|
*/
|
70
84
|
body: Body;
|
71
85
|
/**
|
@@ -77,13 +91,25 @@ declare namespace BedrockRuntime {
|
|
77
91
|
*/
|
78
92
|
accept?: MimeType;
|
79
93
|
/**
|
80
|
-
*
|
94
|
+
* The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide. If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide. If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
|
81
95
|
*/
|
82
96
|
modelId: InvokeModelIdentifier;
|
97
|
+
/**
|
98
|
+
* Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace.
|
99
|
+
*/
|
100
|
+
trace?: Trace;
|
101
|
+
/**
|
102
|
+
* The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error is thrown in the following situations. You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. You enable the guardrail but the contentType isn't application/json. You provide a guardrail identifier, but guardrailVersion isn't specified.
|
103
|
+
*/
|
104
|
+
guardrailIdentifier?: GuardrailIdentifier;
|
105
|
+
/**
|
106
|
+
* The version number for the guardrail. The value can also be DRAFT.
|
107
|
+
*/
|
108
|
+
guardrailVersion?: GuardrailVersion;
|
83
109
|
}
|
84
110
|
export interface InvokeModelWithResponseStreamResponse {
|
85
111
|
/**
|
86
|
-
* Inference response from the model in the format specified by
|
112
|
+
* Inference response from the model in the format specified by the contentType header. To see the format and content of this field for different models, refer to Inference parameters.
|
87
113
|
*/
|
88
114
|
body: ResponseStream;
|
89
115
|
/**
|
@@ -119,6 +145,7 @@ declare namespace BedrockRuntime {
|
|
119
145
|
export interface ThrottlingException {
|
120
146
|
message?: NonBlankString;
|
121
147
|
}
|
148
|
+
export type Trace = "ENABLED"|"DISABLED"|string;
|
122
149
|
export interface ValidationException {
|
123
150
|
message?: NonBlankString;
|
124
151
|
}
|
@@ -108,11 +108,11 @@ declare class CostExplorer extends Service {
|
|
108
108
|
*/
|
109
109
|
getCostAndUsage(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>;
|
110
110
|
/**
|
111
|
-
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts.
|
111
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other resource-level data is available at daily granularity. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information about how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide.
|
112
112
|
*/
|
113
113
|
getCostAndUsageWithResources(params: CostExplorer.Types.GetCostAndUsageWithResourcesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
114
114
|
/**
|
115
|
-
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts.
|
115
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other resource-level data is available at daily granularity. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information about how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide.
|
116
116
|
*/
|
117
117
|
getCostAndUsageWithResources(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
118
118
|
/**
|
@@ -2678,13 +2678,17 @@ declare namespace CostExplorer {
|
|
2678
2678
|
export type ReservationPurchaseRecommendationDetails = ReservationPurchaseRecommendationDetail[];
|
2679
2679
|
export interface ReservationPurchaseRecommendationMetadata {
|
2680
2680
|
/**
|
2681
|
-
* The ID for
|
2681
|
+
* The ID for the recommendation.
|
2682
2682
|
*/
|
2683
2683
|
RecommendationId?: GenericString;
|
2684
2684
|
/**
|
2685
|
-
* The timestamp for when Amazon Web Services made
|
2685
|
+
* The timestamp for when Amazon Web Services made the recommendation.
|
2686
2686
|
*/
|
2687
2687
|
GenerationTimestamp?: GenericString;
|
2688
|
+
/**
|
2689
|
+
* Additional metadata that might be applicable to the recommendation.
|
2690
|
+
*/
|
2691
|
+
AdditionalMetadata?: GenericString;
|
2688
2692
|
}
|
2689
2693
|
export interface ReservationPurchaseRecommendationSummary {
|
2690
2694
|
/**
|
@@ -2806,15 +2810,15 @@ declare namespace CostExplorer {
|
|
2806
2810
|
export type RightsizingRecommendationList = RightsizingRecommendation[];
|
2807
2811
|
export interface RightsizingRecommendationMetadata {
|
2808
2812
|
/**
|
2809
|
-
* The ID for
|
2813
|
+
* The ID for the recommendation.
|
2810
2814
|
*/
|
2811
2815
|
RecommendationId?: GenericString;
|
2812
2816
|
/**
|
2813
|
-
* The timestamp for when Amazon Web Services made
|
2817
|
+
* The timestamp for when Amazon Web Services made the recommendation.
|
2814
2818
|
*/
|
2815
2819
|
GenerationTimestamp?: GenericString;
|
2816
2820
|
/**
|
2817
|
-
* The number of days of previous usage that Amazon Web Services considers when making
|
2821
|
+
* The number of days of previous usage that Amazon Web Services considers when making the recommendation.
|
2818
2822
|
*/
|
2819
2823
|
LookbackPeriodInDays?: LookbackPeriodInDays;
|
2820
2824
|
/**
|