@aws-sdk/client-account 3.952.0 → 3.953.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/dist-cjs/index.js +186 -128
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/AcceptPrimaryEmailUpdateCommand.js +2 -2
- package/dist-es/commands/DeleteAlternateContactCommand.js +2 -2
- package/dist-es/commands/DisableRegionCommand.js +2 -2
- package/dist-es/commands/EnableRegionCommand.js +2 -2
- package/dist-es/commands/GetAccountInformationCommand.js +2 -2
- package/dist-es/commands/GetAlternateContactCommand.js +2 -2
- package/dist-es/commands/GetContactInformationCommand.js +2 -2
- package/dist-es/commands/GetGovCloudAccountInformationCommand.js +2 -2
- package/dist-es/commands/GetPrimaryEmailCommand.js +2 -2
- package/dist-es/commands/GetRegionOptStatusCommand.js +2 -2
- package/dist-es/commands/ListRegionsCommand.js +2 -2
- package/dist-es/commands/PutAccountNameCommand.js +2 -2
- package/dist-es/commands/PutAlternateContactCommand.js +2 -2
- package/dist-es/commands/PutContactInformationCommand.js +2 -2
- package/dist-es/commands/StartPrimaryEmailUpdateCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +118 -111
- package/dist-types/AccountClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +52 -74
- package/dist-types/ts3.4/AccountClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -75
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.account",
|
|
32
|
+
version: "2021-02-01",
|
|
33
|
+
serviceTarget: "Account",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "Account",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { AcceptPrimaryEmailUpdate } from "../schemas/schemas_0";
|
|
4
|
+
import { AcceptPrimaryEmailUpdate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AcceptPrimaryEmailUpdateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class AcceptPrimaryEmailUpdateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "AcceptPrimaryEmailUpdate", {})
|
|
13
13
|
.n("AccountClient", "AcceptPrimaryEmailUpdateCommand")
|
|
14
|
-
.sc(AcceptPrimaryEmailUpdate)
|
|
14
|
+
.sc(AcceptPrimaryEmailUpdate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteAlternateContact } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteAlternateContact$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteAlternateContactCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteAlternateContactCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "DeleteAlternateContact", {})
|
|
13
13
|
.n("AccountClient", "DeleteAlternateContactCommand")
|
|
14
|
-
.sc(DeleteAlternateContact)
|
|
14
|
+
.sc(DeleteAlternateContact$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DisableRegion } from "../schemas/schemas_0";
|
|
4
|
+
import { DisableRegion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisableRegionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DisableRegionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "DisableRegion", {})
|
|
13
13
|
.n("AccountClient", "DisableRegionCommand")
|
|
14
|
-
.sc(DisableRegion)
|
|
14
|
+
.sc(DisableRegion$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { EnableRegion } from "../schemas/schemas_0";
|
|
4
|
+
import { EnableRegion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class EnableRegionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class EnableRegionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "EnableRegion", {})
|
|
13
13
|
.n("AccountClient", "EnableRegionCommand")
|
|
14
|
-
.sc(EnableRegion)
|
|
14
|
+
.sc(EnableRegion$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetAccountInformation } from "../schemas/schemas_0";
|
|
4
|
+
import { GetAccountInformation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAccountInformationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetAccountInformationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetAccountInformation", {})
|
|
13
13
|
.n("AccountClient", "GetAccountInformationCommand")
|
|
14
|
-
.sc(GetAccountInformation)
|
|
14
|
+
.sc(GetAccountInformation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetAlternateContact } from "../schemas/schemas_0";
|
|
4
|
+
import { GetAlternateContact$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAlternateContactCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetAlternateContactCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetAlternateContact", {})
|
|
13
13
|
.n("AccountClient", "GetAlternateContactCommand")
|
|
14
|
-
.sc(GetAlternateContact)
|
|
14
|
+
.sc(GetAlternateContact$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetContactInformation } from "../schemas/schemas_0";
|
|
4
|
+
import { GetContactInformation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetContactInformationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetContactInformationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetContactInformation", {})
|
|
13
13
|
.n("AccountClient", "GetContactInformationCommand")
|
|
14
|
-
.sc(GetContactInformation)
|
|
14
|
+
.sc(GetContactInformation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetGovCloudAccountInformation } from "../schemas/schemas_0";
|
|
4
|
+
import { GetGovCloudAccountInformation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetGovCloudAccountInformationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetGovCloudAccountInformationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetGovCloudAccountInformation", {})
|
|
13
13
|
.n("AccountClient", "GetGovCloudAccountInformationCommand")
|
|
14
|
-
.sc(GetGovCloudAccountInformation)
|
|
14
|
+
.sc(GetGovCloudAccountInformation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetPrimaryEmail } from "../schemas/schemas_0";
|
|
4
|
+
import { GetPrimaryEmail$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetPrimaryEmailCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetPrimaryEmailCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetPrimaryEmail", {})
|
|
13
13
|
.n("AccountClient", "GetPrimaryEmailCommand")
|
|
14
|
-
.sc(GetPrimaryEmail)
|
|
14
|
+
.sc(GetPrimaryEmail$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRegionOptStatus } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRegionOptStatus$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRegionOptStatusCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRegionOptStatusCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "GetRegionOptStatus", {})
|
|
13
13
|
.n("AccountClient", "GetRegionOptStatusCommand")
|
|
14
|
-
.sc(GetRegionOptStatus)
|
|
14
|
+
.sc(GetRegionOptStatus$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListRegions } from "../schemas/schemas_0";
|
|
4
|
+
import { ListRegions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListRegionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListRegionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "ListRegions", {})
|
|
13
13
|
.n("AccountClient", "ListRegionsCommand")
|
|
14
|
-
.sc(ListRegions)
|
|
14
|
+
.sc(ListRegions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutAccountName } from "../schemas/schemas_0";
|
|
4
|
+
import { PutAccountName$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutAccountNameCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutAccountNameCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "PutAccountName", {})
|
|
13
13
|
.n("AccountClient", "PutAccountNameCommand")
|
|
14
|
-
.sc(PutAccountName)
|
|
14
|
+
.sc(PutAccountName$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutAlternateContact } from "../schemas/schemas_0";
|
|
4
|
+
import { PutAlternateContact$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutAlternateContactCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutAlternateContactCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "PutAlternateContact", {})
|
|
13
13
|
.n("AccountClient", "PutAlternateContactCommand")
|
|
14
|
-
.sc(PutAlternateContact)
|
|
14
|
+
.sc(PutAlternateContact$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutContactInformation } from "../schemas/schemas_0";
|
|
4
|
+
import { PutContactInformation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutContactInformationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutContactInformationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "PutContactInformation", {})
|
|
13
13
|
.n("AccountClient", "PutContactInformationCommand")
|
|
14
|
-
.sc(PutContactInformation)
|
|
14
|
+
.sc(PutContactInformation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartPrimaryEmailUpdate } from "../schemas/schemas_0";
|
|
4
|
+
import { StartPrimaryEmailUpdate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartPrimaryEmailUpdateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartPrimaryEmailUpdateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Account", "StartPrimaryEmailUpdate", {})
|
|
13
13
|
.n("AccountClient", "StartPrimaryEmailUpdateCommand")
|
|
14
|
-
.sc(StartPrimaryEmailUpdate)
|
|
14
|
+
.sc(StartPrimaryEmailUpdate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.account",
|
|
29
|
+
version: "2021-02-01",
|
|
30
|
+
serviceTarget: "Account",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Account",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|