@aws-sdk/client-account 3.294.0 → 3.295.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/commands/DeleteAlternateContactCommand.js +4 -4
- package/dist-cjs/commands/DisableRegionCommand.js +4 -4
- package/dist-cjs/commands/EnableRegionCommand.js +4 -4
- package/dist-cjs/commands/GetAlternateContactCommand.js +4 -4
- package/dist-cjs/commands/GetContactInformationCommand.js +4 -4
- package/dist-cjs/commands/GetRegionOptStatusCommand.js +4 -4
- package/dist-cjs/commands/ListRegionsCommand.js +4 -4
- package/dist-cjs/commands/PutAlternateContactCommand.js +4 -4
- package/dist-cjs/commands/PutContactInformationCommand.js +4 -4
- package/dist-es/commands/DeleteAlternateContactCommand.js +4 -4
- package/dist-es/commands/DisableRegionCommand.js +4 -4
- package/dist-es/commands/EnableRegionCommand.js +4 -4
- package/dist-es/commands/GetAlternateContactCommand.js +4 -4
- package/dist-es/commands/GetContactInformationCommand.js +4 -4
- package/dist-es/commands/GetRegionOptStatusCommand.js +4 -4
- package/dist-es/commands/ListRegionsCommand.js +4 -4
- package/dist-es/commands/PutAlternateContactCommand.js +4 -4
- package/dist-es/commands/PutContactInformationCommand.js +4 -4
- package/dist-types/AccountClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/AccountClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/package.json +36 -36
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class DeleteAlternateContactCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class DeleteAlternateContactCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class DisableRegionCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class DisableRegionCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisableRegionCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class EnableRegionCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class EnableRegionCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, EnableRegionCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class GetAlternateContactCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class GetAlternateContactCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class GetContactInformationCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class GetContactInformationCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetContactInformationCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class GetRegionOptStatusCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class GetRegionOptStatusCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRegionOptStatusCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class ListRegionsCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class ListRegionsCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRegionsCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class PutAlternateContactCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class PutAlternateContactCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class PutContactInformationCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19,6 +15,10 @@ class PutContactInformationCommand extends smithy_client_1.Command {
|
|
|
19
15
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
16
|
};
|
|
21
17
|
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
23
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
24
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutContactInformationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { DeleteAlternateContactRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteAlternateContactCommand, serializeAws_restJson1DeleteAlternateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class DeleteAlternateContactCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class DeleteAlternateContactCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { DisableRegionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DisableRegionCommand, serializeAws_restJson1DisableRegionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class DisableRegionCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class DisableRegionCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, DisableRegionCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { EnableRegionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1EnableRegionCommand, serializeAws_restJson1EnableRegionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class EnableRegionCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class EnableRegionCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, EnableRegionCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { GetAlternateContactRequestFilterSensitiveLog, GetAlternateContactResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetAlternateContactCommand, serializeAws_restJson1GetAlternateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetAlternateContactCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class GetAlternateContactCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, GetAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { GetContactInformationRequestFilterSensitiveLog, GetContactInformationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetContactInformationCommand, serializeAws_restJson1GetContactInformationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetContactInformationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class GetContactInformationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, GetContactInformationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { GetRegionOptStatusRequestFilterSensitiveLog, GetRegionOptStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetRegionOptStatusCommand, serializeAws_restJson1GetRegionOptStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetRegionOptStatusCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class GetRegionOptStatusCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, GetRegionOptStatusCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListRegionsRequestFilterSensitiveLog, ListRegionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListRegionsCommand, serializeAws_restJson1ListRegionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListRegionsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListRegionsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListRegionsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { PutAlternateContactRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutAlternateContactCommand, serializeAws_restJson1PutAlternateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutAlternateContactCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class PutAlternateContactCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutAlternateContactCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { PutContactInformationRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutContactInformationCommand, serializeAws_restJson1PutContactInformationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutContactInformationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class PutContactInformationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutContactInformationCommand.getEndpointParameterInstructions()));
|
|
@@ -17,8 +17,8 @@ import { ListRegionsCommandInput, ListRegionsCommandOutput } from "./commands/Li
|
|
|
17
17
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
18
18
|
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type ServiceInputTypes = DeleteAlternateContactCommandInput | DisableRegionCommandInput | EnableRegionCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | GetRegionOptStatusCommandInput | ListRegionsCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput;
|
|
21
|
+
export type ServiceOutputTypes = DeleteAlternateContactCommandOutput | DisableRegionCommandOutput | EnableRegionCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | GetRegionOptStatusCommandOutput | ListRegionsCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput;
|
|
22
22
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
23
|
/**
|
|
24
24
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -119,13 +119,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
119
119
|
*/
|
|
120
120
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
type AccountClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
123
123
|
/**
|
|
124
124
|
* The configuration interface of AccountClient class constructor that set the region, credentials and other options.
|
|
125
125
|
*/
|
|
126
126
|
export interface AccountClientConfig extends AccountClientConfigType {
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
type AccountClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
129
129
|
/**
|
|
130
130
|
* The resolved configuration interface of AccountClient class. This is resolved and normalized from the {@link AccountClientConfig | constructor configuration interface}.
|
|
131
131
|
*/
|
|
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
|
|
|
5
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
6
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
9
|
defaultSigningName: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
ClientResolvedEndpointParameters,
|
|
86
86
|
EndpointParameters,
|
|
87
87
|
} from "./endpoint/EndpointParameters";
|
|
88
|
-
export
|
|
88
|
+
export type ServiceInputTypes =
|
|
89
89
|
| DeleteAlternateContactCommandInput
|
|
90
90
|
| DisableRegionCommandInput
|
|
91
91
|
| EnableRegionCommandInput
|
|
@@ -95,7 +95,7 @@ export declare type ServiceInputTypes =
|
|
|
95
95
|
| ListRegionsCommandInput
|
|
96
96
|
| PutAlternateContactCommandInput
|
|
97
97
|
| PutContactInformationCommandInput;
|
|
98
|
-
export
|
|
98
|
+
export type ServiceOutputTypes =
|
|
99
99
|
| DeleteAlternateContactCommandOutput
|
|
100
100
|
| DisableRegionCommandOutput
|
|
101
101
|
| EnableRegionCommandOutput
|
|
@@ -129,7 +129,7 @@ export interface ClientDefaults
|
|
|
129
129
|
logger?: __Logger;
|
|
130
130
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
type AccountClientConfigType = Partial<
|
|
133
133
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
134
134
|
> &
|
|
135
135
|
ClientDefaults &
|
|
@@ -141,7 +141,7 @@ declare type AccountClientConfigType = Partial<
|
|
|
141
141
|
UserAgentInputConfig &
|
|
142
142
|
ClientInputEndpointParameters;
|
|
143
143
|
export interface AccountClientConfig extends AccountClientConfigType {}
|
|
144
|
-
|
|
144
|
+
type AccountClientResolvedConfigType =
|
|
145
145
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
146
146
|
Required<ClientDefaults> &
|
|
147
147
|
RegionResolvedConfig &
|
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.295.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",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
55
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.295.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.295.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.295.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.295.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.295.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.295.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.295.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.295.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.295.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.295.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.295.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.295.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.295.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.295.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.295.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.295.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.295.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.295.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.295.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.295.0",
|
|
43
|
+
"@aws-sdk/types": "3.295.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.295.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.295.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.295.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.295.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.295.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.295.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.295.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
|
+
"tslib": "^2.5.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
64
|
"typedoc": "0.23.23",
|
|
65
|
-
"typescript": "~4.
|
|
65
|
+
"typescript": "~4.9.5"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=14.0.0"
|