@aws-sdk/client-oam 3.218.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/LICENSE +201 -0
- package/README.md +216 -0
- package/dist-cjs/OAM.js +232 -0
- package/dist-cjs/OAMClient.js +40 -0
- package/dist-cjs/commands/CreateLinkCommand.js +46 -0
- package/dist-cjs/commands/CreateSinkCommand.js +46 -0
- package/dist-cjs/commands/DeleteLinkCommand.js +46 -0
- package/dist-cjs/commands/DeleteSinkCommand.js +46 -0
- package/dist-cjs/commands/GetLinkCommand.js +46 -0
- package/dist-cjs/commands/GetSinkCommand.js +46 -0
- package/dist-cjs/commands/GetSinkPolicyCommand.js +46 -0
- package/dist-cjs/commands/ListAttachedLinksCommand.js +46 -0
- package/dist-cjs/commands/ListLinksCommand.js +46 -0
- package/dist-cjs/commands/ListSinksCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/PutSinkPolicyCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateLinkCommand.js +46 -0
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/OAMServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +258 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAttachedLinksPaginator.js +36 -0
- package/dist-cjs/pagination/ListLinksPaginator.js +36 -0
- package/dist-cjs/pagination/ListSinksPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1313 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/OAM.js +228 -0
- package/dist-es/OAMClient.js +36 -0
- package/dist-es/commands/CreateLinkCommand.js +42 -0
- package/dist-es/commands/CreateSinkCommand.js +42 -0
- package/dist-es/commands/DeleteLinkCommand.js +42 -0
- package/dist-es/commands/DeleteSinkCommand.js +42 -0
- package/dist-es/commands/GetLinkCommand.js +42 -0
- package/dist-es/commands/GetSinkCommand.js +42 -0
- package/dist-es/commands/GetSinkPolicyCommand.js +42 -0
- package/dist-es/commands/ListAttachedLinksCommand.js +42 -0
- package/dist-es/commands/ListLinksCommand.js +42 -0
- package/dist-es/commands/ListSinksCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/PutSinkPolicyCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateLinkCommand.js +42 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/OAMServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +214 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAttachedLinksPaginator.js +32 -0
- package/dist-es/pagination/ListLinksPaginator.js +32 -0
- package/dist-es/pagination/ListSinksPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1280 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/OAM.d.ts +194 -0
- package/dist-types/OAMClient.d.ts +167 -0
- package/dist-types/commands/CreateLinkCommand.d.ts +46 -0
- package/dist-types/commands/CreateSinkCommand.d.ts +43 -0
- package/dist-types/commands/DeleteLinkCommand.d.ts +38 -0
- package/dist-types/commands/DeleteSinkCommand.d.ts +37 -0
- package/dist-types/commands/GetLinkCommand.d.ts +38 -0
- package/dist-types/commands/GetSinkCommand.d.ts +38 -0
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +38 -0
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +39 -0
- package/dist-types/commands/ListLinksCommand.d.ts +39 -0
- package/dist-types/commands/ListSinksCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +60 -0
- package/dist-types/commands/TagResourceCommand.d.ts +53 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +43 -0
- package/dist-types/commands/UpdateLinkCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/OAMServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +724 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAttachedLinksPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLinksPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSinksPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/OAM.d.ts +259 -0
- package/dist-types/ts3.4/OAMClient.d.ts +200 -0
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OAMServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +313 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAttachedLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +185 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +101 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLinkOutputFilterSensitiveLog = exports.UpdateLinkInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.PutSinkPolicyOutputFilterSensitiveLog = exports.PutSinkPolicyInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListSinksOutputFilterSensitiveLog = exports.ListSinksItemFilterSensitiveLog = exports.ListSinksInputFilterSensitiveLog = exports.ListLinksOutputFilterSensitiveLog = exports.ListLinksItemFilterSensitiveLog = exports.ListLinksInputFilterSensitiveLog = exports.ListAttachedLinksOutputFilterSensitiveLog = exports.ListAttachedLinksItemFilterSensitiveLog = exports.ListAttachedLinksInputFilterSensitiveLog = exports.GetSinkPolicyOutputFilterSensitiveLog = exports.GetSinkPolicyInputFilterSensitiveLog = exports.GetSinkOutputFilterSensitiveLog = exports.GetSinkInputFilterSensitiveLog = exports.GetLinkOutputFilterSensitiveLog = exports.GetLinkInputFilterSensitiveLog = exports.DeleteSinkOutputFilterSensitiveLog = exports.DeleteSinkInputFilterSensitiveLog = exports.DeleteLinkOutputFilterSensitiveLog = exports.DeleteLinkInputFilterSensitiveLog = exports.CreateSinkOutputFilterSensitiveLog = exports.CreateSinkInputFilterSensitiveLog = exports.CreateLinkOutputFilterSensitiveLog = exports.CreateLinkInputFilterSensitiveLog = exports.TooManyTagsException = exports.ValidationException = exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.MissingRequiredParameterException = exports.InvalidParameterException = exports.InternalServiceFault = exports.ResourceType = exports.ConflictException = void 0;
|
|
4
|
+
const OAMServiceException_1 = require("./OAMServiceException");
|
|
5
|
+
class ConflictException extends OAMServiceException_1.OAMServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ConflictException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "ConflictException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
this.amznErrorType = opts.amznErrorType;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConflictException = ConflictException;
|
|
20
|
+
var ResourceType;
|
|
21
|
+
(function (ResourceType) {
|
|
22
|
+
ResourceType["AWS_CLOUDWATCH_METRIC"] = "AWS::CloudWatch::Metric";
|
|
23
|
+
ResourceType["AWS_LOGS_LOGGROUP"] = "AWS::Logs::LogGroup";
|
|
24
|
+
ResourceType["AWS_XRAY_TRACE"] = "AWS::XRay::Trace";
|
|
25
|
+
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
26
|
+
class InternalServiceFault extends OAMServiceException_1.OAMServiceException {
|
|
27
|
+
constructor(opts) {
|
|
28
|
+
super({
|
|
29
|
+
name: "InternalServiceFault",
|
|
30
|
+
$fault: "server",
|
|
31
|
+
...opts,
|
|
32
|
+
});
|
|
33
|
+
this.name = "InternalServiceFault";
|
|
34
|
+
this.$fault = "server";
|
|
35
|
+
Object.setPrototypeOf(this, InternalServiceFault.prototype);
|
|
36
|
+
this.Message = opts.Message;
|
|
37
|
+
this.amznErrorType = opts.amznErrorType;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.InternalServiceFault = InternalServiceFault;
|
|
41
|
+
class InvalidParameterException extends OAMServiceException_1.OAMServiceException {
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "InvalidParameterException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
this.name = "InvalidParameterException";
|
|
49
|
+
this.$fault = "client";
|
|
50
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
51
|
+
this.amznErrorType = opts.amznErrorType;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
55
|
+
class MissingRequiredParameterException extends OAMServiceException_1.OAMServiceException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "MissingRequiredParameterException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "MissingRequiredParameterException";
|
|
63
|
+
this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
|
|
65
|
+
this.amznErrorType = opts.amznErrorType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.MissingRequiredParameterException = MissingRequiredParameterException;
|
|
69
|
+
class ServiceQuotaExceededException extends OAMServiceException_1.OAMServiceException {
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ServiceQuotaExceededException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
this.name = "ServiceQuotaExceededException";
|
|
77
|
+
this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
this.amznErrorType = opts.amznErrorType;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
84
|
+
class ResourceNotFoundException extends OAMServiceException_1.OAMServiceException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ResourceNotFoundException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "ResourceNotFoundException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
this.amznErrorType = opts.amznErrorType;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
99
|
+
class ValidationException extends OAMServiceException_1.OAMServiceException {
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "ValidationException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
this.name = "ValidationException";
|
|
107
|
+
this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
109
|
+
this.Message = opts.Message;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.ValidationException = ValidationException;
|
|
113
|
+
class TooManyTagsException extends OAMServiceException_1.OAMServiceException {
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "TooManyTagsException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
this.name = "TooManyTagsException";
|
|
121
|
+
this.$fault = "client";
|
|
122
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
123
|
+
this.Message = opts.Message;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
127
|
+
const CreateLinkInputFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
});
|
|
130
|
+
exports.CreateLinkInputFilterSensitiveLog = CreateLinkInputFilterSensitiveLog;
|
|
131
|
+
const CreateLinkOutputFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
});
|
|
134
|
+
exports.CreateLinkOutputFilterSensitiveLog = CreateLinkOutputFilterSensitiveLog;
|
|
135
|
+
const CreateSinkInputFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
exports.CreateSinkInputFilterSensitiveLog = CreateSinkInputFilterSensitiveLog;
|
|
139
|
+
const CreateSinkOutputFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
exports.CreateSinkOutputFilterSensitiveLog = CreateSinkOutputFilterSensitiveLog;
|
|
143
|
+
const DeleteLinkInputFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
});
|
|
146
|
+
exports.DeleteLinkInputFilterSensitiveLog = DeleteLinkInputFilterSensitiveLog;
|
|
147
|
+
const DeleteLinkOutputFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
exports.DeleteLinkOutputFilterSensitiveLog = DeleteLinkOutputFilterSensitiveLog;
|
|
151
|
+
const DeleteSinkInputFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
exports.DeleteSinkInputFilterSensitiveLog = DeleteSinkInputFilterSensitiveLog;
|
|
155
|
+
const DeleteSinkOutputFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
});
|
|
158
|
+
exports.DeleteSinkOutputFilterSensitiveLog = DeleteSinkOutputFilterSensitiveLog;
|
|
159
|
+
const GetLinkInputFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
exports.GetLinkInputFilterSensitiveLog = GetLinkInputFilterSensitiveLog;
|
|
163
|
+
const GetLinkOutputFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
});
|
|
166
|
+
exports.GetLinkOutputFilterSensitiveLog = GetLinkOutputFilterSensitiveLog;
|
|
167
|
+
const GetSinkInputFilterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
});
|
|
170
|
+
exports.GetSinkInputFilterSensitiveLog = GetSinkInputFilterSensitiveLog;
|
|
171
|
+
const GetSinkOutputFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
});
|
|
174
|
+
exports.GetSinkOutputFilterSensitiveLog = GetSinkOutputFilterSensitiveLog;
|
|
175
|
+
const GetSinkPolicyInputFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
exports.GetSinkPolicyInputFilterSensitiveLog = GetSinkPolicyInputFilterSensitiveLog;
|
|
179
|
+
const GetSinkPolicyOutputFilterSensitiveLog = (obj) => ({
|
|
180
|
+
...obj,
|
|
181
|
+
});
|
|
182
|
+
exports.GetSinkPolicyOutputFilterSensitiveLog = GetSinkPolicyOutputFilterSensitiveLog;
|
|
183
|
+
const ListAttachedLinksInputFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
exports.ListAttachedLinksInputFilterSensitiveLog = ListAttachedLinksInputFilterSensitiveLog;
|
|
187
|
+
const ListAttachedLinksItemFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
exports.ListAttachedLinksItemFilterSensitiveLog = ListAttachedLinksItemFilterSensitiveLog;
|
|
191
|
+
const ListAttachedLinksOutputFilterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
exports.ListAttachedLinksOutputFilterSensitiveLog = ListAttachedLinksOutputFilterSensitiveLog;
|
|
195
|
+
const ListLinksInputFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
exports.ListLinksInputFilterSensitiveLog = ListLinksInputFilterSensitiveLog;
|
|
199
|
+
const ListLinksItemFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
exports.ListLinksItemFilterSensitiveLog = ListLinksItemFilterSensitiveLog;
|
|
203
|
+
const ListLinksOutputFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
});
|
|
206
|
+
exports.ListLinksOutputFilterSensitiveLog = ListLinksOutputFilterSensitiveLog;
|
|
207
|
+
const ListSinksInputFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
exports.ListSinksInputFilterSensitiveLog = ListSinksInputFilterSensitiveLog;
|
|
211
|
+
const ListSinksItemFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
exports.ListSinksItemFilterSensitiveLog = ListSinksItemFilterSensitiveLog;
|
|
215
|
+
const ListSinksOutputFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
exports.ListSinksOutputFilterSensitiveLog = ListSinksOutputFilterSensitiveLog;
|
|
219
|
+
const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
exports.ListTagsForResourceInputFilterSensitiveLog = ListTagsForResourceInputFilterSensitiveLog;
|
|
223
|
+
const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
|
|
227
|
+
const PutSinkPolicyInputFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
exports.PutSinkPolicyInputFilterSensitiveLog = PutSinkPolicyInputFilterSensitiveLog;
|
|
231
|
+
const PutSinkPolicyOutputFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
234
|
+
exports.PutSinkPolicyOutputFilterSensitiveLog = PutSinkPolicyOutputFilterSensitiveLog;
|
|
235
|
+
const TagResourceInputFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
|
|
239
|
+
const TagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
exports.TagResourceOutputFilterSensitiveLog = TagResourceOutputFilterSensitiveLog;
|
|
243
|
+
const UntagResourceInputFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
|
|
247
|
+
const UntagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
exports.UntagResourceOutputFilterSensitiveLog = UntagResourceOutputFilterSensitiveLog;
|
|
251
|
+
const UpdateLinkInputFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
exports.UpdateLinkInputFilterSensitiveLog = UpdateLinkInputFilterSensitiveLog;
|
|
255
|
+
const UpdateLinkOutputFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
exports.UpdateLinkOutputFilterSensitiveLog = UpdateLinkOutputFilterSensitiveLog;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAttachedLinks = void 0;
|
|
4
|
+
const ListAttachedLinksCommand_1 = require("../commands/ListAttachedLinksCommand");
|
|
5
|
+
const OAM_1 = require("../OAM");
|
|
6
|
+
const OAMClient_1 = require("../OAMClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListAttachedLinksCommand_1.ListAttachedLinksCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listAttachedLinks(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListAttachedLinks(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof OAM_1.OAM) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof OAMClient_1.OAMClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected OAM | OAMClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListAttachedLinks = paginateListAttachedLinks;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListLinks = void 0;
|
|
4
|
+
const ListLinksCommand_1 = require("../commands/ListLinksCommand");
|
|
5
|
+
const OAM_1 = require("../OAM");
|
|
6
|
+
const OAMClient_1 = require("../OAMClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListLinksCommand_1.ListLinksCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listLinks(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListLinks(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof OAM_1.OAM) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof OAMClient_1.OAMClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected OAM | OAMClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListLinks = paginateListLinks;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSinks = void 0;
|
|
4
|
+
const ListSinksCommand_1 = require("../commands/ListSinksCommand");
|
|
5
|
+
const OAM_1 = require("../OAM");
|
|
6
|
+
const OAMClient_1 = require("../OAMClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListSinksCommand_1.ListSinksCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listSinks(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListSinks(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof OAM_1.OAM) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof OAMClient_1.OAMClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected OAM | OAMClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListSinks = paginateListSinks;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAttachedLinksPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListLinksPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListSinksPaginator"), exports);
|