@aws-sdk/client-route53profiles 3.560.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 +335 -0
- package/dist-cjs/Route53Profiles.js +43 -0
- package/dist-cjs/Route53ProfilesClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateProfileCommand.js +28 -0
- package/dist-cjs/commands/AssociateResourceToProfileCommand.js +28 -0
- package/dist-cjs/commands/CreateProfileCommand.js +28 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +28 -0
- package/dist-cjs/commands/DisassociateProfileCommand.js +28 -0
- package/dist-cjs/commands/DisassociateResourceFromProfileCommand.js +28 -0
- package/dist-cjs/commands/GetProfileAssociationCommand.js +28 -0
- package/dist-cjs/commands/GetProfileCommand.js +28 -0
- package/dist-cjs/commands/GetProfileResourceAssociationCommand.js +28 -0
- package/dist-cjs/commands/ListProfileAssociationsCommand.js +28 -0
- package/dist-cjs/commands/ListProfileResourceAssociationsCommand.js +28 -0
- package/dist-cjs/commands/ListProfilesCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateProfileResourceAssociationCommand.js +28 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/Route53ProfilesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +161 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListProfileAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListProfileResourceAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +719 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Route53Profiles.js +39 -0
- package/dist-es/Route53ProfilesClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateProfileCommand.js +24 -0
- package/dist-es/commands/AssociateResourceToProfileCommand.js +24 -0
- package/dist-es/commands/CreateProfileCommand.js +24 -0
- package/dist-es/commands/DeleteProfileCommand.js +24 -0
- package/dist-es/commands/DisassociateProfileCommand.js +24 -0
- package/dist-es/commands/DisassociateResourceFromProfileCommand.js +24 -0
- package/dist-es/commands/GetProfileAssociationCommand.js +24 -0
- package/dist-es/commands/GetProfileCommand.js +24 -0
- package/dist-es/commands/GetProfileResourceAssociationCommand.js +24 -0
- package/dist-es/commands/ListProfileAssociationsCommand.js +24 -0
- package/dist-es/commands/ListProfileResourceAssociationsCommand.js +24 -0
- package/dist-es/commands/ListProfilesCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateProfileResourceAssociationCommand.js +24 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/Route53ProfilesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +148 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListProfileAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListProfileResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +684 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Route53Profiles.d.ts +126 -0
- package/dist-types/Route53ProfilesClient.d.ts +189 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateProfileCommand.d.ts +119 -0
- package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +116 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +104 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +97 -0
- package/dist-types/commands/DisassociateProfileCommand.d.ts +102 -0
- package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +114 -0
- package/dist-types/commands/GetProfileAssociationCommand.d.ts +91 -0
- package/dist-types/commands/GetProfileCommand.d.ts +92 -0
- package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +98 -0
- package/dist-types/commands/ListProfileAssociationsCommand.d.ts +102 -0
- package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +114 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/TagResourceCommand.d.ts +82 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateProfileResourceAssociationCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/Route53ProfilesServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1067 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListProfileAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Route53Profiles.d.ts +281 -0
- package/dist-types/ts3.4/Route53ProfilesClient.d.ts +217 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/AssociateResourceToProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateResourceFromProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetProfileAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProfileResourceAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileAssociationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileResourceAssociationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProfileResourceAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/Route53ProfilesServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +261 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListProfileAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.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 +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53Profiles", "ListTagsForResource", {})
|
|
19
|
+
.n("Route53ProfilesClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53Profiles", "TagResource", {})
|
|
19
|
+
.n("Route53ProfilesClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53Profiles", "UntagResource", {})
|
|
19
|
+
.n("Route53ProfilesClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateProfileResourceAssociationCommand, se_UpdateProfileResourceAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateProfileResourceAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53Profiles", "UpdateProfileResourceAssociation", {})
|
|
19
|
+
.n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProfileResourceAssociationCommand)
|
|
22
|
+
.de(de_UpdateProfileResourceAssociationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./AssociateProfileCommand";
|
|
2
|
+
export * from "./AssociateResourceToProfileCommand";
|
|
3
|
+
export * from "./CreateProfileCommand";
|
|
4
|
+
export * from "./DeleteProfileCommand";
|
|
5
|
+
export * from "./DisassociateProfileCommand";
|
|
6
|
+
export * from "./DisassociateResourceFromProfileCommand";
|
|
7
|
+
export * from "./GetProfileAssociationCommand";
|
|
8
|
+
export * from "./GetProfileCommand";
|
|
9
|
+
export * from "./GetProfileResourceAssociationCommand";
|
|
10
|
+
export * from "./ListProfileAssociationsCommand";
|
|
11
|
+
export * from "./ListProfileResourceAssociationsCommand";
|
|
12
|
+
export * from "./ListProfilesCommand";
|
|
13
|
+
export * from "./ListTagsForResourceCommand";
|
|
14
|
+
export * from "./TagResourceCommand";
|
|
15
|
+
export * from "./UntagResourceCommand";
|
|
16
|
+
export * from "./UpdateProfileResourceAssociationCommand";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
|
+
defaultSigningName: "route53profiles",
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
+
return resolveEndpoint(ruleSet, {
|
|
6
|
+
endpointParams: endpointParams,
|
|
7
|
+
logger: context.logger,
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://route53profiles-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://route53profiles-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://route53profiles.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://route53profiles.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class Route53ProfilesServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, Route53ProfilesServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { Route53ProfilesServiceException as __BaseException } from "./Route53ProfilesServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
this.Message = opts.Message;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export const ProfileStatus = {
|
|
16
|
+
COMPLETE: "COMPLETE",
|
|
17
|
+
CREATING: "CREATING",
|
|
18
|
+
DELETED: "DELETED",
|
|
19
|
+
DELETING: "DELETING",
|
|
20
|
+
FAILED: "FAILED",
|
|
21
|
+
UPDATING: "UPDATING",
|
|
22
|
+
};
|
|
23
|
+
export class ConflictException extends __BaseException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "ConflictException";
|
|
31
|
+
this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
33
|
+
this.Message = opts.Message;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export class InvalidParameterException extends __BaseException {
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "InvalidParameterException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
this.name = "InvalidParameterException";
|
|
44
|
+
this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
this.FieldName = opts.FieldName;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class LimitExceededException extends __BaseException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "LimitExceededException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "LimitExceededException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
this.ResourceType = opts.ResourceType;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class ResourceExistsException extends __BaseException {
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ResourceExistsException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
this.name = "ResourceExistsException";
|
|
72
|
+
this.$fault = "client";
|
|
73
|
+
Object.setPrototypeOf(this, ResourceExistsException.prototype);
|
|
74
|
+
this.Message = opts.Message;
|
|
75
|
+
this.ResourceType = opts.ResourceType;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "ResourceNotFoundException",
|
|
82
|
+
$fault: "client",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
this.name = "ResourceNotFoundException";
|
|
86
|
+
this.$fault = "client";
|
|
87
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
88
|
+
this.Message = opts.Message;
|
|
89
|
+
this.ResourceType = opts.ResourceType;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class ThrottlingException extends __BaseException {
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ThrottlingException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
this.name = "ThrottlingException";
|
|
100
|
+
this.$fault = "client";
|
|
101
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
102
|
+
this.Message = opts.Message;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export class ValidationException extends __BaseException {
|
|
106
|
+
constructor(opts) {
|
|
107
|
+
super({
|
|
108
|
+
name: "ValidationException",
|
|
109
|
+
$fault: "client",
|
|
110
|
+
...opts,
|
|
111
|
+
});
|
|
112
|
+
this.name = "ValidationException";
|
|
113
|
+
this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
115
|
+
this.Message = opts.Message;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class InternalServiceErrorException extends __BaseException {
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "InternalServiceErrorException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
this.name = "InternalServiceErrorException";
|
|
126
|
+
this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
128
|
+
this.Message = opts.Message;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
export const ShareStatus = {
|
|
132
|
+
NOT_SHARED: "NOT_SHARED",
|
|
133
|
+
SHARED_BY_ME: "SHARED_BY_ME",
|
|
134
|
+
SHARED_WITH_ME: "SHARED_WITH_ME",
|
|
135
|
+
};
|
|
136
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "InvalidNextTokenException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
this.name = "InvalidNextTokenException";
|
|
144
|
+
this.$fault = "client";
|
|
145
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
146
|
+
this.Message = opts.Message;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListProfileAssociationsCommand, } from "../commands/ListProfileAssociationsCommand";
|
|
3
|
+
import { Route53ProfilesClient } from "../Route53ProfilesClient";
|
|
4
|
+
export const paginateListProfileAssociations = createPaginator(Route53ProfilesClient, ListProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListProfileResourceAssociationsCommand, } from "../commands/ListProfileResourceAssociationsCommand";
|
|
3
|
+
import { Route53ProfilesClient } from "../Route53ProfilesClient";
|
|
4
|
+
export const paginateListProfileResourceAssociations = createPaginator(Route53ProfilesClient, ListProfileResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListProfilesCommand, } from "../commands/ListProfilesCommand";
|
|
3
|
+
import { Route53ProfilesClient } from "../Route53ProfilesClient";
|
|
4
|
+
export const paginateListProfiles = createPaginator(Route53ProfilesClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults");
|