@aws-sdk/client-synthetics 3.490.0 → 3.495.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.
Files changed (42) hide show
  1. package/dist-cjs/Synthetics.js +1 -53
  2. package/dist-cjs/SyntheticsClient.js +1 -43
  3. package/dist-cjs/commands/AssociateResourceCommand.js +1 -28
  4. package/dist-cjs/commands/CreateCanaryCommand.js +1 -28
  5. package/dist-cjs/commands/CreateGroupCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteCanaryCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteGroupCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeCanariesCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeCanariesLastRunCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeRuntimeVersionsCommand.js +1 -28
  11. package/dist-cjs/commands/DisassociateResourceCommand.js +1 -28
  12. package/dist-cjs/commands/GetCanaryCommand.js +1 -28
  13. package/dist-cjs/commands/GetCanaryRunsCommand.js +1 -28
  14. package/dist-cjs/commands/GetGroupCommand.js +1 -28
  15. package/dist-cjs/commands/ListAssociatedGroupsCommand.js +1 -28
  16. package/dist-cjs/commands/ListGroupResourcesCommand.js +1 -28
  17. package/dist-cjs/commands/ListGroupsCommand.js +1 -28
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  19. package/dist-cjs/commands/StartCanaryCommand.js +1 -28
  20. package/dist-cjs/commands/StopCanaryCommand.js +1 -28
  21. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  22. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/UpdateCanaryCommand.js +1 -28
  24. package/dist-cjs/commands/index.js +1 -24
  25. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  26. package/dist-cjs/extensionConfiguration.js +1 -2
  27. package/dist-cjs/index.js +2295 -11
  28. package/dist-cjs/models/SyntheticsServiceException.js +1 -12
  29. package/dist-cjs/models/index.js +1 -4
  30. package/dist-cjs/models/models_0.js +1 -182
  31. package/dist-cjs/pagination/DescribeCanariesLastRunPaginator.js +1 -7
  32. package/dist-cjs/pagination/DescribeCanariesPaginator.js +1 -7
  33. package/dist-cjs/pagination/DescribeRuntimeVersionsPaginator.js +1 -7
  34. package/dist-cjs/pagination/GetCanaryRunsPaginator.js +1 -7
  35. package/dist-cjs/pagination/Interfaces.js +1 -2
  36. package/dist-cjs/pagination/ListAssociatedGroupsPaginator.js +1 -7
  37. package/dist-cjs/pagination/ListGroupResourcesPaginator.js +1 -7
  38. package/dist-cjs/pagination/ListGroupsPaginator.js +1 -7
  39. package/dist-cjs/pagination/index.js +1 -11
  40. package/dist-cjs/protocols/Aws_restJson1.js +1 -1462
  41. package/dist-cjs/runtimeExtensions.js +1 -22
  42. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SyntheticsServiceException = 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 SyntheticsServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SyntheticsServiceException.prototype);
10
- }
11
- }
12
- exports.SyntheticsServiceException = SyntheticsServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,182 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyRequestsException = exports.NotFoundException = exports.InternalFailureException = exports.RequestEntityTooLargeException = exports.CanaryRunStateReasonCode = exports.CanaryRunState = exports.CanaryStateReasonCode = exports.CanaryState = exports.BadRequestException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.EncryptionMode = void 0;
4
- const SyntheticsServiceException_1 = require("./SyntheticsServiceException");
5
- exports.EncryptionMode = {
6
- SSE_KMS: "SSE_KMS",
7
- SSE_S3: "SSE_S3",
8
- };
9
- class ConflictException extends SyntheticsServiceException_1.SyntheticsServiceException {
10
- constructor(opts) {
11
- super({
12
- name: "ConflictException",
13
- $fault: "client",
14
- ...opts,
15
- });
16
- this.name = "ConflictException";
17
- this.$fault = "client";
18
- Object.setPrototypeOf(this, ConflictException.prototype);
19
- this.Message = opts.Message;
20
- }
21
- }
22
- exports.ConflictException = ConflictException;
23
- class InternalServerException extends SyntheticsServiceException_1.SyntheticsServiceException {
24
- constructor(opts) {
25
- super({
26
- name: "InternalServerException",
27
- $fault: "server",
28
- ...opts,
29
- });
30
- this.name = "InternalServerException";
31
- this.$fault = "server";
32
- Object.setPrototypeOf(this, InternalServerException.prototype);
33
- this.Message = opts.Message;
34
- }
35
- }
36
- exports.InternalServerException = InternalServerException;
37
- class ResourceNotFoundException extends SyntheticsServiceException_1.SyntheticsServiceException {
38
- constructor(opts) {
39
- super({
40
- name: "ResourceNotFoundException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- this.name = "ResourceNotFoundException";
45
- this.$fault = "client";
46
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
47
- this.Message = opts.Message;
48
- }
49
- }
50
- exports.ResourceNotFoundException = ResourceNotFoundException;
51
- class ServiceQuotaExceededException extends SyntheticsServiceException_1.SyntheticsServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ServiceQuotaExceededException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ServiceQuotaExceededException";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
61
- this.Message = opts.Message;
62
- }
63
- }
64
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
65
- class ValidationException extends SyntheticsServiceException_1.SyntheticsServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "ValidationException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "ValidationException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, ValidationException.prototype);
75
- this.Message = opts.Message;
76
- }
77
- }
78
- exports.ValidationException = ValidationException;
79
- class BadRequestException extends SyntheticsServiceException_1.SyntheticsServiceException {
80
- constructor(opts) {
81
- super({
82
- name: "BadRequestException",
83
- $fault: "client",
84
- ...opts,
85
- });
86
- this.name = "BadRequestException";
87
- this.$fault = "client";
88
- Object.setPrototypeOf(this, BadRequestException.prototype);
89
- this.Message = opts.Message;
90
- }
91
- }
92
- exports.BadRequestException = BadRequestException;
93
- exports.CanaryState = {
94
- CREATING: "CREATING",
95
- DELETING: "DELETING",
96
- ERROR: "ERROR",
97
- READY: "READY",
98
- RUNNING: "RUNNING",
99
- STARTING: "STARTING",
100
- STOPPED: "STOPPED",
101
- STOPPING: "STOPPING",
102
- UPDATING: "UPDATING",
103
- };
104
- exports.CanaryStateReasonCode = {
105
- CREATE_FAILED: "CREATE_FAILED",
106
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
107
- CREATE_PENDING: "CREATE_PENDING",
108
- DELETE_FAILED: "DELETE_FAILED",
109
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
110
- INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
111
- ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
112
- ROLLBACK_FAILED: "ROLLBACK_FAILED",
113
- SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",
114
- UPDATE_COMPLETE: "UPDATE_COMPLETE",
115
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
116
- UPDATE_PENDING: "UPDATE_PENDING",
117
- };
118
- exports.CanaryRunState = {
119
- FAILED: "FAILED",
120
- PASSED: "PASSED",
121
- RUNNING: "RUNNING",
122
- };
123
- exports.CanaryRunStateReasonCode = {
124
- CANARY_FAILURE: "CANARY_FAILURE",
125
- EXECUTION_FAILURE: "EXECUTION_FAILURE",
126
- };
127
- class RequestEntityTooLargeException extends SyntheticsServiceException_1.SyntheticsServiceException {
128
- constructor(opts) {
129
- super({
130
- name: "RequestEntityTooLargeException",
131
- $fault: "client",
132
- ...opts,
133
- });
134
- this.name = "RequestEntityTooLargeException";
135
- this.$fault = "client";
136
- Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
137
- this.Message = opts.Message;
138
- }
139
- }
140
- exports.RequestEntityTooLargeException = RequestEntityTooLargeException;
141
- class InternalFailureException extends SyntheticsServiceException_1.SyntheticsServiceException {
142
- constructor(opts) {
143
- super({
144
- name: "InternalFailureException",
145
- $fault: "server",
146
- ...opts,
147
- });
148
- this.name = "InternalFailureException";
149
- this.$fault = "server";
150
- Object.setPrototypeOf(this, InternalFailureException.prototype);
151
- this.Message = opts.Message;
152
- }
153
- }
154
- exports.InternalFailureException = InternalFailureException;
155
- class NotFoundException extends SyntheticsServiceException_1.SyntheticsServiceException {
156
- constructor(opts) {
157
- super({
158
- name: "NotFoundException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- this.name = "NotFoundException";
163
- this.$fault = "client";
164
- Object.setPrototypeOf(this, NotFoundException.prototype);
165
- this.Message = opts.Message;
166
- }
167
- }
168
- exports.NotFoundException = NotFoundException;
169
- class TooManyRequestsException extends SyntheticsServiceException_1.SyntheticsServiceException {
170
- constructor(opts) {
171
- super({
172
- name: "TooManyRequestsException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- this.name = "TooManyRequestsException";
177
- this.$fault = "client";
178
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
179
- this.Message = opts.Message;
180
- }
181
- }
182
- exports.TooManyRequestsException = TooManyRequestsException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeCanariesLastRun = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeCanariesLastRunCommand_1 = require("../commands/DescribeCanariesLastRunCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateDescribeCanariesLastRun = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, DescribeCanariesLastRunCommand_1.DescribeCanariesLastRunCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeCanaries = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeCanariesCommand_1 = require("../commands/DescribeCanariesCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateDescribeCanaries = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, DescribeCanariesCommand_1.DescribeCanariesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeRuntimeVersions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeRuntimeVersionsCommand_1 = require("../commands/DescribeRuntimeVersionsCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateDescribeRuntimeVersions = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, DescribeRuntimeVersionsCommand_1.DescribeRuntimeVersionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetCanaryRuns = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetCanaryRunsCommand_1 = require("../commands/GetCanaryRunsCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateGetCanaryRuns = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, GetCanaryRunsCommand_1.GetCanaryRunsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAssociatedGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAssociatedGroupsCommand_1 = require("../commands/ListAssociatedGroupsCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateListAssociatedGroups = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, ListAssociatedGroupsCommand_1.ListAssociatedGroupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListGroupResources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListGroupResourcesCommand_1 = require("../commands/ListGroupResourcesCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateListGroupResources = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, ListGroupResourcesCommand_1.ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListGroupsCommand_1 = require("../commands/ListGroupsCommand");
6
- const SyntheticsClient_1 = require("../SyntheticsClient");
7
- exports.paginateListGroups = (0, core_1.createPaginator)(SyntheticsClient_1.SyntheticsClient, ListGroupsCommand_1.ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeCanariesLastRunPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeCanariesPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeRuntimeVersionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./GetCanaryRunsPaginator"), exports);
8
- tslib_1.__exportStar(require("./Interfaces"), exports);
9
- tslib_1.__exportStar(require("./ListAssociatedGroupsPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListGroupResourcesPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListGroupsPaginator"), exports);
1
+ module.exports = require("../index.js");