@aws-sdk/types 3.109.0 → 3.110.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/types
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/types
@@ -10,9 +10,7 @@ export interface Message {
10
10
  headers: MessageHeaders;
11
11
  body: Uint8Array;
12
12
  }
13
- export interface MessageHeaders {
14
- [name: string]: MessageHeaderValue;
15
- }
13
+ export declare type MessageHeaders = Record<string, MessageHeaderValue>;
16
14
  export interface BooleanHeaderValue {
17
15
  type: "boolean";
18
16
  value: boolean;
@@ -37,9 +37,7 @@ export interface Headers extends Map<string, string> {
37
37
  * properties in favor of the other. The headers may or may not be combined, and
38
38
  * the SDK will not deterministically select which header candidate to use.
39
39
  */
40
- export interface HeaderBag {
41
- [key: string]: string;
42
- }
40
+ export declare type HeaderBag = Record<string, string>;
43
41
  /**
44
42
  * Represents an HTTP message with headers and an optional static or streaming
45
43
  * body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
@@ -53,9 +51,7 @@ export interface HttpMessage {
53
51
  * second being used when a parameter contains a list of values. Value can be set
54
52
  * to null when query is not in key-value pairs shape
55
53
  */
56
- export interface QueryParameterBag {
57
- [key: string]: string | Array<string> | null;
58
- }
54
+ export declare type QueryParameterBag = Record<string, string | Array<string> | null>;
59
55
  export interface Endpoint {
60
56
  protocol: string;
61
57
  hostname: string;
@@ -1,14 +1,10 @@
1
- export interface IniSection {
2
- [key: string]: string | undefined;
3
- }
1
+ export declare type IniSection = Record<string, string | undefined>;
4
2
  /**
5
3
  * @deprecated: Please use IniSection
6
4
  */
7
5
  export interface Profile extends IniSection {
8
6
  }
9
- export interface ParsedIniData {
10
- [key: string]: IniSection;
11
- }
7
+ export declare type ParsedIniData = Record<string, IniSection>;
12
8
  export interface SharedConfigFiles {
13
9
  credentialsFile: ParsedIniData;
14
10
  configFile: ParsedIniData;
@@ -6,9 +6,7 @@ export interface Message {
6
6
  headers: MessageHeaders;
7
7
  body: Uint8Array;
8
8
  }
9
- export interface MessageHeaders {
10
- [name: string]: MessageHeaderValue;
11
- }
9
+ export declare type MessageHeaders = Record<string, MessageHeaderValue>;
12
10
  export interface BooleanHeaderValue {
13
11
  type: "boolean";
14
12
  value: boolean;
@@ -7,18 +7,14 @@ export interface Headers extends Map<string, string> {
7
7
  withoutHeader(headerName: string): Headers;
8
8
  }
9
9
 
10
- export interface HeaderBag {
11
- [key: string]: string;
12
- }
10
+ export declare type HeaderBag = Record<string, string>;
13
11
 
14
12
  export interface HttpMessage {
15
13
  headers: HeaderBag;
16
14
  body?: any;
17
15
  }
18
16
 
19
- export interface QueryParameterBag {
20
- [key: string]: string | Array<string> | null;
21
- }
17
+ export declare type QueryParameterBag = Record<string, string | Array<string> | null>;
22
18
  export interface Endpoint {
23
19
  protocol: string;
24
20
  hostname: string;
@@ -1,12 +1,8 @@
1
- export interface IniSection {
2
- [key: string]: string | undefined;
3
- }
1
+ export declare type IniSection = Record<string, string | undefined>;
4
2
 
5
3
  export interface Profile extends IniSection {
6
4
  }
7
- export interface ParsedIniData {
8
- [key: string]: IniSection;
9
- }
5
+ export declare type ParsedIniData = Record<string, IniSection>;
10
6
  export interface SharedConfigFiles {
11
7
  credentialsFile: ParsedIniData;
12
8
  configFile: ParsedIniData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.109.0",
3
+ "version": "3.110.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",