@aws-sdk/client-account 3.296.0 → 3.298.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 +2 -3
- package/dist-cjs/commands/DisableRegionCommand.js +2 -3
- package/dist-cjs/commands/EnableRegionCommand.js +2 -3
- package/dist-cjs/commands/GetAlternateContactCommand.js +1 -1
- package/dist-cjs/commands/GetContactInformationCommand.js +1 -1
- package/dist-cjs/commands/GetRegionOptStatusCommand.js +2 -3
- package/dist-cjs/commands/ListRegionsCommand.js +2 -3
- package/dist-cjs/commands/PutAlternateContactCommand.js +1 -1
- package/dist-cjs/commands/PutContactInformationCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -41
- package/dist-es/commands/DeleteAlternateContactCommand.js +2 -3
- package/dist-es/commands/DisableRegionCommand.js +2 -3
- package/dist-es/commands/EnableRegionCommand.js +2 -3
- package/dist-es/commands/GetAlternateContactCommand.js +2 -2
- package/dist-es/commands/GetContactInformationCommand.js +2 -2
- package/dist-es/commands/GetRegionOptStatusCommand.js +2 -3
- package/dist-es/commands/ListRegionsCommand.js +2 -3
- package/dist-es/commands/PutAlternateContactCommand.js +1 -1
- package/dist-es/commands/PutContactInformationCommand.js +1 -1
- package/dist-es/models/models_0.js +0 -30
- package/dist-types/Account.d.ts +10 -0
- package/dist-types/AccountClient.d.ts +24 -4
- package/dist-types/commands/DeleteAlternateContactCommand.d.ts +16 -0
- package/dist-types/commands/DisableRegionCommand.d.ts +16 -0
- package/dist-types/commands/EnableRegionCommand.d.ts +16 -0
- package/dist-types/commands/GetAlternateContactCommand.d.ts +16 -0
- package/dist-types/commands/GetContactInformationCommand.d.ts +16 -0
- package/dist-types/commands/GetRegionOptStatusCommand.d.ts +16 -0
- package/dist-types/commands/ListRegionsCommand.d.ts +16 -0
- package/dist-types/commands/PutAlternateContactCommand.d.ts +16 -0
- package/dist-types/commands/PutContactInformationCommand.d.ts +16 -0
- package/dist-types/models/AccountServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +58 -40
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListRegionsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -28
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.DeleteAlternateContactCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DeleteAlternateContactCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DeleteAlternateContactCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DisableRegionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DisableRegionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DisableRegionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.EnableRegionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class EnableRegionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class EnableRegionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -30,7 +30,7 @@ class GetAlternateContactCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetAlternateContactResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class GetContactInformationCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetContactInformationResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,6 @@ exports.GetRegionOptStatusCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class GetRegionOptStatusCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetRegionOptStatusCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListRegionsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class ListRegionsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListRegionsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -31,7 +31,7 @@ class PutAlternateContactCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.PutAlternateContactRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -31,7 +31,7 @@ class PutContactInformationCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.PutContactInformationRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutContactInformationRequestFilterSensitiveLog = exports.GetContactInformationResponseFilterSensitiveLog = exports.ContactInformationFilterSensitiveLog = exports.PutAlternateContactRequestFilterSensitiveLog = exports.GetAlternateContactResponseFilterSensitiveLog = exports.AlternateContactFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.RegionOptStatus = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AlternateContactType = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const AccountServiceException_1 = require("./AccountServiceException");
|
|
6
6
|
class AccessDeniedException extends AccountServiceException_1.AccountServiceException {
|
|
@@ -106,19 +106,11 @@ var RegionOptStatus;
|
|
|
106
106
|
RegionOptStatus["ENABLED_BY_DEFAULT"] = "ENABLED_BY_DEFAULT";
|
|
107
107
|
RegionOptStatus["ENABLING"] = "ENABLING";
|
|
108
108
|
})(RegionOptStatus = exports.RegionOptStatus || (exports.RegionOptStatus = {}));
|
|
109
|
-
const DeleteAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
exports.DeleteAlternateContactRequestFilterSensitiveLog = DeleteAlternateContactRequestFilterSensitiveLog;
|
|
113
109
|
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
114
110
|
...obj,
|
|
115
111
|
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
116
112
|
});
|
|
117
113
|
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
118
|
-
const GetAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
119
|
-
...obj,
|
|
120
|
-
});
|
|
121
|
-
exports.GetAlternateContactRequestFilterSensitiveLog = GetAlternateContactRequestFilterSensitiveLog;
|
|
122
114
|
const AlternateContactFilterSensitiveLog = (obj) => ({
|
|
123
115
|
...obj,
|
|
124
116
|
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -140,10 +132,6 @@ const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
|
140
132
|
...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
141
133
|
});
|
|
142
134
|
exports.PutAlternateContactRequestFilterSensitiveLog = PutAlternateContactRequestFilterSensitiveLog;
|
|
143
|
-
const GetContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
});
|
|
146
|
-
exports.GetContactInformationRequestFilterSensitiveLog = GetContactInformationRequestFilterSensitiveLog;
|
|
147
135
|
const ContactInformationFilterSensitiveLog = (obj) => ({
|
|
148
136
|
...obj,
|
|
149
137
|
...(obj.FullName && { FullName: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -170,31 +158,3 @@ const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
|
170
158
|
...(obj.ContactInformation && { ContactInformation: (0, exports.ContactInformationFilterSensitiveLog)(obj.ContactInformation) }),
|
|
171
159
|
});
|
|
172
160
|
exports.PutContactInformationRequestFilterSensitiveLog = PutContactInformationRequestFilterSensitiveLog;
|
|
173
|
-
const DisableRegionRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
exports.DisableRegionRequestFilterSensitiveLog = DisableRegionRequestFilterSensitiveLog;
|
|
177
|
-
const EnableRegionRequestFilterSensitiveLog = (obj) => ({
|
|
178
|
-
...obj,
|
|
179
|
-
});
|
|
180
|
-
exports.EnableRegionRequestFilterSensitiveLog = EnableRegionRequestFilterSensitiveLog;
|
|
181
|
-
const GetRegionOptStatusRequestFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
});
|
|
184
|
-
exports.GetRegionOptStatusRequestFilterSensitiveLog = GetRegionOptStatusRequestFilterSensitiveLog;
|
|
185
|
-
const GetRegionOptStatusResponseFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
exports.GetRegionOptStatusResponseFilterSensitiveLog = GetRegionOptStatusResponseFilterSensitiveLog;
|
|
189
|
-
const ListRegionsRequestFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
});
|
|
192
|
-
exports.ListRegionsRequestFilterSensitiveLog = ListRegionsRequestFilterSensitiveLog;
|
|
193
|
-
const RegionFilterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
});
|
|
196
|
-
exports.RegionFilterSensitiveLog = RegionFilterSensitiveLog;
|
|
197
|
-
const ListRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
exports.ListRegionsResponseFilterSensitiveLog = ListRegionsResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteAlternateContactRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteAlternateContactCommand, serializeAws_restJson1DeleteAlternateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteAlternateContactCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteAlternateContactCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DisableRegionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DisableRegionCommand, serializeAws_restJson1DisableRegionCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DisableRegionCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DisableRegionCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { EnableRegionRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1EnableRegionCommand, serializeAws_restJson1EnableRegionCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class EnableRegionCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class EnableRegionCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetAlternateContactResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetAlternateContactCommand, serializeAws_restJson1GetAlternateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetAlternateContactCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetAlternateContactCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetAlternateContactResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetContactInformationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetContactInformationCommand, serializeAws_restJson1GetContactInformationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetContactInformationCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetContactInformationCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetContactInformationResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetRegionOptStatusRequestFilterSensitiveLog, GetRegionOptStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetRegionOptStatusCommand, serializeAws_restJson1GetRegionOptStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class GetRegionOptStatusCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetRegionOptStatusCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListRegionsRequestFilterSensitiveLog, ListRegionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListRegionsCommand, serializeAws_restJson1ListRegionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListRegionsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListRegionsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -28,7 +28,7 @@ export class PutAlternateContactCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: PutAlternateContactRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -28,7 +28,7 @@ export class PutContactInformationCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: PutContactInformationRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -97,16 +97,10 @@ export var RegionOptStatus;
|
|
|
97
97
|
RegionOptStatus["ENABLED_BY_DEFAULT"] = "ENABLED_BY_DEFAULT";
|
|
98
98
|
RegionOptStatus["ENABLING"] = "ENABLING";
|
|
99
99
|
})(RegionOptStatus || (RegionOptStatus = {}));
|
|
100
|
-
export const DeleteAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
});
|
|
103
100
|
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
104
101
|
...obj,
|
|
105
102
|
...(obj.message && { message: SENSITIVE_STRING }),
|
|
106
103
|
});
|
|
107
|
-
export const GetAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
104
|
export const AlternateContactFilterSensitiveLog = (obj) => ({
|
|
111
105
|
...obj,
|
|
112
106
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -125,9 +119,6 @@ export const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
|
125
119
|
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
126
120
|
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
127
121
|
});
|
|
128
|
-
export const GetContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
122
|
export const ContactInformationFilterSensitiveLog = (obj) => ({
|
|
132
123
|
...obj,
|
|
133
124
|
...(obj.FullName && { FullName: SENSITIVE_STRING }),
|
|
@@ -151,24 +142,3 @@ export const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
|
151
142
|
...obj,
|
|
152
143
|
...(obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }),
|
|
153
144
|
});
|
|
154
|
-
export const DisableRegionRequestFilterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
157
|
-
export const EnableRegionRequestFilterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
export const GetRegionOptStatusRequestFilterSensitiveLog = (obj) => ({
|
|
161
|
-
...obj,
|
|
162
|
-
});
|
|
163
|
-
export const GetRegionOptStatusResponseFilterSensitiveLog = (obj) => ({
|
|
164
|
-
...obj,
|
|
165
|
-
});
|
|
166
|
-
export const ListRegionsRequestFilterSensitiveLog = (obj) => ({
|
|
167
|
-
...obj,
|
|
168
|
-
});
|
|
169
|
-
export const RegionFilterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
export const ListRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
173
|
-
...obj,
|
|
174
|
-
});
|
package/dist-types/Account.d.ts
CHANGED
|
@@ -10,10 +10,12 @@ import { ListRegionsCommandInput, ListRegionsCommandOutput } from "./commands/Li
|
|
|
10
10
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
11
11
|
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
12
12
|
/**
|
|
13
|
+
* @public
|
|
13
14
|
* <p>Operations for Amazon Web Services Account Management</p>
|
|
14
15
|
*/
|
|
15
16
|
export declare class Account extends AccountClient {
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
18
20
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
19
21
|
* updating the alternate contacts</a>.</p>
|
|
@@ -28,18 +30,21 @@ export declare class Account extends AccountClient {
|
|
|
28
30
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
|
|
29
31
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
|
|
30
32
|
/**
|
|
33
|
+
* @public
|
|
31
34
|
* <p>Disables (opts-out) a particular Region for an account.</p>
|
|
32
35
|
*/
|
|
33
36
|
disableRegion(args: DisableRegionCommandInput, options?: __HttpHandlerOptions): Promise<DisableRegionCommandOutput>;
|
|
34
37
|
disableRegion(args: DisableRegionCommandInput, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
|
|
35
38
|
disableRegion(args: DisableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
|
|
36
39
|
/**
|
|
40
|
+
* @public
|
|
37
41
|
* <p>Enables (opts-in) a particular Region for an account.</p>
|
|
38
42
|
*/
|
|
39
43
|
enableRegion(args: EnableRegionCommandInput, options?: __HttpHandlerOptions): Promise<EnableRegionCommandOutput>;
|
|
40
44
|
enableRegion(args: EnableRegionCommandInput, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
|
|
41
45
|
enableRegion(args: EnableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
|
|
42
46
|
/**
|
|
47
|
+
* @public
|
|
43
48
|
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
44
49
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
45
50
|
* updating the alternate contacts</a>.</p>
|
|
@@ -54,6 +59,7 @@ export declare class Account extends AccountClient {
|
|
|
54
59
|
getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
55
60
|
getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
56
61
|
/**
|
|
62
|
+
* @public
|
|
57
63
|
* <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
|
|
58
64
|
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
59
65
|
* the primary and alternate contact information</a>.</p>
|
|
@@ -62,12 +68,14 @@ export declare class Account extends AccountClient {
|
|
|
62
68
|
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
63
69
|
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
64
70
|
/**
|
|
71
|
+
* @public
|
|
65
72
|
* <p>Retrieves the opt-in status of a particular Region.</p>
|
|
66
73
|
*/
|
|
67
74
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetRegionOptStatusCommandOutput>;
|
|
68
75
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
|
|
69
76
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
|
|
70
77
|
/**
|
|
78
|
+
* @public
|
|
71
79
|
* <p>Lists all the Regions for a given account and their respective opt-in statuses.
|
|
72
80
|
* Optionally, this list can be filtered by the <code>region-opt-status-contains</code>
|
|
73
81
|
* parameter. </p>
|
|
@@ -76,6 +84,7 @@ export declare class Account extends AccountClient {
|
|
|
76
84
|
listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
77
85
|
listRegions(args: ListRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
78
86
|
/**
|
|
87
|
+
* @public
|
|
79
88
|
* <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
80
89
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
81
90
|
* updating the alternate contacts</a>.</p>
|
|
@@ -90,6 +99,7 @@ export declare class Account extends AccountClient {
|
|
|
90
99
|
putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
91
100
|
putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
92
101
|
/**
|
|
102
|
+
* @public
|
|
93
103
|
* <p>Updates the primary contact information of an Amazon Web Services account.</p>
|
|
94
104
|
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
95
105
|
* the primary and alternate contact information</a>.</p>
|
|
@@ -17,15 +17,24 @@ 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
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
20
23
|
export type ServiceInputTypes = DeleteAlternateContactCommandInput | DisableRegionCommandInput | EnableRegionCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | GetRegionOptStatusCommandInput | ListRegionsCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
21
27
|
export type ServiceOutputTypes = DeleteAlternateContactCommandOutput | DisableRegionCommandOutput | EnableRegionCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | GetRegionOptStatusCommandOutput | ListRegionsCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
22
31
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
32
|
/**
|
|
24
33
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
25
34
|
*/
|
|
26
35
|
requestHandler?: __HttpHandler;
|
|
27
36
|
/**
|
|
28
|
-
* A constructor for a class implementing the {@link
|
|
37
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
29
38
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
30
39
|
* @internal
|
|
31
40
|
*/
|
|
@@ -115,23 +124,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
124
|
*/
|
|
116
125
|
logger?: __Logger;
|
|
117
126
|
/**
|
|
118
|
-
* The {@link
|
|
127
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
119
128
|
*/
|
|
120
129
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
122
134
|
type AccountClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
123
135
|
/**
|
|
124
|
-
*
|
|
136
|
+
* @public
|
|
137
|
+
*
|
|
138
|
+
* The configuration interface of AccountClient class constructor that set the region, credentials and other options.
|
|
125
139
|
*/
|
|
126
140
|
export interface AccountClientConfig extends AccountClientConfigType {
|
|
127
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
128
145
|
type AccountClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
129
146
|
/**
|
|
130
|
-
*
|
|
147
|
+
* @public
|
|
148
|
+
*
|
|
149
|
+
* The resolved configuration interface of AccountClient class. This is resolved and normalized from the {@link AccountClientConfig | constructor configuration interface}.
|
|
131
150
|
*/
|
|
132
151
|
export interface AccountClientResolvedConfig extends AccountClientResolvedConfigType {
|
|
133
152
|
}
|
|
134
153
|
/**
|
|
154
|
+
* @public
|
|
135
155
|
* <p>Operations for Amazon Web Services Account Management</p>
|
|
136
156
|
*/
|
|
137
157
|
export declare class AccountClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AccountClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
|
|
5
5
|
import { DeleteAlternateContactRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteAlternateContactCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteAlternateContactCommandInput extends DeleteAlternateContactRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteAlternateContactCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
18
23
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
19
24
|
* updating the alternate contacts</a>.</p>
|
|
@@ -33,6 +38,8 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param DeleteAlternateContactCommandInput - {@link DeleteAlternateContactCommandInput}
|
|
42
|
+
* @returns {@link DeleteAlternateContactCommandOutput}
|
|
36
43
|
* @see {@link DeleteAlternateContactCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link DeleteAlternateContactCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link AccountClientResolvedConfig | config} for AccountClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
60
67
|
export declare class DeleteAlternateContactCommand extends $Command<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig> {
|
|
61
68
|
readonly input: DeleteAlternateContactCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: DeleteAlternateContactCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|