@aws-sdk/client-cloudwatch-logs 3.252.0 → 3.254.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.
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
11
11
  import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
12
12
  import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
@@ -64,11 +64,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
64
64
  */
65
65
  requestHandler?: __HttpHandler;
66
66
  /**
67
- * A constructor for a class implementing the {@link __Hash} interface
67
+ * A constructor for a class implementing the {@link __Checksum} interface
68
68
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
69
69
  * @internal
70
70
  */
71
- sha256?: __HashConstructor;
71
+ sha256?: __ChecksumConstructor | __HashConstructor;
72
72
  /**
73
73
  * The function that will be used to convert strings into HTTP endpoints.
74
74
  * @internal
@@ -553,8 +553,8 @@ export interface DescribeLogStreamsRequest {
553
553
  * <p>The name of the log group.</p>
554
554
  * <note>
555
555
  * <p>
556
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
557
- * the action returns an <code>InvalidParameterException</code> error.
556
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
557
+ * both.
558
558
  * </p>
559
559
  * </note>
560
560
  */
@@ -564,8 +564,8 @@ export interface DescribeLogStreamsRequest {
564
564
  * and you are using a monitoring account, you must use the log group ARN.</p>
565
565
  * <note>
566
566
  * <p>
567
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
568
- * the action returns an <code>InvalidParameterException</code> error.
567
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
568
+ * both.
569
569
  * </p>
570
570
  * </note>
571
571
  */
@@ -1077,9 +1077,8 @@ export interface FilterLogEventsRequest {
1077
1077
  * <p>The name of the log group to search.</p>
1078
1078
  * <note>
1079
1079
  * <p>
1080
- * If you specify values
1081
- * for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1082
- * the action returns an <code>InvalidParameterException</code> error.
1080
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1081
+ * both.
1083
1082
  * </p>
1084
1083
  * </note>
1085
1084
  */
@@ -1089,8 +1088,8 @@ export interface FilterLogEventsRequest {
1089
1088
  * and you are using a monitoring account, you must use the log group ARN.</p>
1090
1089
  * <note>
1091
1090
  * <p>
1092
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1093
- * the action returns an <code>InvalidParameterException</code> error.
1091
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1092
+ * both.
1094
1093
  * </p>
1095
1094
  * </note>
1096
1095
  */
@@ -1209,8 +1208,8 @@ export interface GetLogEventsRequest {
1209
1208
  * <p>The name of the log group.</p>
1210
1209
  * <note>
1211
1210
  * <p>
1212
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1213
- * the action returns an <code>InvalidParameterException</code> error.
1211
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1212
+ * both.
1214
1213
  * </p>
1215
1214
  * </note>
1216
1215
  */
@@ -1220,8 +1219,8 @@ export interface GetLogEventsRequest {
1220
1219
  * and you are using a monitoring account, you must use the log group ARN.</p>
1221
1220
  * <note>
1222
1221
  * <p>
1223
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1224
- * the action returns an <code>InvalidParameterException</code> error.
1222
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1223
+ * both.
1225
1224
  * </p>
1226
1225
  * </note>
1227
1226
  */
@@ -1309,8 +1308,8 @@ export interface GetLogGroupFieldsRequest {
1309
1308
  * <p>The name of the log group to search.</p>
1310
1309
  * <note>
1311
1310
  * <p>
1312
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1313
- * the action returns an <code>InvalidParameterException</code> error.
1311
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1312
+ * both.
1314
1313
  * </p>
1315
1314
  * </note>
1316
1315
  */
@@ -1328,8 +1327,8 @@ export interface GetLogGroupFieldsRequest {
1328
1327
  * you are using a monitoring account, you must specify the ARN.</p>
1329
1328
  * <note>
1330
1329
  * <p>
1331
- * If you specify values for both <code>logGroupName</code> and <code>logGroupIdentifier</code>,
1332
- * the action returns an <code>InvalidParameterException</code> error.
1330
+ * You must include either <code>logGroupIdentifier</code> or <code>logGroupName</code>, but not
1331
+ * both.
1333
1332
  * </p>
1334
1333
  * </note>
1335
1334
  */
@@ -31,6 +31,7 @@ import {
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -341,7 +342,7 @@ export declare type ServiceOutputTypes =
341
342
  export interface ClientDefaults
342
343
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
343
344
  requestHandler?: __HttpHandler;
344
- sha256?: __HashConstructor;
345
+ sha256?: __ChecksumConstructor | __HashConstructor;
345
346
  urlParser?: __UrlParser;
346
347
  bodyLengthChecker?: __BodyLengthCalculator;
347
348
  streamCollector?: __StreamCollector;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.252.0",
4
+ "version": "3.254.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,39 +18,39 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.254.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.254.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
56
  "tslib": "^2.3.1"