@aws-sdk/client-route53profiles 3.986.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +35 -660
- package/dist-cjs/models/Route53ProfilesServiceException.js +12 -0
- package/dist-cjs/models/errors.js +162 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +427 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +63 -57
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Route53ProfilesServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class Route53ProfilesServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, Route53ProfilesServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Route53ProfilesServiceException = Route53ProfilesServiceException;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidNextTokenException = exports.InternalServiceErrorException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.LimitExceededException = exports.InvalidParameterException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const Route53ProfilesServiceException_1 = require("./Route53ProfilesServiceException");
|
|
5
|
+
class AccessDeniedException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
21
|
+
name = "ConflictException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InvalidParameterException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
36
|
+
name = "InvalidParameterException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
FieldName;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InvalidParameterException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
this.FieldName = opts.FieldName;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
52
|
+
class LimitExceededException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
53
|
+
name = "LimitExceededException";
|
|
54
|
+
$fault = "client";
|
|
55
|
+
Message;
|
|
56
|
+
ResourceType;
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "LimitExceededException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
64
|
+
this.Message = opts.Message;
|
|
65
|
+
this.ResourceType = opts.ResourceType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.LimitExceededException = LimitExceededException;
|
|
69
|
+
class ResourceExistsException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
70
|
+
name = "ResourceExistsException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
Message;
|
|
73
|
+
ResourceType;
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ResourceExistsException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ResourceExistsException.prototype);
|
|
81
|
+
this.Message = opts.Message;
|
|
82
|
+
this.ResourceType = opts.ResourceType;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ResourceExistsException = ResourceExistsException;
|
|
86
|
+
class ResourceNotFoundException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
87
|
+
name = "ResourceNotFoundException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
ResourceType;
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "ResourceNotFoundException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
98
|
+
this.Message = opts.Message;
|
|
99
|
+
this.ResourceType = opts.ResourceType;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
103
|
+
class ThrottlingException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
104
|
+
name = "ThrottlingException";
|
|
105
|
+
$fault = "client";
|
|
106
|
+
Message;
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "ThrottlingException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
114
|
+
this.Message = opts.Message;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.ThrottlingException = ThrottlingException;
|
|
118
|
+
class ValidationException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
119
|
+
name = "ValidationException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
Message;
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "ValidationException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
129
|
+
this.Message = opts.Message;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.ValidationException = ValidationException;
|
|
133
|
+
class InternalServiceErrorException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
134
|
+
name = "InternalServiceErrorException";
|
|
135
|
+
$fault = "client";
|
|
136
|
+
Message;
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "InternalServiceErrorException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
144
|
+
this.Message = opts.Message;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
148
|
+
class InvalidNextTokenException extends Route53ProfilesServiceException_1.Route53ProfilesServiceException {
|
|
149
|
+
name = "InvalidNextTokenException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
Message;
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "InvalidNextTokenException",
|
|
155
|
+
$fault: "client",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-05-10",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.route53profiles",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-05-10",
|
|
33
35
|
serviceTarget: "Route53Profiles",
|
|
34
36
|
},
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateProfile$ = exports.UpdateProfileResourceAssociationResponse$ = exports.UpdateProfileResourceAssociationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.ProfileSummary$ = exports.ProfileResourceAssociation$ = exports.ProfileAssociation$ = exports.Profile$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListProfilesResponse$ = exports.ListProfilesRequest$ = exports.ListProfileResourceAssociationsResponse$ = exports.ListProfileResourceAssociationsRequest$ = exports.ListProfileAssociationsResponse$ = exports.ListProfileAssociationsRequest$ = exports.GetProfileResponse$ = exports.GetProfileResourceAssociationResponse$ = exports.GetProfileResourceAssociationRequest$ = exports.GetProfileRequest$ = exports.GetProfileAssociationResponse$ = exports.GetProfileAssociationRequest$ = exports.DisassociateResourceFromProfileResponse$ = exports.DisassociateResourceFromProfileRequest$ = exports.DisassociateProfileResponse$ = exports.DisassociateProfileRequest$ = exports.DeleteProfileResponse$ = exports.DeleteProfileRequest$ = exports.CreateProfileResponse$ = exports.CreateProfileRequest$ = exports.AssociateResourceToProfileResponse$ = exports.AssociateResourceToProfileRequest$ = exports.AssociateProfileResponse$ = exports.AssociateProfileRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.ResourceExistsException$ = exports.LimitExceededException$ = exports.InvalidParameterException$ = exports.InvalidNextTokenException$ = exports.InternalServiceErrorException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.Route53ProfilesServiceException$ = void 0;
|
|
4
|
+
exports.UpdateProfileResourceAssociation$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListProfiles$ = exports.ListProfileResourceAssociations$ = exports.ListProfileAssociations$ = exports.GetProfileResourceAssociation$ = exports.GetProfileAssociation$ = exports.GetProfile$ = exports.DisassociateResourceFromProfile$ = exports.DisassociateProfile$ = exports.DeleteProfile$ = exports.CreateProfile$ = exports.AssociateResourceToProfile$ = void 0;
|
|
5
|
+
const _A = "Arn";
|
|
6
|
+
const _ADE = "AccessDeniedException";
|
|
7
|
+
const _AP = "AssociateProfile";
|
|
8
|
+
const _APR = "AssociateProfileRequest";
|
|
9
|
+
const _APRs = "AssociateProfileResponse";
|
|
10
|
+
const _ARTP = "AssociateResourceToProfile";
|
|
11
|
+
const _ARTPR = "AssociateResourceToProfileRequest";
|
|
12
|
+
const _ARTPRs = "AssociateResourceToProfileResponse";
|
|
13
|
+
const _CE = "ConflictException";
|
|
14
|
+
const _CP = "CreateProfile";
|
|
15
|
+
const _CPR = "CreateProfileRequest";
|
|
16
|
+
const _CPRr = "CreateProfileResponse";
|
|
17
|
+
const _CT = "ClientToken";
|
|
18
|
+
const _CTr = "CreationTime";
|
|
19
|
+
const _DP = "DeleteProfile";
|
|
20
|
+
const _DPR = "DeleteProfileRequest";
|
|
21
|
+
const _DPRe = "DeleteProfileResponse";
|
|
22
|
+
const _DPRi = "DisassociateProfileRequest";
|
|
23
|
+
const _DPRis = "DisassociateProfileResponse";
|
|
24
|
+
const _DPi = "DisassociateProfile";
|
|
25
|
+
const _DRFP = "DisassociateResourceFromProfile";
|
|
26
|
+
const _DRFPR = "DisassociateResourceFromProfileRequest";
|
|
27
|
+
const _DRFPRi = "DisassociateResourceFromProfileResponse";
|
|
28
|
+
const _FN = "FieldName";
|
|
29
|
+
const _GP = "GetProfile";
|
|
30
|
+
const _GPA = "GetProfileAssociation";
|
|
31
|
+
const _GPAR = "GetProfileAssociationRequest";
|
|
32
|
+
const _GPARe = "GetProfileAssociationResponse";
|
|
33
|
+
const _GPR = "GetProfileRequest";
|
|
34
|
+
const _GPRA = "GetProfileResourceAssociation";
|
|
35
|
+
const _GPRAR = "GetProfileResourceAssociationRequest";
|
|
36
|
+
const _GPRARe = "GetProfileResourceAssociationResponse";
|
|
37
|
+
const _GPRe = "GetProfileResponse";
|
|
38
|
+
const _I = "Id";
|
|
39
|
+
const _INTE = "InvalidNextTokenException";
|
|
40
|
+
const _IPE = "InvalidParameterException";
|
|
41
|
+
const _ISEE = "InternalServiceErrorException";
|
|
42
|
+
const _K = "Key";
|
|
43
|
+
const _LEE = "LimitExceededException";
|
|
44
|
+
const _LP = "ListProfiles";
|
|
45
|
+
const _LPA = "ListProfileAssociations";
|
|
46
|
+
const _LPAR = "ListProfileAssociationsRequest";
|
|
47
|
+
const _LPARi = "ListProfileAssociationsResponse";
|
|
48
|
+
const _LPR = "ListProfilesRequest";
|
|
49
|
+
const _LPRA = "ListProfileResourceAssociations";
|
|
50
|
+
const _LPRAR = "ListProfileResourceAssociationsRequest";
|
|
51
|
+
const _LPRARi = "ListProfileResourceAssociationsResponse";
|
|
52
|
+
const _LPRi = "ListProfilesResponse";
|
|
53
|
+
const _LTFR = "ListTagsForResource";
|
|
54
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
55
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
56
|
+
const _M = "Message";
|
|
57
|
+
const _MR = "MaxResults";
|
|
58
|
+
const _MT = "ModificationTime";
|
|
59
|
+
const _N = "Name";
|
|
60
|
+
const _NT = "NextToken";
|
|
61
|
+
const _OI = "OwnerId";
|
|
62
|
+
const _P = "Profile";
|
|
63
|
+
const _PA = "ProfileAssociation";
|
|
64
|
+
const _PAI = "ProfileAssociationId";
|
|
65
|
+
const _PAr = "ProfileAssociations";
|
|
66
|
+
const _PI = "ProfileId";
|
|
67
|
+
const _PRA = "ProfileResourceAssociation";
|
|
68
|
+
const _PRAI = "ProfileResourceAssociationId";
|
|
69
|
+
const _PRAr = "ProfileResourceAssociations";
|
|
70
|
+
const _PS = "ProfileSummaries";
|
|
71
|
+
const _PSL = "ProfileSummaryList";
|
|
72
|
+
const _PSr = "ProfileSummary";
|
|
73
|
+
const _RA = "ResourceArn";
|
|
74
|
+
const _REE = "ResourceExistsException";
|
|
75
|
+
const _RI = "ResourceId";
|
|
76
|
+
const _RNFE = "ResourceNotFoundException";
|
|
77
|
+
const _RP = "ResourceProperties";
|
|
78
|
+
const _RT = "ResourceType";
|
|
79
|
+
const _S = "Status";
|
|
80
|
+
const _SM = "StatusMessage";
|
|
81
|
+
const _SS = "ShareStatus";
|
|
82
|
+
const _T = "Tags";
|
|
83
|
+
const _TE = "ThrottlingException";
|
|
84
|
+
const _TK = "TagKeys";
|
|
85
|
+
const _TL = "TagList";
|
|
86
|
+
const _TR = "TagResource";
|
|
87
|
+
const _TRR = "TagResourceRequest";
|
|
88
|
+
const _TRRa = "TagResourceResponse";
|
|
89
|
+
const _Ta = "Tag";
|
|
90
|
+
const _UPRA = "UpdateProfileResourceAssociation";
|
|
91
|
+
const _UPRAR = "UpdateProfileResourceAssociationRequest";
|
|
92
|
+
const _UPRARp = "UpdateProfileResourceAssociationResponse";
|
|
93
|
+
const _UR = "UntagResource";
|
|
94
|
+
const _URR = "UntagResourceRequest";
|
|
95
|
+
const _URRn = "UntagResourceResponse";
|
|
96
|
+
const _V = "Value";
|
|
97
|
+
const _VE = "ValidationException";
|
|
98
|
+
const _c = "client";
|
|
99
|
+
const _e = "error";
|
|
100
|
+
const _h = "http";
|
|
101
|
+
const _hQ = "httpQuery";
|
|
102
|
+
const _mR = "maxResults";
|
|
103
|
+
const _nT = "nextToken";
|
|
104
|
+
const _pI = "profileId";
|
|
105
|
+
const _rI = "resourceId";
|
|
106
|
+
const _rT = "resourceType";
|
|
107
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53profiles";
|
|
108
|
+
const _tK = "tagKeys";
|
|
109
|
+
const n0 = "com.amazonaws.route53profiles";
|
|
110
|
+
const schema_1 = require("@smithy/core/schema");
|
|
111
|
+
const errors_1 = require("../models/errors");
|
|
112
|
+
const Route53ProfilesServiceException_1 = require("../models/Route53ProfilesServiceException");
|
|
113
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
114
|
+
exports.Route53ProfilesServiceException$ = [-3, _s, "Route53ProfilesServiceException", 0, [], []];
|
|
115
|
+
_s_registry.registerError(exports.Route53ProfilesServiceException$, Route53ProfilesServiceException_1.Route53ProfilesServiceException);
|
|
116
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
117
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
118
|
+
{ [_e]: _c },
|
|
119
|
+
[_M],
|
|
120
|
+
[0]
|
|
121
|
+
];
|
|
122
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
123
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
124
|
+
{ [_e]: _c },
|
|
125
|
+
[_M],
|
|
126
|
+
[0]
|
|
127
|
+
];
|
|
128
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
129
|
+
exports.InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
130
|
+
{ [_e]: _c },
|
|
131
|
+
[_M],
|
|
132
|
+
[0]
|
|
133
|
+
];
|
|
134
|
+
n0_registry.registerError(exports.InternalServiceErrorException$, errors_1.InternalServiceErrorException);
|
|
135
|
+
exports.InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
136
|
+
{ [_e]: _c },
|
|
137
|
+
[_M],
|
|
138
|
+
[0]
|
|
139
|
+
];
|
|
140
|
+
n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
|
|
141
|
+
exports.InvalidParameterException$ = [-3, n0, _IPE,
|
|
142
|
+
{ [_e]: _c },
|
|
143
|
+
[_M, _FN],
|
|
144
|
+
[0, 0], 1
|
|
145
|
+
];
|
|
146
|
+
n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
|
|
147
|
+
exports.LimitExceededException$ = [-3, n0, _LEE,
|
|
148
|
+
{ [_e]: _c },
|
|
149
|
+
[_M, _RT],
|
|
150
|
+
[0, 0]
|
|
151
|
+
];
|
|
152
|
+
n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
|
|
153
|
+
exports.ResourceExistsException$ = [-3, n0, _REE,
|
|
154
|
+
{ [_e]: _c },
|
|
155
|
+
[_M, _RT],
|
|
156
|
+
[0, 0]
|
|
157
|
+
];
|
|
158
|
+
n0_registry.registerError(exports.ResourceExistsException$, errors_1.ResourceExistsException);
|
|
159
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
160
|
+
{ [_e]: _c },
|
|
161
|
+
[_M, _RT],
|
|
162
|
+
[0, 0]
|
|
163
|
+
];
|
|
164
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
165
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
166
|
+
{ [_e]: _c },
|
|
167
|
+
[_M],
|
|
168
|
+
[0]
|
|
169
|
+
];
|
|
170
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
171
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
172
|
+
{ [_e]: _c },
|
|
173
|
+
[_M],
|
|
174
|
+
[0]
|
|
175
|
+
];
|
|
176
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
177
|
+
exports.errorTypeRegistries = [
|
|
178
|
+
_s_registry,
|
|
179
|
+
n0_registry,
|
|
180
|
+
];
|
|
181
|
+
exports.AssociateProfileRequest$ = [3, n0, _APR,
|
|
182
|
+
0,
|
|
183
|
+
[_PI, _RI, _N, _T],
|
|
184
|
+
[0, 0, 0, () => TagList], 3
|
|
185
|
+
];
|
|
186
|
+
exports.AssociateProfileResponse$ = [3, n0, _APRs,
|
|
187
|
+
0,
|
|
188
|
+
[_PA],
|
|
189
|
+
[() => exports.ProfileAssociation$]
|
|
190
|
+
];
|
|
191
|
+
exports.AssociateResourceToProfileRequest$ = [3, n0, _ARTPR,
|
|
192
|
+
0,
|
|
193
|
+
[_PI, _RA, _N, _RP],
|
|
194
|
+
[0, 0, 0, 0], 3
|
|
195
|
+
];
|
|
196
|
+
exports.AssociateResourceToProfileResponse$ = [3, n0, _ARTPRs,
|
|
197
|
+
0,
|
|
198
|
+
[_PRA],
|
|
199
|
+
[() => exports.ProfileResourceAssociation$]
|
|
200
|
+
];
|
|
201
|
+
exports.CreateProfileRequest$ = [3, n0, _CPR,
|
|
202
|
+
0,
|
|
203
|
+
[_N, _CT, _T],
|
|
204
|
+
[0, [0, 4], () => TagList], 1
|
|
205
|
+
];
|
|
206
|
+
exports.CreateProfileResponse$ = [3, n0, _CPRr,
|
|
207
|
+
0,
|
|
208
|
+
[_P],
|
|
209
|
+
[() => exports.Profile$]
|
|
210
|
+
];
|
|
211
|
+
exports.DeleteProfileRequest$ = [3, n0, _DPR,
|
|
212
|
+
0,
|
|
213
|
+
[_PI],
|
|
214
|
+
[[0, 1]], 1
|
|
215
|
+
];
|
|
216
|
+
exports.DeleteProfileResponse$ = [3, n0, _DPRe,
|
|
217
|
+
0,
|
|
218
|
+
[_P],
|
|
219
|
+
[() => exports.Profile$]
|
|
220
|
+
];
|
|
221
|
+
exports.DisassociateProfileRequest$ = [3, n0, _DPRi,
|
|
222
|
+
0,
|
|
223
|
+
[_PI, _RI],
|
|
224
|
+
[[0, 1], [0, 1]], 2
|
|
225
|
+
];
|
|
226
|
+
exports.DisassociateProfileResponse$ = [3, n0, _DPRis,
|
|
227
|
+
0,
|
|
228
|
+
[_PA],
|
|
229
|
+
[() => exports.ProfileAssociation$]
|
|
230
|
+
];
|
|
231
|
+
exports.DisassociateResourceFromProfileRequest$ = [3, n0, _DRFPR,
|
|
232
|
+
0,
|
|
233
|
+
[_PI, _RA],
|
|
234
|
+
[[0, 1], [0, 1]], 2
|
|
235
|
+
];
|
|
236
|
+
exports.DisassociateResourceFromProfileResponse$ = [3, n0, _DRFPRi,
|
|
237
|
+
0,
|
|
238
|
+
[_PRA],
|
|
239
|
+
[() => exports.ProfileResourceAssociation$]
|
|
240
|
+
];
|
|
241
|
+
exports.GetProfileAssociationRequest$ = [3, n0, _GPAR,
|
|
242
|
+
0,
|
|
243
|
+
[_PAI],
|
|
244
|
+
[[0, 1]], 1
|
|
245
|
+
];
|
|
246
|
+
exports.GetProfileAssociationResponse$ = [3, n0, _GPARe,
|
|
247
|
+
0,
|
|
248
|
+
[_PA],
|
|
249
|
+
[() => exports.ProfileAssociation$]
|
|
250
|
+
];
|
|
251
|
+
exports.GetProfileRequest$ = [3, n0, _GPR,
|
|
252
|
+
0,
|
|
253
|
+
[_PI],
|
|
254
|
+
[[0, 1]], 1
|
|
255
|
+
];
|
|
256
|
+
exports.GetProfileResourceAssociationRequest$ = [3, n0, _GPRAR,
|
|
257
|
+
0,
|
|
258
|
+
[_PRAI],
|
|
259
|
+
[[0, 1]], 1
|
|
260
|
+
];
|
|
261
|
+
exports.GetProfileResourceAssociationResponse$ = [3, n0, _GPRARe,
|
|
262
|
+
0,
|
|
263
|
+
[_PRA],
|
|
264
|
+
[() => exports.ProfileResourceAssociation$]
|
|
265
|
+
];
|
|
266
|
+
exports.GetProfileResponse$ = [3, n0, _GPRe,
|
|
267
|
+
0,
|
|
268
|
+
[_P],
|
|
269
|
+
[() => exports.Profile$]
|
|
270
|
+
];
|
|
271
|
+
exports.ListProfileAssociationsRequest$ = [3, n0, _LPAR,
|
|
272
|
+
0,
|
|
273
|
+
[_RI, _PI, _MR, _NT],
|
|
274
|
+
[[0, { [_hQ]: _rI }], [0, { [_hQ]: _pI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
275
|
+
];
|
|
276
|
+
exports.ListProfileAssociationsResponse$ = [3, n0, _LPARi,
|
|
277
|
+
0,
|
|
278
|
+
[_PAr, _NT],
|
|
279
|
+
[() => ProfileAssociations, 0]
|
|
280
|
+
];
|
|
281
|
+
exports.ListProfileResourceAssociationsRequest$ = [3, n0, _LPRAR,
|
|
282
|
+
0,
|
|
283
|
+
[_PI, _RT, _MR, _NT],
|
|
284
|
+
[[0, 1], [0, { [_hQ]: _rT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
285
|
+
];
|
|
286
|
+
exports.ListProfileResourceAssociationsResponse$ = [3, n0, _LPRARi,
|
|
287
|
+
0,
|
|
288
|
+
[_PRAr, _NT],
|
|
289
|
+
[() => ProfileResourceAssociations, 0]
|
|
290
|
+
];
|
|
291
|
+
exports.ListProfilesRequest$ = [3, n0, _LPR,
|
|
292
|
+
0,
|
|
293
|
+
[_MR, _NT],
|
|
294
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
295
|
+
];
|
|
296
|
+
exports.ListProfilesResponse$ = [3, n0, _LPRi,
|
|
297
|
+
0,
|
|
298
|
+
[_PS, _NT],
|
|
299
|
+
[() => ProfileSummaryList, 0]
|
|
300
|
+
];
|
|
301
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
302
|
+
0,
|
|
303
|
+
[_RA],
|
|
304
|
+
[[0, 1]], 1
|
|
305
|
+
];
|
|
306
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
307
|
+
0,
|
|
308
|
+
[_T],
|
|
309
|
+
[128 | 0], 1
|
|
310
|
+
];
|
|
311
|
+
exports.Profile$ = [3, n0, _P,
|
|
312
|
+
0,
|
|
313
|
+
[_I, _A, _N, _OI, _S, _SM, _SS, _CTr, _MT, _CT],
|
|
314
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4, 0]
|
|
315
|
+
];
|
|
316
|
+
exports.ProfileAssociation$ = [3, n0, _PA,
|
|
317
|
+
0,
|
|
318
|
+
[_I, _N, _OI, _PI, _RI, _S, _SM, _CTr, _MT],
|
|
319
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4]
|
|
320
|
+
];
|
|
321
|
+
exports.ProfileResourceAssociation$ = [3, n0, _PRA,
|
|
322
|
+
0,
|
|
323
|
+
[_I, _N, _OI, _PI, _RA, _RT, _RP, _S, _SM, _CTr, _MT],
|
|
324
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4]
|
|
325
|
+
];
|
|
326
|
+
exports.ProfileSummary$ = [3, n0, _PSr,
|
|
327
|
+
0,
|
|
328
|
+
[_I, _A, _N, _SS],
|
|
329
|
+
[0, 0, 0, 0]
|
|
330
|
+
];
|
|
331
|
+
exports.Tag$ = [3, n0, _Ta,
|
|
332
|
+
0,
|
|
333
|
+
[_K, _V],
|
|
334
|
+
[0, 0], 2
|
|
335
|
+
];
|
|
336
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
337
|
+
0,
|
|
338
|
+
[_RA, _T],
|
|
339
|
+
[[0, 1], 128 | 0], 2
|
|
340
|
+
];
|
|
341
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
342
|
+
0,
|
|
343
|
+
[],
|
|
344
|
+
[]
|
|
345
|
+
];
|
|
346
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
347
|
+
0,
|
|
348
|
+
[_RA, _TK],
|
|
349
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
350
|
+
];
|
|
351
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
352
|
+
0,
|
|
353
|
+
[],
|
|
354
|
+
[]
|
|
355
|
+
];
|
|
356
|
+
exports.UpdateProfileResourceAssociationRequest$ = [3, n0, _UPRAR,
|
|
357
|
+
0,
|
|
358
|
+
[_PRAI, _N, _RP],
|
|
359
|
+
[[0, 1], 0, 0], 1
|
|
360
|
+
];
|
|
361
|
+
exports.UpdateProfileResourceAssociationResponse$ = [3, n0, _UPRARp,
|
|
362
|
+
0,
|
|
363
|
+
[_PRA],
|
|
364
|
+
[() => exports.ProfileResourceAssociation$]
|
|
365
|
+
];
|
|
366
|
+
var ProfileAssociations = [1, n0, _PAr,
|
|
367
|
+
0, () => exports.ProfileAssociation$
|
|
368
|
+
];
|
|
369
|
+
var ProfileResourceAssociations = [1, n0, _PRAr,
|
|
370
|
+
0, () => exports.ProfileResourceAssociation$
|
|
371
|
+
];
|
|
372
|
+
var ProfileSummaryList = [1, n0, _PSL,
|
|
373
|
+
0, () => exports.ProfileSummary$
|
|
374
|
+
];
|
|
375
|
+
var TagKeyList = 64 | 0;
|
|
376
|
+
var TagList = [1, n0, _TL,
|
|
377
|
+
0, () => exports.Tag$
|
|
378
|
+
];
|
|
379
|
+
var TagMap = 128 | 0;
|
|
380
|
+
exports.AssociateProfile$ = [9, n0, _AP,
|
|
381
|
+
{ [_h]: ["POST", "/profileassociation", 200] }, () => exports.AssociateProfileRequest$, () => exports.AssociateProfileResponse$
|
|
382
|
+
];
|
|
383
|
+
exports.AssociateResourceToProfile$ = [9, n0, _ARTP,
|
|
384
|
+
{ [_h]: ["POST", "/profileresourceassociation", 200] }, () => exports.AssociateResourceToProfileRequest$, () => exports.AssociateResourceToProfileResponse$
|
|
385
|
+
];
|
|
386
|
+
exports.CreateProfile$ = [9, n0, _CP,
|
|
387
|
+
{ [_h]: ["POST", "/profile", 200] }, () => exports.CreateProfileRequest$, () => exports.CreateProfileResponse$
|
|
388
|
+
];
|
|
389
|
+
exports.DeleteProfile$ = [9, n0, _DP,
|
|
390
|
+
{ [_h]: ["DELETE", "/profile/{ProfileId}", 200] }, () => exports.DeleteProfileRequest$, () => exports.DeleteProfileResponse$
|
|
391
|
+
];
|
|
392
|
+
exports.DisassociateProfile$ = [9, n0, _DPi,
|
|
393
|
+
{ [_h]: ["DELETE", "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", 200] }, () => exports.DisassociateProfileRequest$, () => exports.DisassociateProfileResponse$
|
|
394
|
+
];
|
|
395
|
+
exports.DisassociateResourceFromProfile$ = [9, n0, _DRFP,
|
|
396
|
+
{ [_h]: ["DELETE", "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", 200] }, () => exports.DisassociateResourceFromProfileRequest$, () => exports.DisassociateResourceFromProfileResponse$
|
|
397
|
+
];
|
|
398
|
+
exports.GetProfile$ = [9, n0, _GP,
|
|
399
|
+
{ [_h]: ["GET", "/profile/{ProfileId}", 200] }, () => exports.GetProfileRequest$, () => exports.GetProfileResponse$
|
|
400
|
+
];
|
|
401
|
+
exports.GetProfileAssociation$ = [9, n0, _GPA,
|
|
402
|
+
{ [_h]: ["GET", "/profileassociation/{ProfileAssociationId}", 200] }, () => exports.GetProfileAssociationRequest$, () => exports.GetProfileAssociationResponse$
|
|
403
|
+
];
|
|
404
|
+
exports.GetProfileResourceAssociation$ = [9, n0, _GPRA,
|
|
405
|
+
{ [_h]: ["GET", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] }, () => exports.GetProfileResourceAssociationRequest$, () => exports.GetProfileResourceAssociationResponse$
|
|
406
|
+
];
|
|
407
|
+
exports.ListProfileAssociations$ = [9, n0, _LPA,
|
|
408
|
+
{ [_h]: ["GET", "/profileassociations", 200] }, () => exports.ListProfileAssociationsRequest$, () => exports.ListProfileAssociationsResponse$
|
|
409
|
+
];
|
|
410
|
+
exports.ListProfileResourceAssociations$ = [9, n0, _LPRA,
|
|
411
|
+
{ [_h]: ["GET", "/profileresourceassociations/profileid/{ProfileId}", 200] }, () => exports.ListProfileResourceAssociationsRequest$, () => exports.ListProfileResourceAssociationsResponse$
|
|
412
|
+
];
|
|
413
|
+
exports.ListProfiles$ = [9, n0, _LP,
|
|
414
|
+
{ [_h]: ["GET", "/profiles", 200] }, () => exports.ListProfilesRequest$, () => exports.ListProfilesResponse$
|
|
415
|
+
];
|
|
416
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
417
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
418
|
+
];
|
|
419
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
420
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
421
|
+
];
|
|
422
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
423
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
424
|
+
];
|
|
425
|
+
exports.UpdateProfileResourceAssociation$ = [9, n0, _UPRA,
|
|
426
|
+
{ [_h]: ["PATCH", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] }, () => exports.UpdateProfileResourceAssociationRequest$, () => exports.UpdateProfileResourceAssociationResponse$
|
|
427
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultRoute53ProfilesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-05-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.route53profiles",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-05-10",
|
|
30
32
|
serviceTarget: "Route53Profiles",
|
|
31
33
|
},
|