@aws-sdk/client-serverlessapplicationrepository 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/ServerlessApplicationRepository.js +0 -23
- package/dist-cjs/ServerlessApplicationRepositoryClient.js +0 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -25
- package/dist-cjs/commands/CreateApplicationVersionCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationDependenciesCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
- package/dist-cjs/commands/PutApplicationPolicyCommand.js +0 -28
- package/dist-cjs/commands/UnshareApplicationCommand.js +0 -25
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -21
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -127
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ServerlessApplicationRepository.js +0 -1
- package/dist-es/ServerlessApplicationRepositoryClient.js +0 -1
- package/dist-es/commands/CreateApplicationCommand.js +0 -1
- package/dist-es/commands/CreateApplicationVersionCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/GetCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/ListApplicationDependenciesCommand.js +0 -1
- package/dist-es/commands/ListApplicationVersionsCommand.js +0 -1
- package/dist-es/commands/ListApplicationsCommand.js +0 -1
- package/dist-es/commands/PutApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/UnshareApplicationCommand.js +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js +0 -1
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -21
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/ServerlessApplicationRepository.d.ts +15 -67
- package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +24 -108
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +254 -895
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ServerlessApplicationRepository.js.map +0 -1
- 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/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.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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/ServerlessApplicationRepository.ts +0 -548
- package/src/ServerlessApplicationRepositoryClient.ts +0 -322
- package/src/commands/CreateApplicationCommand.ts +0 -99
- package/src/commands/CreateApplicationVersionCommand.ts +0 -99
- package/src/commands/CreateCloudFormationChangeSetCommand.ts +0 -104
- package/src/commands/CreateCloudFormationTemplateCommand.ts +0 -104
- package/src/commands/DeleteApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationPolicyCommand.ts +0 -99
- package/src/commands/GetCloudFormationTemplateCommand.ts +0 -102
- package/src/commands/ListApplicationDependenciesCommand.ts +0 -104
- package/src/commands/ListApplicationVersionsCommand.ts +0 -99
- package/src/commands/ListApplicationsCommand.ts +0 -99
- package/src/commands/PutApplicationPolicyCommand.ts +0 -102
- package/src/commands/UnshareApplicationCommand.ts +0 -99
- package/src/commands/UpdateApplicationCommand.ts +0 -99
- package/src/endpoints.ts +0 -66
- package/src/index.ts +0 -21
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1649
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListApplicationDependenciesPaginator.ts +0 -61
- package/src/pagination/ListApplicationVersionsPaginator.ts +0 -61
- package/src/pagination/ListApplicationsPaginator.ts +0 -61
- package/src/protocols/Aws_restJson1.ts +0 -2546
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,548 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
CreateApplicationCommand,
|
|
5
|
-
CreateApplicationCommandInput,
|
|
6
|
-
CreateApplicationCommandOutput,
|
|
7
|
-
} from "./commands/CreateApplicationCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateApplicationVersionCommand,
|
|
10
|
-
CreateApplicationVersionCommandInput,
|
|
11
|
-
CreateApplicationVersionCommandOutput,
|
|
12
|
-
} from "./commands/CreateApplicationVersionCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateCloudFormationChangeSetCommand,
|
|
15
|
-
CreateCloudFormationChangeSetCommandInput,
|
|
16
|
-
CreateCloudFormationChangeSetCommandOutput,
|
|
17
|
-
} from "./commands/CreateCloudFormationChangeSetCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateCloudFormationTemplateCommand,
|
|
20
|
-
CreateCloudFormationTemplateCommandInput,
|
|
21
|
-
CreateCloudFormationTemplateCommandOutput,
|
|
22
|
-
} from "./commands/CreateCloudFormationTemplateCommand";
|
|
23
|
-
import {
|
|
24
|
-
DeleteApplicationCommand,
|
|
25
|
-
DeleteApplicationCommandInput,
|
|
26
|
-
DeleteApplicationCommandOutput,
|
|
27
|
-
} from "./commands/DeleteApplicationCommand";
|
|
28
|
-
import {
|
|
29
|
-
GetApplicationCommand,
|
|
30
|
-
GetApplicationCommandInput,
|
|
31
|
-
GetApplicationCommandOutput,
|
|
32
|
-
} from "./commands/GetApplicationCommand";
|
|
33
|
-
import {
|
|
34
|
-
GetApplicationPolicyCommand,
|
|
35
|
-
GetApplicationPolicyCommandInput,
|
|
36
|
-
GetApplicationPolicyCommandOutput,
|
|
37
|
-
} from "./commands/GetApplicationPolicyCommand";
|
|
38
|
-
import {
|
|
39
|
-
GetCloudFormationTemplateCommand,
|
|
40
|
-
GetCloudFormationTemplateCommandInput,
|
|
41
|
-
GetCloudFormationTemplateCommandOutput,
|
|
42
|
-
} from "./commands/GetCloudFormationTemplateCommand";
|
|
43
|
-
import {
|
|
44
|
-
ListApplicationDependenciesCommand,
|
|
45
|
-
ListApplicationDependenciesCommandInput,
|
|
46
|
-
ListApplicationDependenciesCommandOutput,
|
|
47
|
-
} from "./commands/ListApplicationDependenciesCommand";
|
|
48
|
-
import {
|
|
49
|
-
ListApplicationsCommand,
|
|
50
|
-
ListApplicationsCommandInput,
|
|
51
|
-
ListApplicationsCommandOutput,
|
|
52
|
-
} from "./commands/ListApplicationsCommand";
|
|
53
|
-
import {
|
|
54
|
-
ListApplicationVersionsCommand,
|
|
55
|
-
ListApplicationVersionsCommandInput,
|
|
56
|
-
ListApplicationVersionsCommandOutput,
|
|
57
|
-
} from "./commands/ListApplicationVersionsCommand";
|
|
58
|
-
import {
|
|
59
|
-
PutApplicationPolicyCommand,
|
|
60
|
-
PutApplicationPolicyCommandInput,
|
|
61
|
-
PutApplicationPolicyCommandOutput,
|
|
62
|
-
} from "./commands/PutApplicationPolicyCommand";
|
|
63
|
-
import {
|
|
64
|
-
UnshareApplicationCommand,
|
|
65
|
-
UnshareApplicationCommandInput,
|
|
66
|
-
UnshareApplicationCommandOutput,
|
|
67
|
-
} from "./commands/UnshareApplicationCommand";
|
|
68
|
-
import {
|
|
69
|
-
UpdateApplicationCommand,
|
|
70
|
-
UpdateApplicationCommandInput,
|
|
71
|
-
UpdateApplicationCommandOutput,
|
|
72
|
-
} from "./commands/UpdateApplicationCommand";
|
|
73
|
-
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
|
|
77
|
-
* and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
|
|
78
|
-
* see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of
|
|
79
|
-
* all levels can get started with serverless computing without needing to learn anything new. You can use category
|
|
80
|
-
* keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots.
|
|
81
|
-
* You can also search for applications by name, publisher, or event source. To use an application, you simply choose it,
|
|
82
|
-
* configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately
|
|
83
|
-
* within your team or across your organization. To publish a serverless application (or app), you can use the
|
|
84
|
-
* AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the
|
|
85
|
-
* code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.
|
|
86
|
-
* For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs
|
|
87
|
-
* GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer
|
|
88
|
-
* experiences available:</p><ul>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>Consuming Applications – Browse for applications and view information about them, including
|
|
91
|
-
* source code and readme files. Also install, configure, and deploy applications of your choosing. </p>
|
|
92
|
-
* <p>Publishing Applications – Configure and upload applications to make them available to other
|
|
93
|
-
* developers, and publish new versions of applications. </p>
|
|
94
|
-
* </li>
|
|
95
|
-
* </ul>
|
|
96
|
-
*/
|
|
97
|
-
export class ServerlessApplicationRepository extends ServerlessApplicationRepositoryClient {
|
|
98
|
-
/**
|
|
99
|
-
* <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
|
|
100
|
-
*/
|
|
101
|
-
public createApplication(
|
|
102
|
-
args: CreateApplicationCommandInput,
|
|
103
|
-
options?: __HttpHandlerOptions
|
|
104
|
-
): Promise<CreateApplicationCommandOutput>;
|
|
105
|
-
public createApplication(
|
|
106
|
-
args: CreateApplicationCommandInput,
|
|
107
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
108
|
-
): void;
|
|
109
|
-
public createApplication(
|
|
110
|
-
args: CreateApplicationCommandInput,
|
|
111
|
-
options: __HttpHandlerOptions,
|
|
112
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
113
|
-
): void;
|
|
114
|
-
public createApplication(
|
|
115
|
-
args: CreateApplicationCommandInput,
|
|
116
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
|
|
117
|
-
cb?: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
118
|
-
): Promise<CreateApplicationCommandOutput> | void {
|
|
119
|
-
const command = new CreateApplicationCommand(args);
|
|
120
|
-
if (typeof optionsOrCb === "function") {
|
|
121
|
-
this.send(command, optionsOrCb);
|
|
122
|
-
} else if (typeof cb === "function") {
|
|
123
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
} else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* <p>Creates an application version.</p>
|
|
132
|
-
*/
|
|
133
|
-
public createApplicationVersion(
|
|
134
|
-
args: CreateApplicationVersionCommandInput,
|
|
135
|
-
options?: __HttpHandlerOptions
|
|
136
|
-
): Promise<CreateApplicationVersionCommandOutput>;
|
|
137
|
-
public createApplicationVersion(
|
|
138
|
-
args: CreateApplicationVersionCommandInput,
|
|
139
|
-
cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void
|
|
140
|
-
): void;
|
|
141
|
-
public createApplicationVersion(
|
|
142
|
-
args: CreateApplicationVersionCommandInput,
|
|
143
|
-
options: __HttpHandlerOptions,
|
|
144
|
-
cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void
|
|
145
|
-
): void;
|
|
146
|
-
public createApplicationVersion(
|
|
147
|
-
args: CreateApplicationVersionCommandInput,
|
|
148
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationVersionCommandOutput) => void),
|
|
149
|
-
cb?: (err: any, data?: CreateApplicationVersionCommandOutput) => void
|
|
150
|
-
): Promise<CreateApplicationVersionCommandOutput> | void {
|
|
151
|
-
const command = new CreateApplicationVersionCommand(args);
|
|
152
|
-
if (typeof optionsOrCb === "function") {
|
|
153
|
-
this.send(command, optionsOrCb);
|
|
154
|
-
} else if (typeof cb === "function") {
|
|
155
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
156
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
157
|
-
} else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* <p>Creates an AWS CloudFormation change set for the given application.</p>
|
|
164
|
-
*/
|
|
165
|
-
public createCloudFormationChangeSet(
|
|
166
|
-
args: CreateCloudFormationChangeSetCommandInput,
|
|
167
|
-
options?: __HttpHandlerOptions
|
|
168
|
-
): Promise<CreateCloudFormationChangeSetCommandOutput>;
|
|
169
|
-
public createCloudFormationChangeSet(
|
|
170
|
-
args: CreateCloudFormationChangeSetCommandInput,
|
|
171
|
-
cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void
|
|
172
|
-
): void;
|
|
173
|
-
public createCloudFormationChangeSet(
|
|
174
|
-
args: CreateCloudFormationChangeSetCommandInput,
|
|
175
|
-
options: __HttpHandlerOptions,
|
|
176
|
-
cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void
|
|
177
|
-
): void;
|
|
178
|
-
public createCloudFormationChangeSet(
|
|
179
|
-
args: CreateCloudFormationChangeSetCommandInput,
|
|
180
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void),
|
|
181
|
-
cb?: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void
|
|
182
|
-
): Promise<CreateCloudFormationChangeSetCommandOutput> | void {
|
|
183
|
-
const command = new CreateCloudFormationChangeSetCommand(args);
|
|
184
|
-
if (typeof optionsOrCb === "function") {
|
|
185
|
-
this.send(command, optionsOrCb);
|
|
186
|
-
} else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
} else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* <p>Creates an AWS CloudFormation template.</p>
|
|
196
|
-
*/
|
|
197
|
-
public createCloudFormationTemplate(
|
|
198
|
-
args: CreateCloudFormationTemplateCommandInput,
|
|
199
|
-
options?: __HttpHandlerOptions
|
|
200
|
-
): Promise<CreateCloudFormationTemplateCommandOutput>;
|
|
201
|
-
public createCloudFormationTemplate(
|
|
202
|
-
args: CreateCloudFormationTemplateCommandInput,
|
|
203
|
-
cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void
|
|
204
|
-
): void;
|
|
205
|
-
public createCloudFormationTemplate(
|
|
206
|
-
args: CreateCloudFormationTemplateCommandInput,
|
|
207
|
-
options: __HttpHandlerOptions,
|
|
208
|
-
cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void
|
|
209
|
-
): void;
|
|
210
|
-
public createCloudFormationTemplate(
|
|
211
|
-
args: CreateCloudFormationTemplateCommandInput,
|
|
212
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCloudFormationTemplateCommandOutput) => void),
|
|
213
|
-
cb?: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void
|
|
214
|
-
): Promise<CreateCloudFormationTemplateCommandOutput> | void {
|
|
215
|
-
const command = new CreateCloudFormationTemplateCommand(args);
|
|
216
|
-
if (typeof optionsOrCb === "function") {
|
|
217
|
-
this.send(command, optionsOrCb);
|
|
218
|
-
} else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
} else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* <p>Deletes the specified application.</p>
|
|
228
|
-
*/
|
|
229
|
-
public deleteApplication(
|
|
230
|
-
args: DeleteApplicationCommandInput,
|
|
231
|
-
options?: __HttpHandlerOptions
|
|
232
|
-
): Promise<DeleteApplicationCommandOutput>;
|
|
233
|
-
public deleteApplication(
|
|
234
|
-
args: DeleteApplicationCommandInput,
|
|
235
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
236
|
-
): void;
|
|
237
|
-
public deleteApplication(
|
|
238
|
-
args: DeleteApplicationCommandInput,
|
|
239
|
-
options: __HttpHandlerOptions,
|
|
240
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
241
|
-
): void;
|
|
242
|
-
public deleteApplication(
|
|
243
|
-
args: DeleteApplicationCommandInput,
|
|
244
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
|
|
245
|
-
cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
246
|
-
): Promise<DeleteApplicationCommandOutput> | void {
|
|
247
|
-
const command = new DeleteApplicationCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
} else if (typeof cb === "function") {
|
|
251
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
253
|
-
} else {
|
|
254
|
-
return this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* <p>Gets the specified application.</p>
|
|
260
|
-
*/
|
|
261
|
-
public getApplication(
|
|
262
|
-
args: GetApplicationCommandInput,
|
|
263
|
-
options?: __HttpHandlerOptions
|
|
264
|
-
): Promise<GetApplicationCommandOutput>;
|
|
265
|
-
public getApplication(
|
|
266
|
-
args: GetApplicationCommandInput,
|
|
267
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
268
|
-
): void;
|
|
269
|
-
public getApplication(
|
|
270
|
-
args: GetApplicationCommandInput,
|
|
271
|
-
options: __HttpHandlerOptions,
|
|
272
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
273
|
-
): void;
|
|
274
|
-
public getApplication(
|
|
275
|
-
args: GetApplicationCommandInput,
|
|
276
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationCommandOutput) => void),
|
|
277
|
-
cb?: (err: any, data?: GetApplicationCommandOutput) => void
|
|
278
|
-
): Promise<GetApplicationCommandOutput> | void {
|
|
279
|
-
const command = new GetApplicationCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
} else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
} else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* <p>Retrieves the policy for the application.</p>
|
|
292
|
-
*/
|
|
293
|
-
public getApplicationPolicy(
|
|
294
|
-
args: GetApplicationPolicyCommandInput,
|
|
295
|
-
options?: __HttpHandlerOptions
|
|
296
|
-
): Promise<GetApplicationPolicyCommandOutput>;
|
|
297
|
-
public getApplicationPolicy(
|
|
298
|
-
args: GetApplicationPolicyCommandInput,
|
|
299
|
-
cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void
|
|
300
|
-
): void;
|
|
301
|
-
public getApplicationPolicy(
|
|
302
|
-
args: GetApplicationPolicyCommandInput,
|
|
303
|
-
options: __HttpHandlerOptions,
|
|
304
|
-
cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void
|
|
305
|
-
): void;
|
|
306
|
-
public getApplicationPolicy(
|
|
307
|
-
args: GetApplicationPolicyCommandInput,
|
|
308
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationPolicyCommandOutput) => void),
|
|
309
|
-
cb?: (err: any, data?: GetApplicationPolicyCommandOutput) => void
|
|
310
|
-
): Promise<GetApplicationPolicyCommandOutput> | void {
|
|
311
|
-
const command = new GetApplicationPolicyCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
} else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
317
|
-
} else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* <p>Gets the specified AWS CloudFormation template.</p>
|
|
324
|
-
*/
|
|
325
|
-
public getCloudFormationTemplate(
|
|
326
|
-
args: GetCloudFormationTemplateCommandInput,
|
|
327
|
-
options?: __HttpHandlerOptions
|
|
328
|
-
): Promise<GetCloudFormationTemplateCommandOutput>;
|
|
329
|
-
public getCloudFormationTemplate(
|
|
330
|
-
args: GetCloudFormationTemplateCommandInput,
|
|
331
|
-
cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void
|
|
332
|
-
): void;
|
|
333
|
-
public getCloudFormationTemplate(
|
|
334
|
-
args: GetCloudFormationTemplateCommandInput,
|
|
335
|
-
options: __HttpHandlerOptions,
|
|
336
|
-
cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void
|
|
337
|
-
): void;
|
|
338
|
-
public getCloudFormationTemplate(
|
|
339
|
-
args: GetCloudFormationTemplateCommandInput,
|
|
340
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCloudFormationTemplateCommandOutput) => void),
|
|
341
|
-
cb?: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void
|
|
342
|
-
): Promise<GetCloudFormationTemplateCommandOutput> | void {
|
|
343
|
-
const command = new GetCloudFormationTemplateCommand(args);
|
|
344
|
-
if (typeof optionsOrCb === "function") {
|
|
345
|
-
this.send(command, optionsOrCb);
|
|
346
|
-
} else if (typeof cb === "function") {
|
|
347
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
348
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
349
|
-
} else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* <p>Retrieves the list of applications nested in the containing application.</p>
|
|
356
|
-
*/
|
|
357
|
-
public listApplicationDependencies(
|
|
358
|
-
args: ListApplicationDependenciesCommandInput,
|
|
359
|
-
options?: __HttpHandlerOptions
|
|
360
|
-
): Promise<ListApplicationDependenciesCommandOutput>;
|
|
361
|
-
public listApplicationDependencies(
|
|
362
|
-
args: ListApplicationDependenciesCommandInput,
|
|
363
|
-
cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void
|
|
364
|
-
): void;
|
|
365
|
-
public listApplicationDependencies(
|
|
366
|
-
args: ListApplicationDependenciesCommandInput,
|
|
367
|
-
options: __HttpHandlerOptions,
|
|
368
|
-
cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void
|
|
369
|
-
): void;
|
|
370
|
-
public listApplicationDependencies(
|
|
371
|
-
args: ListApplicationDependenciesCommandInput,
|
|
372
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationDependenciesCommandOutput) => void),
|
|
373
|
-
cb?: (err: any, data?: ListApplicationDependenciesCommandOutput) => void
|
|
374
|
-
): Promise<ListApplicationDependenciesCommandOutput> | void {
|
|
375
|
-
const command = new ListApplicationDependenciesCommand(args);
|
|
376
|
-
if (typeof optionsOrCb === "function") {
|
|
377
|
-
this.send(command, optionsOrCb);
|
|
378
|
-
} else if (typeof cb === "function") {
|
|
379
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
380
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
-
} else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* <p>Lists applications owned by the requester.</p>
|
|
388
|
-
*/
|
|
389
|
-
public listApplications(
|
|
390
|
-
args: ListApplicationsCommandInput,
|
|
391
|
-
options?: __HttpHandlerOptions
|
|
392
|
-
): Promise<ListApplicationsCommandOutput>;
|
|
393
|
-
public listApplications(
|
|
394
|
-
args: ListApplicationsCommandInput,
|
|
395
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
396
|
-
): void;
|
|
397
|
-
public listApplications(
|
|
398
|
-
args: ListApplicationsCommandInput,
|
|
399
|
-
options: __HttpHandlerOptions,
|
|
400
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
401
|
-
): void;
|
|
402
|
-
public listApplications(
|
|
403
|
-
args: ListApplicationsCommandInput,
|
|
404
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
|
|
405
|
-
cb?: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
406
|
-
): Promise<ListApplicationsCommandOutput> | void {
|
|
407
|
-
const command = new ListApplicationsCommand(args);
|
|
408
|
-
if (typeof optionsOrCb === "function") {
|
|
409
|
-
this.send(command, optionsOrCb);
|
|
410
|
-
} else if (typeof cb === "function") {
|
|
411
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
412
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
413
|
-
} else {
|
|
414
|
-
return this.send(command, optionsOrCb);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* <p>Lists versions for the specified application.</p>
|
|
420
|
-
*/
|
|
421
|
-
public listApplicationVersions(
|
|
422
|
-
args: ListApplicationVersionsCommandInput,
|
|
423
|
-
options?: __HttpHandlerOptions
|
|
424
|
-
): Promise<ListApplicationVersionsCommandOutput>;
|
|
425
|
-
public listApplicationVersions(
|
|
426
|
-
args: ListApplicationVersionsCommandInput,
|
|
427
|
-
cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void
|
|
428
|
-
): void;
|
|
429
|
-
public listApplicationVersions(
|
|
430
|
-
args: ListApplicationVersionsCommandInput,
|
|
431
|
-
options: __HttpHandlerOptions,
|
|
432
|
-
cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void
|
|
433
|
-
): void;
|
|
434
|
-
public listApplicationVersions(
|
|
435
|
-
args: ListApplicationVersionsCommandInput,
|
|
436
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationVersionsCommandOutput) => void),
|
|
437
|
-
cb?: (err: any, data?: ListApplicationVersionsCommandOutput) => void
|
|
438
|
-
): Promise<ListApplicationVersionsCommandOutput> | void {
|
|
439
|
-
const command = new ListApplicationVersionsCommand(args);
|
|
440
|
-
if (typeof optionsOrCb === "function") {
|
|
441
|
-
this.send(command, optionsOrCb);
|
|
442
|
-
} else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
} else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* <p>Sets the permission policy for an application. For the list of actions supported for this operation, see
|
|
452
|
-
* <a href="https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions">Application
|
|
453
|
-
* Permissions</a>
|
|
454
|
-
* .</p>
|
|
455
|
-
*/
|
|
456
|
-
public putApplicationPolicy(
|
|
457
|
-
args: PutApplicationPolicyCommandInput,
|
|
458
|
-
options?: __HttpHandlerOptions
|
|
459
|
-
): Promise<PutApplicationPolicyCommandOutput>;
|
|
460
|
-
public putApplicationPolicy(
|
|
461
|
-
args: PutApplicationPolicyCommandInput,
|
|
462
|
-
cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void
|
|
463
|
-
): void;
|
|
464
|
-
public putApplicationPolicy(
|
|
465
|
-
args: PutApplicationPolicyCommandInput,
|
|
466
|
-
options: __HttpHandlerOptions,
|
|
467
|
-
cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void
|
|
468
|
-
): void;
|
|
469
|
-
public putApplicationPolicy(
|
|
470
|
-
args: PutApplicationPolicyCommandInput,
|
|
471
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutApplicationPolicyCommandOutput) => void),
|
|
472
|
-
cb?: (err: any, data?: PutApplicationPolicyCommandOutput) => void
|
|
473
|
-
): Promise<PutApplicationPolicyCommandOutput> | void {
|
|
474
|
-
const command = new PutApplicationPolicyCommand(args);
|
|
475
|
-
if (typeof optionsOrCb === "function") {
|
|
476
|
-
this.send(command, optionsOrCb);
|
|
477
|
-
} else if (typeof cb === "function") {
|
|
478
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
479
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
480
|
-
} else {
|
|
481
|
-
return this.send(command, optionsOrCb);
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* <p>Unshares an application from an AWS Organization.</p><p>This operation can be called only from the organization's master account.</p>
|
|
487
|
-
*/
|
|
488
|
-
public unshareApplication(
|
|
489
|
-
args: UnshareApplicationCommandInput,
|
|
490
|
-
options?: __HttpHandlerOptions
|
|
491
|
-
): Promise<UnshareApplicationCommandOutput>;
|
|
492
|
-
public unshareApplication(
|
|
493
|
-
args: UnshareApplicationCommandInput,
|
|
494
|
-
cb: (err: any, data?: UnshareApplicationCommandOutput) => void
|
|
495
|
-
): void;
|
|
496
|
-
public unshareApplication(
|
|
497
|
-
args: UnshareApplicationCommandInput,
|
|
498
|
-
options: __HttpHandlerOptions,
|
|
499
|
-
cb: (err: any, data?: UnshareApplicationCommandOutput) => void
|
|
500
|
-
): void;
|
|
501
|
-
public unshareApplication(
|
|
502
|
-
args: UnshareApplicationCommandInput,
|
|
503
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UnshareApplicationCommandOutput) => void),
|
|
504
|
-
cb?: (err: any, data?: UnshareApplicationCommandOutput) => void
|
|
505
|
-
): Promise<UnshareApplicationCommandOutput> | void {
|
|
506
|
-
const command = new UnshareApplicationCommand(args);
|
|
507
|
-
if (typeof optionsOrCb === "function") {
|
|
508
|
-
this.send(command, optionsOrCb);
|
|
509
|
-
} else if (typeof cb === "function") {
|
|
510
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
512
|
-
} else {
|
|
513
|
-
return this.send(command, optionsOrCb);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* <p>Updates the specified application.</p>
|
|
519
|
-
*/
|
|
520
|
-
public updateApplication(
|
|
521
|
-
args: UpdateApplicationCommandInput,
|
|
522
|
-
options?: __HttpHandlerOptions
|
|
523
|
-
): Promise<UpdateApplicationCommandOutput>;
|
|
524
|
-
public updateApplication(
|
|
525
|
-
args: UpdateApplicationCommandInput,
|
|
526
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
527
|
-
): void;
|
|
528
|
-
public updateApplication(
|
|
529
|
-
args: UpdateApplicationCommandInput,
|
|
530
|
-
options: __HttpHandlerOptions,
|
|
531
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
532
|
-
): void;
|
|
533
|
-
public updateApplication(
|
|
534
|
-
args: UpdateApplicationCommandInput,
|
|
535
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
|
|
536
|
-
cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
537
|
-
): Promise<UpdateApplicationCommandOutput> | void {
|
|
538
|
-
const command = new UpdateApplicationCommand(args);
|
|
539
|
-
if (typeof optionsOrCb === "function") {
|
|
540
|
-
this.send(command, optionsOrCb);
|
|
541
|
-
} else if (typeof cb === "function") {
|
|
542
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
543
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
544
|
-
} else {
|
|
545
|
-
return this.send(command, optionsOrCb);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|