@aws-sdk/client-account 3.136.0 → 3.137.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,17 @@
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.136.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.135.0...v3.136.0) (2022-07-22)
7
18
 
8
19
 
@@ -20,7 +20,7 @@ class DeleteAlternateContactCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DeleteAlternateContactRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DeleteAlternateContactRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -20,8 +20,8 @@ class GetAlternateContactCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetAlternateContactRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetAlternateContactResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetAlternateContactRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetAlternateContactResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class GetContactInformationCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetContactInformationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetContactInformationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetContactInformationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetContactInformationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,7 +20,7 @@ class PutAlternateContactCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.PutAlternateContactRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.PutAlternateContactRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -20,7 +20,7 @@ class PutContactInformationCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.PutContactInformationRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.PutContactInformationRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutContactInformationRequest = exports.GetContactInformationResponse = exports.ContactInformation = exports.GetContactInformationRequest = exports.PutAlternateContactRequest = exports.GetAlternateContactResponse = exports.AlternateContact = exports.GetAlternateContactRequest = exports.ValidationException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DeleteAlternateContactRequest = exports.AlternateContactType = exports.AccessDeniedException = void 0;
3
+ exports.PutContactInformationRequestFilterSensitiveLog = exports.GetContactInformationResponseFilterSensitiveLog = exports.ContactInformationFilterSensitiveLog = exports.GetContactInformationRequestFilterSensitiveLog = exports.PutAlternateContactRequestFilterSensitiveLog = exports.GetAlternateContactResponseFilterSensitiveLog = exports.AlternateContactFilterSensitiveLog = exports.GetAlternateContactRequestFilterSensitiveLog = exports.DeleteAlternateContactRequestFilterSensitiveLog = exports.ValidationException = 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 {
@@ -22,12 +22,6 @@ var AlternateContactType;
22
22
  AlternateContactType["OPERATIONS"] = "OPERATIONS";
23
23
  AlternateContactType["SECURITY"] = "SECURITY";
24
24
  })(AlternateContactType = exports.AlternateContactType || (exports.AlternateContactType = {}));
25
- var DeleteAlternateContactRequest;
26
- (function (DeleteAlternateContactRequest) {
27
- DeleteAlternateContactRequest.filterSensitiveLog = (obj) => ({
28
- ...obj,
29
- });
30
- })(DeleteAlternateContactRequest = exports.DeleteAlternateContactRequest || (exports.DeleteAlternateContactRequest = {}));
31
25
  class InternalServerException extends AccountServiceException_1.AccountServiceException {
32
26
  constructor(opts) {
33
27
  super({
@@ -84,78 +78,62 @@ class ValidationException extends AccountServiceException_1.AccountServiceExcept
84
78
  }
85
79
  }
86
80
  exports.ValidationException = ValidationException;
87
- var GetAlternateContactRequest;
88
- (function (GetAlternateContactRequest) {
89
- GetAlternateContactRequest.filterSensitiveLog = (obj) => ({
90
- ...obj,
91
- });
92
- })(GetAlternateContactRequest = exports.GetAlternateContactRequest || (exports.GetAlternateContactRequest = {}));
93
- var AlternateContact;
94
- (function (AlternateContact) {
95
- AlternateContact.filterSensitiveLog = (obj) => ({
96
- ...obj,
97
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
98
- ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
99
- ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
100
- ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
101
- });
102
- })(AlternateContact = exports.AlternateContact || (exports.AlternateContact = {}));
103
- var GetAlternateContactResponse;
104
- (function (GetAlternateContactResponse) {
105
- GetAlternateContactResponse.filterSensitiveLog = (obj) => ({
106
- ...obj,
107
- ...(obj.AlternateContact && { AlternateContact: AlternateContact.filterSensitiveLog(obj.AlternateContact) }),
108
- });
109
- })(GetAlternateContactResponse = exports.GetAlternateContactResponse || (exports.GetAlternateContactResponse = {}));
110
- var PutAlternateContactRequest;
111
- (function (PutAlternateContactRequest) {
112
- PutAlternateContactRequest.filterSensitiveLog = (obj) => ({
113
- ...obj,
114
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
115
- ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
116
- ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
117
- ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
118
- });
119
- })(PutAlternateContactRequest = exports.PutAlternateContactRequest || (exports.PutAlternateContactRequest = {}));
120
- var GetContactInformationRequest;
121
- (function (GetContactInformationRequest) {
122
- GetContactInformationRequest.filterSensitiveLog = (obj) => ({
123
- ...obj,
124
- });
125
- })(GetContactInformationRequest = exports.GetContactInformationRequest || (exports.GetContactInformationRequest = {}));
126
- var ContactInformation;
127
- (function (ContactInformation) {
128
- ContactInformation.filterSensitiveLog = (obj) => ({
129
- ...obj,
130
- ...(obj.FullName && { FullName: smithy_client_1.SENSITIVE_STRING }),
131
- ...(obj.AddressLine1 && { AddressLine1: smithy_client_1.SENSITIVE_STRING }),
132
- ...(obj.AddressLine2 && { AddressLine2: smithy_client_1.SENSITIVE_STRING }),
133
- ...(obj.AddressLine3 && { AddressLine3: smithy_client_1.SENSITIVE_STRING }),
134
- ...(obj.City && { City: smithy_client_1.SENSITIVE_STRING }),
135
- ...(obj.StateOrRegion && { StateOrRegion: smithy_client_1.SENSITIVE_STRING }),
136
- ...(obj.DistrictOrCounty && { DistrictOrCounty: smithy_client_1.SENSITIVE_STRING }),
137
- ...(obj.PostalCode && { PostalCode: smithy_client_1.SENSITIVE_STRING }),
138
- ...(obj.CountryCode && { CountryCode: smithy_client_1.SENSITIVE_STRING }),
139
- ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
140
- ...(obj.CompanyName && { CompanyName: smithy_client_1.SENSITIVE_STRING }),
141
- ...(obj.WebsiteUrl && { WebsiteUrl: smithy_client_1.SENSITIVE_STRING }),
142
- });
143
- })(ContactInformation = exports.ContactInformation || (exports.ContactInformation = {}));
144
- var GetContactInformationResponse;
145
- (function (GetContactInformationResponse) {
146
- GetContactInformationResponse.filterSensitiveLog = (obj) => ({
147
- ...obj,
148
- ...(obj.ContactInformation && {
149
- ContactInformation: ContactInformation.filterSensitiveLog(obj.ContactInformation),
150
- }),
151
- });
152
- })(GetContactInformationResponse = exports.GetContactInformationResponse || (exports.GetContactInformationResponse = {}));
153
- var PutContactInformationRequest;
154
- (function (PutContactInformationRequest) {
155
- PutContactInformationRequest.filterSensitiveLog = (obj) => ({
156
- ...obj,
157
- ...(obj.ContactInformation && {
158
- ContactInformation: ContactInformation.filterSensitiveLog(obj.ContactInformation),
159
- }),
160
- });
161
- })(PutContactInformationRequest = exports.PutContactInformationRequest || (exports.PutContactInformationRequest = {}));
81
+ const DeleteAlternateContactRequestFilterSensitiveLog = (obj) => ({
82
+ ...obj,
83
+ });
84
+ exports.DeleteAlternateContactRequestFilterSensitiveLog = DeleteAlternateContactRequestFilterSensitiveLog;
85
+ const GetAlternateContactRequestFilterSensitiveLog = (obj) => ({
86
+ ...obj,
87
+ });
88
+ exports.GetAlternateContactRequestFilterSensitiveLog = GetAlternateContactRequestFilterSensitiveLog;
89
+ const AlternateContactFilterSensitiveLog = (obj) => ({
90
+ ...obj,
91
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
92
+ ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
93
+ ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
94
+ ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
95
+ });
96
+ exports.AlternateContactFilterSensitiveLog = AlternateContactFilterSensitiveLog;
97
+ const GetAlternateContactResponseFilterSensitiveLog = (obj) => ({
98
+ ...obj,
99
+ ...(obj.AlternateContact && { AlternateContact: (0, exports.AlternateContactFilterSensitiveLog)(obj.AlternateContact) }),
100
+ });
101
+ exports.GetAlternateContactResponseFilterSensitiveLog = GetAlternateContactResponseFilterSensitiveLog;
102
+ const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
103
+ ...obj,
104
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
105
+ ...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
106
+ ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
107
+ ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
108
+ });
109
+ exports.PutAlternateContactRequestFilterSensitiveLog = PutAlternateContactRequestFilterSensitiveLog;
110
+ const GetContactInformationRequestFilterSensitiveLog = (obj) => ({
111
+ ...obj,
112
+ });
113
+ exports.GetContactInformationRequestFilterSensitiveLog = GetContactInformationRequestFilterSensitiveLog;
114
+ const ContactInformationFilterSensitiveLog = (obj) => ({
115
+ ...obj,
116
+ ...(obj.FullName && { FullName: smithy_client_1.SENSITIVE_STRING }),
117
+ ...(obj.AddressLine1 && { AddressLine1: smithy_client_1.SENSITIVE_STRING }),
118
+ ...(obj.AddressLine2 && { AddressLine2: smithy_client_1.SENSITIVE_STRING }),
119
+ ...(obj.AddressLine3 && { AddressLine3: smithy_client_1.SENSITIVE_STRING }),
120
+ ...(obj.City && { City: smithy_client_1.SENSITIVE_STRING }),
121
+ ...(obj.StateOrRegion && { StateOrRegion: smithy_client_1.SENSITIVE_STRING }),
122
+ ...(obj.DistrictOrCounty && { DistrictOrCounty: smithy_client_1.SENSITIVE_STRING }),
123
+ ...(obj.PostalCode && { PostalCode: smithy_client_1.SENSITIVE_STRING }),
124
+ ...(obj.CountryCode && { CountryCode: smithy_client_1.SENSITIVE_STRING }),
125
+ ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
126
+ ...(obj.CompanyName && { CompanyName: smithy_client_1.SENSITIVE_STRING }),
127
+ ...(obj.WebsiteUrl && { WebsiteUrl: smithy_client_1.SENSITIVE_STRING }),
128
+ });
129
+ exports.ContactInformationFilterSensitiveLog = ContactInformationFilterSensitiveLog;
130
+ const GetContactInformationResponseFilterSensitiveLog = (obj) => ({
131
+ ...obj,
132
+ ...(obj.ContactInformation && { ContactInformation: (0, exports.ContactInformationFilterSensitiveLog)(obj.ContactInformation) }),
133
+ });
134
+ exports.GetContactInformationResponseFilterSensitiveLog = GetContactInformationResponseFilterSensitiveLog;
135
+ const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ ...(obj.ContactInformation && { ContactInformation: (0, exports.ContactInformationFilterSensitiveLog)(obj.ContactInformation) }),
138
+ });
139
+ exports.PutContactInformationRequestFilterSensitiveLog = PutContactInformationRequestFilterSensitiveLog;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteAlternateContactRequest } from "../models/models_0";
4
+ import { DeleteAlternateContactRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteAlternateContactCommand, serializeAws_restJson1DeleteAlternateContactCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteAlternateContactCommand = (function (_super) {
7
7
  __extends(DeleteAlternateContactCommand, _super);
@@ -20,7 +20,7 @@ var DeleteAlternateContactCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteAlternateContactRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteAlternateContactRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetAlternateContactRequest, GetAlternateContactResponse } from "../models/models_0";
4
+ import { GetAlternateContactRequestFilterSensitiveLog, GetAlternateContactResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetAlternateContactCommand, serializeAws_restJson1GetAlternateContactCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetAlternateContactCommand = (function (_super) {
7
7
  __extends(GetAlternateContactCommand, _super);
@@ -20,8 +20,8 @@ var GetAlternateContactCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetAlternateContactRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetAlternateContactResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetAlternateContactRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetAlternateContactResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetContactInformationRequest, GetContactInformationResponse } from "../models/models_0";
4
+ import { GetContactInformationRequestFilterSensitiveLog, GetContactInformationResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetContactInformationCommand, serializeAws_restJson1GetContactInformationCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetContactInformationCommand = (function (_super) {
7
7
  __extends(GetContactInformationCommand, _super);
@@ -20,8 +20,8 @@ var GetContactInformationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetContactInformationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetContactInformationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetContactInformationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetContactInformationResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutAlternateContactRequest } from "../models/models_0";
4
+ import { PutAlternateContactRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PutAlternateContactCommand, serializeAws_restJson1PutAlternateContactCommand, } from "../protocols/Aws_restJson1";
6
6
  var PutAlternateContactCommand = (function (_super) {
7
7
  __extends(PutAlternateContactCommand, _super);
@@ -20,7 +20,7 @@ var PutAlternateContactCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: PutAlternateContactRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: PutAlternateContactRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutContactInformationRequest } from "../models/models_0";
4
+ import { PutContactInformationRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PutContactInformationCommand, serializeAws_restJson1PutContactInformationCommand, } from "../protocols/Aws_restJson1";
6
6
  var PutContactInformationCommand = (function (_super) {
7
7
  __extends(PutContactInformationCommand, _super);
@@ -20,7 +20,7 @@ var PutContactInformationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: PutContactInformationRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: PutContactInformationRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -19,10 +19,6 @@ export var AlternateContactType;
19
19
  AlternateContactType["OPERATIONS"] = "OPERATIONS";
20
20
  AlternateContactType["SECURITY"] = "SECURITY";
21
21
  })(AlternateContactType || (AlternateContactType = {}));
22
- export var DeleteAlternateContactRequest;
23
- (function (DeleteAlternateContactRequest) {
24
- DeleteAlternateContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(DeleteAlternateContactRequest || (DeleteAlternateContactRequest = {}));
26
22
  var InternalServerException = (function (_super) {
27
23
  __extends(InternalServerException, _super);
28
24
  function InternalServerException(opts) {
@@ -75,39 +71,12 @@ var ValidationException = (function (_super) {
75
71
  return ValidationException;
76
72
  }(__BaseException));
77
73
  export { ValidationException };
78
- export var GetAlternateContactRequest;
79
- (function (GetAlternateContactRequest) {
80
- GetAlternateContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
81
- })(GetAlternateContactRequest || (GetAlternateContactRequest = {}));
82
- export var AlternateContact;
83
- (function (AlternateContact) {
84
- AlternateContact.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Title && { Title: SENSITIVE_STRING })), (obj.EmailAddress && { EmailAddress: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }))); };
85
- })(AlternateContact || (AlternateContact = {}));
86
- export var GetAlternateContactResponse;
87
- (function (GetAlternateContactResponse) {
88
- GetAlternateContactResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AlternateContact && { AlternateContact: AlternateContact.filterSensitiveLog(obj.AlternateContact) }))); };
89
- })(GetAlternateContactResponse || (GetAlternateContactResponse = {}));
90
- export var PutAlternateContactRequest;
91
- (function (PutAlternateContactRequest) {
92
- PutAlternateContactRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Title && { Title: SENSITIVE_STRING })), (obj.EmailAddress && { EmailAddress: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }))); };
93
- })(PutAlternateContactRequest || (PutAlternateContactRequest = {}));
94
- export var GetContactInformationRequest;
95
- (function (GetContactInformationRequest) {
96
- GetContactInformationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
- })(GetContactInformationRequest || (GetContactInformationRequest = {}));
98
- export var ContactInformation;
99
- (function (ContactInformation) {
100
- ContactInformation.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.FullName && { FullName: SENSITIVE_STRING })), (obj.AddressLine1 && { AddressLine1: SENSITIVE_STRING })), (obj.AddressLine2 && { AddressLine2: SENSITIVE_STRING })), (obj.AddressLine3 && { AddressLine3: SENSITIVE_STRING })), (obj.City && { City: SENSITIVE_STRING })), (obj.StateOrRegion && { StateOrRegion: SENSITIVE_STRING })), (obj.DistrictOrCounty && { DistrictOrCounty: SENSITIVE_STRING })), (obj.PostalCode && { PostalCode: SENSITIVE_STRING })), (obj.CountryCode && { CountryCode: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING })), (obj.CompanyName && { CompanyName: SENSITIVE_STRING })), (obj.WebsiteUrl && { WebsiteUrl: SENSITIVE_STRING }))); };
101
- })(ContactInformation || (ContactInformation = {}));
102
- export var GetContactInformationResponse;
103
- (function (GetContactInformationResponse) {
104
- GetContactInformationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ContactInformation && {
105
- ContactInformation: ContactInformation.filterSensitiveLog(obj.ContactInformation),
106
- }))); };
107
- })(GetContactInformationResponse || (GetContactInformationResponse = {}));
108
- export var PutContactInformationRequest;
109
- (function (PutContactInformationRequest) {
110
- PutContactInformationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ContactInformation && {
111
- ContactInformation: ContactInformation.filterSensitiveLog(obj.ContactInformation),
112
- }))); };
113
- })(PutContactInformationRequest || (PutContactInformationRequest = {}));
74
+ export var DeleteAlternateContactRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
+ export var GetAlternateContactRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
76
+ export var AlternateContactFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Title && { Title: SENSITIVE_STRING })), (obj.EmailAddress && { EmailAddress: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }))); };
77
+ export var GetAlternateContactResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AlternateContact && { AlternateContact: AlternateContactFilterSensitiveLog(obj.AlternateContact) }))); };
78
+ export var PutAlternateContactRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Title && { Title: SENSITIVE_STRING })), (obj.EmailAddress && { EmailAddress: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }))); };
79
+ export var GetContactInformationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
80
+ export var ContactInformationFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.FullName && { FullName: SENSITIVE_STRING })), (obj.AddressLine1 && { AddressLine1: SENSITIVE_STRING })), (obj.AddressLine2 && { AddressLine2: SENSITIVE_STRING })), (obj.AddressLine3 && { AddressLine3: SENSITIVE_STRING })), (obj.City && { City: SENSITIVE_STRING })), (obj.StateOrRegion && { StateOrRegion: SENSITIVE_STRING })), (obj.DistrictOrCounty && { DistrictOrCounty: SENSITIVE_STRING })), (obj.PostalCode && { PostalCode: SENSITIVE_STRING })), (obj.CountryCode && { CountryCode: SENSITIVE_STRING })), (obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING })), (obj.CompanyName && { CompanyName: SENSITIVE_STRING })), (obj.WebsiteUrl && { WebsiteUrl: SENSITIVE_STRING }))); };
81
+ export var GetContactInformationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }))); };
82
+ export var PutContactInformationRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }))); };
@@ -44,12 +44,6 @@ export interface DeleteAlternateContactRequest {
44
44
  */
45
45
  AccountId?: string;
46
46
  }
47
- export declare namespace DeleteAlternateContactRequest {
48
- /**
49
- * @internal
50
- */
51
- const filterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
52
- }
53
47
  /**
54
48
  * <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again
55
49
  * later.</p>
@@ -127,12 +121,6 @@ export interface GetAlternateContactRequest {
127
121
  */
128
122
  AccountId?: string;
129
123
  }
130
- export declare namespace GetAlternateContactRequest {
131
- /**
132
- * @internal
133
- */
134
- const filterSensitiveLog: (obj: GetAlternateContactRequest) => any;
135
- }
136
124
  /**
137
125
  * <p>A structure that contains the details of an alternate contact associated with an Amazon Web Services
138
126
  * account</p>
@@ -159,24 +147,12 @@ export interface AlternateContact {
159
147
  */
160
148
  AlternateContactType?: AlternateContactType | string;
161
149
  }
162
- export declare namespace AlternateContact {
163
- /**
164
- * @internal
165
- */
166
- const filterSensitiveLog: (obj: AlternateContact) => any;
167
- }
168
150
  export interface GetAlternateContactResponse {
169
151
  /**
170
152
  * <p>A structure that contains the details for the specified alternate contact.</p>
171
153
  */
172
154
  AlternateContact?: AlternateContact;
173
155
  }
174
- export declare namespace GetAlternateContactResponse {
175
- /**
176
- * @internal
177
- */
178
- const filterSensitiveLog: (obj: GetAlternateContactResponse) => any;
179
- }
180
156
  export interface PutAlternateContactRequest {
181
157
  /**
182
158
  * <p>Specifies a name for the alternate contact.</p>
@@ -220,12 +196,6 @@ export interface PutAlternateContactRequest {
220
196
  */
221
197
  AccountId?: string;
222
198
  }
223
- export declare namespace PutAlternateContactRequest {
224
- /**
225
- * @internal
226
- */
227
- const filterSensitiveLog: (obj: PutAlternateContactRequest) => any;
228
- }
229
199
  export interface GetContactInformationRequest {
230
200
  /**
231
201
  * <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
@@ -249,12 +219,6 @@ export interface GetContactInformationRequest {
249
219
  */
250
220
  AccountId?: string;
251
221
  }
252
- export declare namespace GetContactInformationRequest {
253
- /**
254
- * @internal
255
- */
256
- const filterSensitiveLog: (obj: GetContactInformationRequest) => any;
257
- }
258
222
  /**
259
223
  * <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
260
224
  */
@@ -308,24 +272,12 @@ export interface ContactInformation {
308
272
  */
309
273
  WebsiteUrl?: string;
310
274
  }
311
- export declare namespace ContactInformation {
312
- /**
313
- * @internal
314
- */
315
- const filterSensitiveLog: (obj: ContactInformation) => any;
316
- }
317
275
  export interface GetContactInformationResponse {
318
276
  /**
319
277
  * <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
320
278
  */
321
279
  ContactInformation?: ContactInformation;
322
280
  }
323
- export declare namespace GetContactInformationResponse {
324
- /**
325
- * @internal
326
- */
327
- const filterSensitiveLog: (obj: GetContactInformationResponse) => any;
328
- }
329
281
  export interface PutContactInformationRequest {
330
282
  /**
331
283
  * <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
@@ -353,9 +305,39 @@ export interface PutContactInformationRequest {
353
305
  */
354
306
  AccountId?: string;
355
307
  }
356
- export declare namespace PutContactInformationRequest {
357
- /**
358
- * @internal
359
- */
360
- const filterSensitiveLog: (obj: PutContactInformationRequest) => any;
361
- }
308
+ /**
309
+ * @internal
310
+ */
311
+ export declare const DeleteAlternateContactRequestFilterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
312
+ /**
313
+ * @internal
314
+ */
315
+ export declare const GetAlternateContactRequestFilterSensitiveLog: (obj: GetAlternateContactRequest) => any;
316
+ /**
317
+ * @internal
318
+ */
319
+ export declare const AlternateContactFilterSensitiveLog: (obj: AlternateContact) => any;
320
+ /**
321
+ * @internal
322
+ */
323
+ export declare const GetAlternateContactResponseFilterSensitiveLog: (obj: GetAlternateContactResponse) => any;
324
+ /**
325
+ * @internal
326
+ */
327
+ export declare const PutAlternateContactRequestFilterSensitiveLog: (obj: PutAlternateContactRequest) => any;
328
+ /**
329
+ * @internal
330
+ */
331
+ export declare const GetContactInformationRequestFilterSensitiveLog: (obj: GetContactInformationRequest) => any;
332
+ /**
333
+ * @internal
334
+ */
335
+ export declare const ContactInformationFilterSensitiveLog: (obj: ContactInformation) => any;
336
+ /**
337
+ * @internal
338
+ */
339
+ export declare const GetContactInformationResponseFilterSensitiveLog: (obj: GetContactInformationResponse) => any;
340
+ /**
341
+ * @internal
342
+ */
343
+ export declare const PutContactInformationRequestFilterSensitiveLog: (obj: PutContactInformationRequest) => any;
@@ -18,10 +18,6 @@ export interface DeleteAlternateContactRequest {
18
18
 
19
19
  AccountId?: string;
20
20
  }
21
- export declare namespace DeleteAlternateContactRequest {
22
-
23
- const filterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
24
- }
25
21
 
26
22
  export declare class InternalServerException extends __BaseException {
27
23
  readonly name: "InternalServerException";
@@ -60,10 +56,6 @@ export interface GetAlternateContactRequest {
60
56
 
61
57
  AccountId?: string;
62
58
  }
63
- export declare namespace GetAlternateContactRequest {
64
-
65
- const filterSensitiveLog: (obj: GetAlternateContactRequest) => any;
66
- }
67
59
 
68
60
  export interface AlternateContact {
69
61
 
@@ -77,18 +69,10 @@ export interface AlternateContact {
77
69
 
78
70
  AlternateContactType?: AlternateContactType | string;
79
71
  }
80
- export declare namespace AlternateContact {
81
-
82
- const filterSensitiveLog: (obj: AlternateContact) => any;
83
- }
84
72
  export interface GetAlternateContactResponse {
85
73
 
86
74
  AlternateContact?: AlternateContact;
87
75
  }
88
- export declare namespace GetAlternateContactResponse {
89
-
90
- const filterSensitiveLog: (obj: GetAlternateContactResponse) => any;
91
- }
92
76
  export interface PutAlternateContactRequest {
93
77
 
94
78
  Name: string | undefined;
@@ -103,18 +87,10 @@ export interface PutAlternateContactRequest {
103
87
 
104
88
  AccountId?: string;
105
89
  }
106
- export declare namespace PutAlternateContactRequest {
107
-
108
- const filterSensitiveLog: (obj: PutAlternateContactRequest) => any;
109
- }
110
90
  export interface GetContactInformationRequest {
111
91
 
112
92
  AccountId?: string;
113
93
  }
114
- export declare namespace GetContactInformationRequest {
115
-
116
- const filterSensitiveLog: (obj: GetContactInformationRequest) => any;
117
- }
118
94
 
119
95
  export interface ContactInformation {
120
96
 
@@ -142,25 +118,31 @@ export interface ContactInformation {
142
118
 
143
119
  WebsiteUrl?: string;
144
120
  }
145
- export declare namespace ContactInformation {
146
-
147
- const filterSensitiveLog: (obj: ContactInformation) => any;
148
- }
149
121
  export interface GetContactInformationResponse {
150
122
 
151
123
  ContactInformation?: ContactInformation;
152
124
  }
153
- export declare namespace GetContactInformationResponse {
154
-
155
- const filterSensitiveLog: (obj: GetContactInformationResponse) => any;
156
- }
157
125
  export interface PutContactInformationRequest {
158
126
 
159
127
  ContactInformation: ContactInformation | undefined;
160
128
 
161
129
  AccountId?: string;
162
130
  }
163
- export declare namespace PutContactInformationRequest {
164
-
165
- const filterSensitiveLog: (obj: PutContactInformationRequest) => any;
166
- }
131
+
132
+ export declare const DeleteAlternateContactRequestFilterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
133
+
134
+ export declare const GetAlternateContactRequestFilterSensitiveLog: (obj: GetAlternateContactRequest) => any;
135
+
136
+ export declare const AlternateContactFilterSensitiveLog: (obj: AlternateContact) => any;
137
+
138
+ export declare const GetAlternateContactResponseFilterSensitiveLog: (obj: GetAlternateContactResponse) => any;
139
+
140
+ export declare const PutAlternateContactRequestFilterSensitiveLog: (obj: PutAlternateContactRequest) => any;
141
+
142
+ export declare const GetContactInformationRequestFilterSensitiveLog: (obj: GetContactInformationRequest) => any;
143
+
144
+ export declare const ContactInformationFilterSensitiveLog: (obj: ContactInformation) => any;
145
+
146
+ export declare const GetContactInformationResponseFilterSensitiveLog: (obj: GetContactInformationResponse) => any;
147
+
148
+ export declare const PutContactInformationRequestFilterSensitiveLog: (obj: PutContactInformationRequest) => any;
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.136.0",
4
+ "version": "3.137.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.131.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.131.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",