@cumulus/aws-client 12.0.0 → 12.0.1

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.
@@ -11,7 +11,7 @@
11
11
  * @param {string} [role] - a Role ARN
12
12
  * @returns {Promise<CloudWatchEvents.PutRuleResponse>}
13
13
  */
14
- export declare const putEvent: (name: string, schedule: string, state: string, description?: string | undefined, role?: string | undefined) => Promise<import("aws-sdk/lib/request").PromiseResult<import("aws-sdk/clients/cloudwatchevents").PutRuleResponse, import("aws-sdk").AWSError>>;
14
+ export declare const putEvent: (name: string, schedule: string, state: string, description?: string, role?: string) => Promise<import("aws-sdk/lib/request").PromiseResult<import("aws-sdk/clients/cloudwatchevents").PutRuleResponse, import("aws-sdk").AWSError>>;
15
15
  export declare const deleteEvent: (name: string) => Promise<{
16
16
  $response: import("aws-sdk").Response<{}, import("aws-sdk").AWSError>;
17
17
  }>;
package/DynamoDb.d.ts CHANGED
@@ -23,9 +23,7 @@ export declare const get: (params: {
23
23
  item: GetCommandInput['Key'];
24
24
  client: DynamoDBDocument;
25
25
  getParams?: object;
26
- }) => Promise<{
27
- [key: string]: any;
28
- }>;
26
+ }) => Promise<Record<string, any>>;
29
27
  /**
30
28
  * Call DynamoDb client scan
31
29
  *
package/S3.d.ts CHANGED
@@ -316,7 +316,7 @@ export declare const uploadS3FileStream: (fileStream: Readable, bucket: string,
316
316
  * object is represented as a JS object with the following attributes: `Key`,
317
317
  * `ETag`, `LastModified`, `Owner`, `Size`, `StorageClass`.
318
318
  */
319
- export declare const listS3Objects: (bucket: string, prefix?: string | undefined, skipFolders?: boolean) => Promise<import("@aws-sdk/client-s3")._Object[]>;
319
+ export declare const listS3Objects: (bucket: string, prefix?: string, skipFolders?: boolean) => Promise<import("@aws-sdk/client-s3")._Object[]>;
320
320
  /**
321
321
  * Fetch complete list of S3 objects
322
322
  *
package/client.d.ts CHANGED
@@ -14,6 +14,6 @@ import { AWSClientTypes } from './types';
14
14
  *
15
15
  * @private
16
16
  */
17
- declare const awsClient: <T extends AWSClientTypes>(Service: new (params: object) => T, version?: string | undefined, serviceOptions?: object | undefined) => (params?: object | undefined) => T;
17
+ declare const awsClient: <T extends AWSClientTypes>(Service: new (params: object) => T, version?: string, serviceOptions?: object) => (params?: object) => T;
18
18
  export = awsClient;
19
19
  //# sourceMappingURL=client.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/aws-client",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
4
4
  "description": "Utilities for working with AWS",
5
5
  "keywords": [
6
6
  "GIBS",
@@ -51,9 +51,9 @@
51
51
  "@aws-sdk/s3-request-presigner": "^3.53.0",
52
52
  "@aws-sdk/signature-v4-crt": "^3.53.0",
53
53
  "@aws-sdk/types": "^3.53.0",
54
- "@cumulus/checksum": "12.0.0",
55
- "@cumulus/errors": "12.0.0",
56
- "@cumulus/logger": "12.0.0",
54
+ "@cumulus/checksum": "12.0.1",
55
+ "@cumulus/errors": "12.0.1",
56
+ "@cumulus/logger": "12.0.1",
57
57
  "aws-sdk": "^2.585.0",
58
58
  "jsonpath-plus": "^1.1.0",
59
59
  "lodash": "~4.17.21",
@@ -68,5 +68,5 @@
68
68
  "devDependencies": {
69
69
  "@types/uuid": "^8.0.0"
70
70
  },
71
- "gitHead": "2d84198510f37d64444715736b8b08360f61c766"
71
+ "gitHead": "9d038d8c4330b12dfe2763cbc850680599801edb"
72
72
  }
package/services.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare const cloudwatchlogs: (params?: object | undefined) => AWS.CloudW
15
15
  export declare const cloudwatch: (params?: object | undefined) => AWS.CloudWatch;
16
16
  export declare const dynamodb: (params?: object | undefined) => DynamoDB;
17
17
  export declare const dynamodbstreams: (params?: object | undefined) => DynamoDBStreamsClient;
18
- export declare const dynamodbDocClient: (docClientOptions?: TranslateConfig | undefined, dynamoOptions?: object | undefined) => DynamoDBDocument;
18
+ export declare const dynamodbDocClient: (docClientOptions?: TranslateConfig, dynamoOptions?: object) => DynamoDBDocument;
19
19
  export declare const sfn: (params?: object | undefined) => AWS.StepFunctions;
20
20
  export declare const cf: (params?: object | undefined) => AWS.CloudFormation;
21
21
  export declare const sns: (params?: object | undefined) => AWS.SNS;