@aws-sdk/client-m2 3.299.0 → 3.300.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/CancelBatchJobExecutionCommand.d.ts +4 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +14 -0
- package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +47 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +6 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +4 -0
- package/dist-types/commands/GetDataSetDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +4 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +8 -0
- package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +12 -0
- package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +5 -0
- package/dist-types/commands/ListDataSetsCommand.d.ts +6 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +5 -0
- package/dist-types/commands/ListEngineVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +3 -0
- package/dist-types/commands/StartBatchJobCommand.d.ts +15 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -26,6 +26,10 @@ export interface CancelBatchJobExecutionCommandOutput extends CancelBatchJobExec
|
|
|
26
26
|
* import { M2Client, CancelBatchJobExecutionCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, CancelBatchJobExecutionCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* executionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new CancelBatchJobExecutionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,20 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
27
27
|
* import { M2Client, CreateApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
28
28
|
* // const { M2Client, CreateApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
29
29
|
* const client = new M2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* engineType: "STRING_VALUE", // required
|
|
34
|
+
* definition: { // Union: only one key present
|
|
35
|
+
* s3Location: "STRING_VALUE",
|
|
36
|
+
* content: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* tags: {
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* kmsKeyId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
30
44
|
* const command = new CreateApplicationCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -26,6 +26,53 @@ export interface CreateDataSetImportTaskCommandOutput extends CreateDataSetImpor
|
|
|
26
26
|
* import { M2Client, CreateDataSetImportTaskCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, CreateDataSetImportTaskCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* importConfig: { // Union: only one key present
|
|
32
|
+
* s3Location: "STRING_VALUE",
|
|
33
|
+
* dataSets: [
|
|
34
|
+
* {
|
|
35
|
+
* dataSet: {
|
|
36
|
+
* storageType: "STRING_VALUE",
|
|
37
|
+
* datasetName: "STRING_VALUE", // required
|
|
38
|
+
* datasetOrg: { // Union: only one key present
|
|
39
|
+
* vsam: {
|
|
40
|
+
* format: "STRING_VALUE", // required
|
|
41
|
+
* encoding: "STRING_VALUE",
|
|
42
|
+
* compressed: true || false,
|
|
43
|
+
* primaryKey: {
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
|
+
* offset: Number("int"), // required
|
|
46
|
+
* length: Number("int"), // required
|
|
47
|
+
* },
|
|
48
|
+
* alternateKeys: [
|
|
49
|
+
* {
|
|
50
|
+
* name: "STRING_VALUE",
|
|
51
|
+
* offset: Number("int"), // required
|
|
52
|
+
* length: Number("int"), // required
|
|
53
|
+
* allowDuplicates: true || false,
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* gdg: {
|
|
58
|
+
* limit: Number("int"),
|
|
59
|
+
* rollDisposition: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* relativePath: "STRING_VALUE",
|
|
63
|
+
* recordLength: {
|
|
64
|
+
* min: Number("int"), // required
|
|
65
|
+
* max: Number("int"), // required
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* externalLocation: { // Union: only one key present
|
|
69
|
+
* s3Location: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* clientToken: "STRING_VALUE",
|
|
75
|
+
* };
|
|
29
76
|
* const command = new CreateDataSetImportTaskCommand(input);
|
|
30
77
|
* const response = await client.send(command);
|
|
31
78
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse,
|
|
|
26
26
|
* import { M2Client, CreateDeploymentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, CreateDeploymentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* applicationId: "STRING_VALUE", // required
|
|
32
|
+
* applicationVersion: Number("int"), // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new CreateDeploymentCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,41 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
|
|
|
26
26
|
* import { M2Client, CreateEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, CreateEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* name: "STRING_VALUE", // required
|
|
31
|
+
* instanceType: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* engineType: "STRING_VALUE", // required
|
|
34
|
+
* engineVersion: "STRING_VALUE",
|
|
35
|
+
* subnetIds: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* securityGroupIds: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* storageConfigurations: [
|
|
42
|
+
* { // Union: only one key present
|
|
43
|
+
* efs: {
|
|
44
|
+
* fileSystemId: "STRING_VALUE", // required
|
|
45
|
+
* mountPoint: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* fsx: {
|
|
48
|
+
* fileSystemId: "STRING_VALUE", // required
|
|
49
|
+
* mountPoint: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* publiclyAccessible: true || false,
|
|
54
|
+
* highAvailabilityConfig: {
|
|
55
|
+
* desiredCapacity: Number("int"), // required
|
|
56
|
+
* },
|
|
57
|
+
* tags: {
|
|
58
|
+
* "<keys>": "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* preferredMaintenanceWindow: "STRING_VALUE",
|
|
61
|
+
* clientToken: "STRING_VALUE",
|
|
62
|
+
* kmsKeyId: "STRING_VALUE",
|
|
63
|
+
* };
|
|
29
64
|
* const command = new CreateEnvironmentCommand(input);
|
|
30
65
|
* const response = await client.send(command);
|
|
31
66
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
26
26
|
* import { M2Client, DeleteApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, DeleteApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteApplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteApplicationFromEnvironmentCommandOutput extends DeleteApp
|
|
|
29
29
|
* import { M2Client, DeleteApplicationFromEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
30
30
|
* // const { M2Client, DeleteApplicationFromEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
31
31
|
* const client = new M2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* applicationId: "STRING_VALUE", // required
|
|
34
|
+
* environmentId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteApplicationFromEnvironmentCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentRespons
|
|
|
27
27
|
* import { M2Client, DeleteEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
28
28
|
* // const { M2Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
29
29
|
* const client = new M2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* environmentId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteEnvironmentCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
|
|
|
26
26
|
* import { M2Client, GetApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetApplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetApplicationVersionCommandOutput extends GetApplicationVersio
|
|
|
26
26
|
* import { M2Client, GetApplicationVersionCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetApplicationVersionCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* applicationVersion: Number("int"), // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetApplicationVersionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetBatchJobExecutionCommandOutput extends GetBatchJobExecutionR
|
|
|
26
26
|
* import { M2Client, GetBatchJobExecutionCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetBatchJobExecutionCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* executionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetBatchJobExecutionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetDataSetDetailsCommandOutput extends GetDataSetDetailsRespons
|
|
|
26
26
|
* import { M2Client, GetDataSetDetailsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetDataSetDetailsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* dataSetName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetDataSetDetailsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetDataSetImportTaskCommandOutput extends GetDataSetImportTaskR
|
|
|
26
26
|
* import { M2Client, GetDataSetImportTaskCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetDataSetImportTaskCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* taskId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetDataSetImportTaskCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetDeploymentCommandOutput extends GetDeploymentResponse, __Met
|
|
|
26
26
|
* import { M2Client, GetDeploymentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetDeploymentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* deploymentId: "STRING_VALUE", // required
|
|
31
|
+
* applicationId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetDeploymentCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M
|
|
|
26
26
|
* import { M2Client, GetEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, GetEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetEnvironmentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListApplicationVersionsCommandOutput extends ListApplicationVer
|
|
|
26
26
|
* import { M2Client, ListApplicationVersionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, ListApplicationVersionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* applicationId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListApplicationVersionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
28
28
|
* import { M2Client, ListApplicationsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
29
29
|
* // const { M2Client, ListApplicationsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
30
30
|
* const client = new M2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* names: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* environmentId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListApplicationsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListBatchJobDefinitionsCommandOutput extends ListBatchJobDefini
|
|
|
28
28
|
* import { M2Client, ListBatchJobDefinitionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
29
29
|
* // const { M2Client, ListBatchJobDefinitionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
30
30
|
* const client = new M2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* applicationId: "STRING_VALUE", // required
|
|
35
|
+
* prefix: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListBatchJobDefinitionsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface ListBatchJobExecutionsCommandOutput extends ListBatchJobExecuti
|
|
|
27
27
|
* import { M2Client, ListBatchJobExecutionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
28
28
|
* // const { M2Client, ListBatchJobExecutionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
29
29
|
* const client = new M2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* applicationId: "STRING_VALUE", // required
|
|
34
|
+
* executionIds: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* jobName: "STRING_VALUE",
|
|
38
|
+
* status: "STRING_VALUE",
|
|
39
|
+
* startedAfter: new Date("TIMESTAMP"),
|
|
40
|
+
* startedBefore: new Date("TIMESTAMP"),
|
|
41
|
+
* };
|
|
30
42
|
* const command = new ListBatchJobExecutionsCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListDataSetImportHistoryCommandOutput extends ListDataSetImport
|
|
|
26
26
|
* import { M2Client, ListDataSetImportHistoryCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, ListDataSetImportHistoryCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* applicationId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListDataSetImportHistoryCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
|
|
|
28
28
|
* import { M2Client, ListDataSetsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
29
29
|
* // const { M2Client, ListDataSetsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
30
30
|
* const client = new M2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* applicationId: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* prefix: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListDataSetsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListDeploymentsCommandOutput extends ListDeploymentsResponse, _
|
|
|
28
28
|
* import { M2Client, ListDeploymentsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
29
29
|
* // const { M2Client, ListDeploymentsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
30
30
|
* const client = new M2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* applicationId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListDeploymentsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListEngineVersionsCommandOutput extends ListEngineVersionsRespo
|
|
|
26
26
|
* import { M2Client, ListEngineVersionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, ListEngineVersionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* engineType: "STRING_VALUE",
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListEngineVersionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse,
|
|
|
26
26
|
* import { M2Client, ListEnvironmentsCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, ListEnvironmentsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* names: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* engineType: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new ListEnvironmentsCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { M2Client, ListTagsForResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
|
|
|
26
26
|
* import { M2Client, StartApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, StartApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StartApplicationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,21 @@ export interface StartBatchJobCommandOutput extends StartBatchJobResponse, __Met
|
|
|
27
27
|
* import { M2Client, StartBatchJobCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
28
28
|
* // const { M2Client, StartBatchJobCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
29
29
|
* const client = new M2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* applicationId: "STRING_VALUE", // required
|
|
32
|
+
* batchJobIdentifier: { // Union: only one key present
|
|
33
|
+
* fileBatchJobIdentifier: {
|
|
34
|
+
* fileName: "STRING_VALUE", // required
|
|
35
|
+
* folderPath: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* scriptBatchJobIdentifier: {
|
|
38
|
+
* scriptName: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* jobParams: {
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
30
45
|
* const command = new StartBatchJobCommand(input);
|
|
31
46
|
* const response = await client.send(command);
|
|
32
47
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
|
|
|
26
26
|
* import { M2Client, StopApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, StopApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* forceStop: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new StopApplicationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { M2Client, TagResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, TagResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { M2Client, UntagResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, UntagResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
26
26
|
* import { M2Client, UpdateApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, UpdateApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* applicationId: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* currentApplicationVersion: Number("int"), // required
|
|
33
|
+
* definition: { // Union: only one key present
|
|
34
|
+
* s3Location: "STRING_VALUE",
|
|
35
|
+
* content: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new UpdateApplicationCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
|
|
|
26
26
|
* import { M2Client, UpdateEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
27
27
|
* // const { M2Client, UpdateEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
28
28
|
* const client = new M2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* desiredCapacity: Number("int"),
|
|
32
|
+
* instanceType: "STRING_VALUE",
|
|
33
|
+
* engineVersion: "STRING_VALUE",
|
|
34
|
+
* preferredMaintenanceWindow: "STRING_VALUE",
|
|
35
|
+
* applyDuringMaintenanceWindow: true || false,
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdateEnvironmentCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-m2",
|
|
3
3
|
"description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.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.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.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
|
"uuid": "^8.3.2"
|