@aws-sdk/client-serverlessapplicationrepository 3.33.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ServerlessApplicationRepository.js +2 -25
- package/dist-cjs/ServerlessApplicationRepositoryClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationVersionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationChangeSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetCloudFormationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationDependenciesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutApplicationPolicyCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UnshareApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -127
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationDependenciesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/ServerlessApplicationRepository.js +3 -26
- package/dist-es/ServerlessApplicationRepositoryClient.js +37 -0
- package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateApplicationVersionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCloudFormationChangeSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCloudFormationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetCloudFormationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationDependenciesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationVersionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutApplicationPolicyCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UnshareApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -127
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListApplicationDependenciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListApplicationVersionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +412 -418
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ServerlessApplicationRepository.d.ts +3 -3
- package/{dist/types → dist-types}/ServerlessApplicationRepositoryClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateApplicationVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCloudFormationChangeSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCloudFormationTemplateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetApplicationPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCloudFormationTemplateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationDependenciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutApplicationPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UnshareApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepository.d.ts +18 -70
- package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepositoryClient.d.ts +33 -117
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationVersionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetApplicationPolicyCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationVersionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +684 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/ServerlessApplicationRepository.ts +0 -547
- package/ServerlessApplicationRepositoryClient.ts +0 -321
- package/commands/CreateApplicationCommand.ts +0 -98
- package/commands/CreateApplicationVersionCommand.ts +0 -98
- package/commands/CreateCloudFormationChangeSetCommand.ts +0 -103
- package/commands/CreateCloudFormationTemplateCommand.ts +0 -103
- package/commands/DeleteApplicationCommand.ts +0 -98
- package/commands/GetApplicationCommand.ts +0 -98
- package/commands/GetApplicationPolicyCommand.ts +0 -98
- package/commands/GetCloudFormationTemplateCommand.ts +0 -101
- package/commands/ListApplicationDependenciesCommand.ts +0 -103
- package/commands/ListApplicationVersionsCommand.ts +0 -98
- package/commands/ListApplicationsCommand.ts +0 -98
- package/commands/PutApplicationPolicyCommand.ts +0 -101
- package/commands/UnshareApplicationCommand.ts +0 -98
- package/commands/UpdateApplicationCommand.ts +0 -98
- package/dist/cjs/ServerlessApplicationRepository.js.map +0 -1
- package/dist/cjs/ServerlessApplicationRepositoryClient.js +0 -63
- package/dist/cjs/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/cjs/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ServerlessApplicationRepository.js.map +0 -1
- package/dist/es/ServerlessApplicationRepositoryClient.js +0 -65
- package/dist/es/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/es/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist/es/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/es/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist/es/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -22
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist/es/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListApplicationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UnshareApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1325
- package/endpoints.ts +0 -66
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1649
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListApplicationDependenciesPaginator.ts +0 -60
- package/pagination/ListApplicationVersionsPaginator.ts +0 -60
- package/pagination/ListApplicationsPaginator.ts +0 -60
- package/protocols/Aws_restJson1.ts +0 -2545
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
export var ApplicationDependencySummary;
|
|
3
3
|
(function (ApplicationDependencySummary) {
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
ApplicationDependencySummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
5
|
})(ApplicationDependencySummary || (ApplicationDependencySummary = {}));
|
|
9
6
|
export var ApplicationPolicyStatement;
|
|
10
7
|
(function (ApplicationPolicyStatement) {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
8
|
ApplicationPolicyStatement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
9
|
})(ApplicationPolicyStatement || (ApplicationPolicyStatement = {}));
|
|
16
10
|
export var ApplicationSummary;
|
|
17
11
|
(function (ApplicationSummary) {
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
12
|
ApplicationSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
13
|
})(ApplicationSummary || (ApplicationSummary = {}));
|
|
23
14
|
export var Capability;
|
|
@@ -29,135 +20,78 @@ export var Capability;
|
|
|
29
20
|
})(Capability || (Capability = {}));
|
|
30
21
|
export var ParameterDefinition;
|
|
31
22
|
(function (ParameterDefinition) {
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
23
|
ParameterDefinition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
24
|
})(ParameterDefinition || (ParameterDefinition = {}));
|
|
37
25
|
export var ParameterValue;
|
|
38
26
|
(function (ParameterValue) {
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
27
|
ParameterValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
28
|
})(ParameterValue || (ParameterValue = {}));
|
|
44
29
|
export var RollbackTrigger;
|
|
45
30
|
(function (RollbackTrigger) {
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
31
|
RollbackTrigger.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
32
|
})(RollbackTrigger || (RollbackTrigger = {}));
|
|
51
33
|
export var Tag;
|
|
52
34
|
(function (Tag) {
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
35
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
36
|
})(Tag || (Tag = {}));
|
|
58
37
|
export var VersionSummary;
|
|
59
38
|
(function (VersionSummary) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
39
|
VersionSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
40
|
})(VersionSummary || (VersionSummary = {}));
|
|
65
41
|
export var BadRequestException;
|
|
66
42
|
(function (BadRequestException) {
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
43
|
BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
44
|
})(BadRequestException || (BadRequestException = {}));
|
|
72
45
|
export var ConflictException;
|
|
73
46
|
(function (ConflictException) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
47
|
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
48
|
})(ConflictException || (ConflictException = {}));
|
|
79
49
|
export var CreateApplicationRequest;
|
|
80
50
|
(function (CreateApplicationRequest) {
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
51
|
CreateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
52
|
})(CreateApplicationRequest || (CreateApplicationRequest = {}));
|
|
86
53
|
export var Version;
|
|
87
54
|
(function (Version) {
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
55
|
Version.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
56
|
})(Version || (Version = {}));
|
|
93
57
|
export var CreateApplicationResponse;
|
|
94
58
|
(function (CreateApplicationResponse) {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
59
|
CreateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
60
|
})(CreateApplicationResponse || (CreateApplicationResponse = {}));
|
|
100
61
|
export var ForbiddenException;
|
|
101
62
|
(function (ForbiddenException) {
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
63
|
ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
64
|
})(ForbiddenException || (ForbiddenException = {}));
|
|
107
65
|
export var InternalServerErrorException;
|
|
108
66
|
(function (InternalServerErrorException) {
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
67
|
InternalServerErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
68
|
})(InternalServerErrorException || (InternalServerErrorException = {}));
|
|
114
69
|
export var TooManyRequestsException;
|
|
115
70
|
(function (TooManyRequestsException) {
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
71
|
TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
72
|
})(TooManyRequestsException || (TooManyRequestsException = {}));
|
|
121
73
|
export var CreateApplicationVersionRequest;
|
|
122
74
|
(function (CreateApplicationVersionRequest) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
75
|
CreateApplicationVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
76
|
})(CreateApplicationVersionRequest || (CreateApplicationVersionRequest = {}));
|
|
128
77
|
export var CreateApplicationVersionResponse;
|
|
129
78
|
(function (CreateApplicationVersionResponse) {
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
79
|
CreateApplicationVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
80
|
})(CreateApplicationVersionResponse || (CreateApplicationVersionResponse = {}));
|
|
135
81
|
export var RollbackConfiguration;
|
|
136
82
|
(function (RollbackConfiguration) {
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
83
|
RollbackConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
84
|
})(RollbackConfiguration || (RollbackConfiguration = {}));
|
|
142
85
|
export var CreateCloudFormationChangeSetRequest;
|
|
143
86
|
(function (CreateCloudFormationChangeSetRequest) {
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
87
|
CreateCloudFormationChangeSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
88
|
})(CreateCloudFormationChangeSetRequest || (CreateCloudFormationChangeSetRequest = {}));
|
|
149
89
|
export var CreateCloudFormationChangeSetResponse;
|
|
150
90
|
(function (CreateCloudFormationChangeSetResponse) {
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
91
|
CreateCloudFormationChangeSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
92
|
})(CreateCloudFormationChangeSetResponse || (CreateCloudFormationChangeSetResponse = {}));
|
|
156
93
|
export var CreateCloudFormationTemplateRequest;
|
|
157
94
|
(function (CreateCloudFormationTemplateRequest) {
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
95
|
CreateCloudFormationTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
96
|
})(CreateCloudFormationTemplateRequest || (CreateCloudFormationTemplateRequest = {}));
|
|
163
97
|
export var Status;
|
|
@@ -168,142 +102,81 @@ export var Status;
|
|
|
168
102
|
})(Status || (Status = {}));
|
|
169
103
|
export var CreateCloudFormationTemplateResponse;
|
|
170
104
|
(function (CreateCloudFormationTemplateResponse) {
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
105
|
CreateCloudFormationTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
106
|
})(CreateCloudFormationTemplateResponse || (CreateCloudFormationTemplateResponse = {}));
|
|
176
107
|
export var NotFoundException;
|
|
177
108
|
(function (NotFoundException) {
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
109
|
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
110
|
})(NotFoundException || (NotFoundException = {}));
|
|
183
111
|
export var DeleteApplicationRequest;
|
|
184
112
|
(function (DeleteApplicationRequest) {
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
113
|
DeleteApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
114
|
})(DeleteApplicationRequest || (DeleteApplicationRequest = {}));
|
|
190
115
|
export var GetApplicationRequest;
|
|
191
116
|
(function (GetApplicationRequest) {
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
117
|
GetApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
118
|
})(GetApplicationRequest || (GetApplicationRequest = {}));
|
|
197
119
|
export var GetApplicationResponse;
|
|
198
120
|
(function (GetApplicationResponse) {
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
121
|
GetApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
122
|
})(GetApplicationResponse || (GetApplicationResponse = {}));
|
|
204
123
|
export var GetApplicationPolicyRequest;
|
|
205
124
|
(function (GetApplicationPolicyRequest) {
|
|
206
|
-
/**
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
125
|
GetApplicationPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
126
|
})(GetApplicationPolicyRequest || (GetApplicationPolicyRequest = {}));
|
|
211
127
|
export var GetApplicationPolicyResponse;
|
|
212
128
|
(function (GetApplicationPolicyResponse) {
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
129
|
GetApplicationPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
130
|
})(GetApplicationPolicyResponse || (GetApplicationPolicyResponse = {}));
|
|
218
131
|
export var GetCloudFormationTemplateRequest;
|
|
219
132
|
(function (GetCloudFormationTemplateRequest) {
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
133
|
GetCloudFormationTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
134
|
})(GetCloudFormationTemplateRequest || (GetCloudFormationTemplateRequest = {}));
|
|
225
135
|
export var GetCloudFormationTemplateResponse;
|
|
226
136
|
(function (GetCloudFormationTemplateResponse) {
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
137
|
GetCloudFormationTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
138
|
})(GetCloudFormationTemplateResponse || (GetCloudFormationTemplateResponse = {}));
|
|
232
139
|
export var ListApplicationDependenciesRequest;
|
|
233
140
|
(function (ListApplicationDependenciesRequest) {
|
|
234
|
-
/**
|
|
235
|
-
* @internal
|
|
236
|
-
*/
|
|
237
141
|
ListApplicationDependenciesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
142
|
})(ListApplicationDependenciesRequest || (ListApplicationDependenciesRequest = {}));
|
|
239
143
|
export var ListApplicationDependenciesResponse;
|
|
240
144
|
(function (ListApplicationDependenciesResponse) {
|
|
241
|
-
/**
|
|
242
|
-
* @internal
|
|
243
|
-
*/
|
|
244
145
|
ListApplicationDependenciesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
146
|
})(ListApplicationDependenciesResponse || (ListApplicationDependenciesResponse = {}));
|
|
246
147
|
export var ListApplicationsRequest;
|
|
247
148
|
(function (ListApplicationsRequest) {
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
149
|
ListApplicationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
150
|
})(ListApplicationsRequest || (ListApplicationsRequest = {}));
|
|
253
151
|
export var ListApplicationsResponse;
|
|
254
152
|
(function (ListApplicationsResponse) {
|
|
255
|
-
/**
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
153
|
ListApplicationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
154
|
})(ListApplicationsResponse || (ListApplicationsResponse = {}));
|
|
260
155
|
export var ListApplicationVersionsRequest;
|
|
261
156
|
(function (ListApplicationVersionsRequest) {
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
157
|
ListApplicationVersionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
158
|
})(ListApplicationVersionsRequest || (ListApplicationVersionsRequest = {}));
|
|
267
159
|
export var ListApplicationVersionsResponse;
|
|
268
160
|
(function (ListApplicationVersionsResponse) {
|
|
269
|
-
/**
|
|
270
|
-
* @internal
|
|
271
|
-
*/
|
|
272
161
|
ListApplicationVersionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
162
|
})(ListApplicationVersionsResponse || (ListApplicationVersionsResponse = {}));
|
|
274
163
|
export var PutApplicationPolicyRequest;
|
|
275
164
|
(function (PutApplicationPolicyRequest) {
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
165
|
PutApplicationPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
166
|
})(PutApplicationPolicyRequest || (PutApplicationPolicyRequest = {}));
|
|
281
167
|
export var PutApplicationPolicyResponse;
|
|
282
168
|
(function (PutApplicationPolicyResponse) {
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
169
|
PutApplicationPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
170
|
})(PutApplicationPolicyResponse || (PutApplicationPolicyResponse = {}));
|
|
288
171
|
export var UnshareApplicationRequest;
|
|
289
172
|
(function (UnshareApplicationRequest) {
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
173
|
UnshareApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
174
|
})(UnshareApplicationRequest || (UnshareApplicationRequest = {}));
|
|
295
175
|
export var UpdateApplicationRequest;
|
|
296
176
|
(function (UpdateApplicationRequest) {
|
|
297
|
-
/**
|
|
298
|
-
* @internal
|
|
299
|
-
*/
|
|
300
177
|
UpdateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
178
|
})(UpdateApplicationRequest || (UpdateApplicationRequest = {}));
|
|
302
179
|
export var UpdateApplicationResponse;
|
|
303
180
|
(function (UpdateApplicationResponse) {
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
181
|
UpdateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
182
|
})(UpdateApplicationResponse || (UpdateApplicationResponse = {}));
|
|
309
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListApplicationDependenciesCommand, } from "../commands/ListApplicationDependenciesCommand";
|
|
2
3
|
import { ServerlessApplicationRepository } from "../ServerlessApplicationRepository";
|
|
3
4
|
import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
|
|
4
|
-
import { ListApplicationDependenciesCommand, } from "../commands/ListApplicationDependenciesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationDependenciesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listApplicationDependencies.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListApplicationDependencies(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxItems"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ServerlessApplicationRepository)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ServerlessApplicationRepository)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListApplicationDependenciesPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListApplicationVersionsCommand, } from "../commands/ListApplicationVersionsCommand";
|
|
2
3
|
import { ServerlessApplicationRepository } from "../ServerlessApplicationRepository";
|
|
3
4
|
import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
|
|
4
|
-
import { ListApplicationVersionsCommand, } from "../commands/ListApplicationVersionsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationVersionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listApplicationVersions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListApplicationVersions(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxItems"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ServerlessApplicationRepository)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ServerlessApplicationRepository)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListApplicationVersionsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
3
|
import { ServerlessApplicationRepository } from "../ServerlessApplicationRepository";
|
|
3
4
|
import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
|
|
4
|
-
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listApplications.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListApplications(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxItems"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ServerlessApplicationRepository)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ServerlessApplicationRepository)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ServerlessApplicationRepositoryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListApplicationsPaginator.js.map
|