@aws-sdk/client-serverlessapplicationrepository 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateApplicationCommand.d.ts +19 -0
- package/dist-types/commands/CreateApplicationVersionCommand.d.ts +8 -0
- package/dist-types/commands/CreateCloudFormationChangeSetCommand.d.ts +39 -0
- package/dist-types/commands/CreateCloudFormationTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +4 -0
- package/dist-types/commands/GetApplicationPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetCloudFormationTemplateCommand.d.ts +4 -0
- package/dist-types/commands/ListApplicationDependenciesCommand.d.ts +6 -0
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
- package/dist-types/commands/PutApplicationPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UnshareApplicationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +11 -0
- package/package.json +8 -8
|
@@ -26,6 +26,25 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, CreateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, CreateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // CreateApplicationRequest
|
|
30
|
+
* Author: "STRING_VALUE", // required
|
|
31
|
+
* Description: "STRING_VALUE", // required
|
|
32
|
+
* HomePageUrl: "STRING_VALUE",
|
|
33
|
+
* Labels: [ // __listOf__string
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* LicenseBody: "STRING_VALUE",
|
|
37
|
+
* LicenseUrl: "STRING_VALUE",
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* ReadmeBody: "STRING_VALUE",
|
|
40
|
+
* ReadmeUrl: "STRING_VALUE",
|
|
41
|
+
* SemanticVersion: "STRING_VALUE",
|
|
42
|
+
* SourceCodeArchiveUrl: "STRING_VALUE",
|
|
43
|
+
* SourceCodeUrl: "STRING_VALUE",
|
|
44
|
+
* SpdxLicenseId: "STRING_VALUE",
|
|
45
|
+
* TemplateBody: "STRING_VALUE",
|
|
46
|
+
* TemplateUrl: "STRING_VALUE",
|
|
47
|
+
* };
|
|
29
48
|
* const command = new CreateApplicationCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface CreateApplicationVersionCommandOutput extends CreateApplication
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // CreateApplicationVersionRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SemanticVersion: "STRING_VALUE", // required
|
|
32
|
+
* SourceCodeArchiveUrl: "STRING_VALUE",
|
|
33
|
+
* SourceCodeUrl: "STRING_VALUE",
|
|
34
|
+
* TemplateBody: "STRING_VALUE",
|
|
35
|
+
* TemplateUrl: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreateApplicationVersionCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,45 @@ export interface CreateCloudFormationChangeSetCommandOutput extends CreateCloudF
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // CreateCloudFormationChangeSetRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* Capabilities: [ // __listOf__string
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* ChangeSetName: "STRING_VALUE",
|
|
35
|
+
* ClientToken: "STRING_VALUE",
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* NotificationArns: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* ParameterOverrides: [ // __listOfParameterValue
|
|
41
|
+
* { // ParameterValue
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* ResourceTypes: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* RollbackConfiguration: { // RollbackConfiguration
|
|
50
|
+
* MonitoringTimeInMinutes: Number("int"),
|
|
51
|
+
* RollbackTriggers: [ // __listOfRollbackTrigger
|
|
52
|
+
* { // RollbackTrigger
|
|
53
|
+
* Arn: "STRING_VALUE", // required
|
|
54
|
+
* Type: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* SemanticVersion: "STRING_VALUE",
|
|
59
|
+
* StackName: "STRING_VALUE", // required
|
|
60
|
+
* Tags: [ // __listOfTag
|
|
61
|
+
* { // Tag
|
|
62
|
+
* Key: "STRING_VALUE", // required
|
|
63
|
+
* Value: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* TemplateId: "STRING_VALUE",
|
|
67
|
+
* };
|
|
29
68
|
* const command = new CreateCloudFormationChangeSetCommand(input);
|
|
30
69
|
* const response = await client.send(command);
|
|
31
70
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface CreateCloudFormationTemplateCommandOutput extends CreateCloudFo
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // CreateCloudFormationTemplateRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SemanticVersion: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new CreateCloudFormationTemplateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteApplicationCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // DeleteApplicationRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteApplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, GetApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, GetApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // GetApplicationRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SemanticVersion: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetApplicationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyR
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // GetApplicationPolicyRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetApplicationPolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetCloudFormationTemplateCommandOutput extends GetCloudFormatio
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // GetCloudFormationTemplateRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* TemplateId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetCloudFormationTemplateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListApplicationDependenciesCommandOutput extends ListApplicatio
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // ListApplicationDependenciesRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* MaxItems: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* SemanticVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListApplicationDependenciesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListApplicationVersionsCommandOutput extends ListApplicationVer
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // ListApplicationVersionsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* MaxItems: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListApplicationVersionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, ListApplicationsCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, ListApplicationsCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // ListApplicationsRequest
|
|
30
|
+
* MaxItems: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListApplicationsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,23 @@ export interface PutApplicationPolicyCommandOutput extends PutApplicationPolicyR
|
|
|
29
29
|
* import { ServerlessApplicationRepositoryClient, PutApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
30
30
|
* // const { ServerlessApplicationRepositoryClient, PutApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
31
31
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
32
|
+
* const input = { // PutApplicationPolicyRequest
|
|
33
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
34
|
+
* Statements: [ // __listOfApplicationPolicyStatement // required
|
|
35
|
+
* { // ApplicationPolicyStatement
|
|
36
|
+
* Actions: [ // __listOf__string // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* PrincipalOrgIDs: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Principals: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* StatementId: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
32
49
|
* const command = new PutApplicationPolicyCommand(input);
|
|
33
50
|
* const response = await client.send(command);
|
|
34
51
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UnshareApplicationCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, UnshareApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, UnshareApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // UnshareApplicationRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* OrganizationId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UnshareApplicationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
26
26
|
* import { ServerlessApplicationRepositoryClient, UpdateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
27
27
|
* // const { ServerlessApplicationRepositoryClient, UpdateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
28
28
|
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
29
|
+
* const input = { // UpdateApplicationRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* Author: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* HomePageUrl: "STRING_VALUE",
|
|
34
|
+
* Labels: [ // __listOf__string
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* ReadmeBody: "STRING_VALUE",
|
|
38
|
+
* ReadmeUrl: "STRING_VALUE",
|
|
39
|
+
* };
|
|
29
40
|
* const command = new UpdateApplicationCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-serverlessapplicationrepository",
|
|
3
3
|
"description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|