@aws-sdk/client-mwaa 3.325.0 → 3.326.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.
@@ -31,6 +31,11 @@ export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __M
31
31
  * };
32
32
  * const command = new CreateCliTokenCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // CreateCliTokenResponse
35
+ * // CliToken: "STRING_VALUE",
36
+ * // WebServerHostname: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param CreateCliTokenCommandInput - {@link CreateCliTokenCommandInput}
@@ -42,6 +47,8 @@ export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __M
42
47
  * @throws {@link ResourceNotFoundException} (client fault)
43
48
  * <p>ResourceNotFoundException: The resource is not available.</p>
44
49
  *
50
+ * @throws {@link MWAAServiceException}
51
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
45
52
  *
46
53
  */
47
54
  export declare class CreateCliTokenCommand extends $Command<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, MWAAClientResolvedConfig> {
@@ -84,6 +84,10 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
84
84
  * };
85
85
  * const command = new CreateEnvironmentCommand(input);
86
86
  * const response = await client.send(command);
87
+ * // { // CreateEnvironmentOutput
88
+ * // Arn: "STRING_VALUE",
89
+ * // };
90
+ *
87
91
  * ```
88
92
  *
89
93
  * @param CreateEnvironmentCommandInput - {@link CreateEnvironmentCommandInput}
@@ -98,6 +102,8 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
98
102
  * @throws {@link ValidationException} (client fault)
99
103
  * <p>ValidationException: The provided input is not valid.</p>
100
104
  *
105
+ * @throws {@link MWAAServiceException}
106
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
101
107
  *
102
108
  */
103
109
  export declare class CreateEnvironmentCommand extends $Command<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, MWAAClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenRes
31
31
  * };
32
32
  * const command = new CreateWebLoginTokenCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // CreateWebLoginTokenResponse
35
+ * // WebToken: "STRING_VALUE",
36
+ * // WebServerHostname: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param CreateWebLoginTokenCommandInput - {@link CreateWebLoginTokenCommandInput}
@@ -51,6 +56,8 @@ export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenRes
51
56
  * @throws {@link ValidationException} (client fault)
52
57
  * <p>ValidationException: The provided input is not valid.</p>
53
58
  *
59
+ * @throws {@link MWAAServiceException}
60
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
54
61
  *
55
62
  */
56
63
  export declare class CreateWebLoginTokenCommand extends $Command<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, MWAAClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput,
31
31
  * };
32
32
  * const command = new DeleteEnvironmentCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteEnvironmentCommandInput - {@link DeleteEnvironmentCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput,
48
50
  * @throws {@link ValidationException} (client fault)
49
51
  * <p>ValidationException: The provided input is not valid.</p>
50
52
  *
53
+ * @throws {@link MWAAServiceException}
54
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteEnvironmentCommand extends $Command<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MWAAClientResolvedConfig> {
@@ -31,6 +31,84 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
31
31
  * };
32
32
  * const command = new GetEnvironmentCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetEnvironmentOutput
35
+ * // Environment: { // Environment
36
+ * // Name: "STRING_VALUE",
37
+ * // Status: "STRING_VALUE",
38
+ * // Arn: "STRING_VALUE",
39
+ * // CreatedAt: new Date("TIMESTAMP"),
40
+ * // WebserverUrl: "STRING_VALUE",
41
+ * // ExecutionRoleArn: "STRING_VALUE",
42
+ * // ServiceRoleArn: "STRING_VALUE",
43
+ * // KmsKey: "STRING_VALUE",
44
+ * // AirflowVersion: "STRING_VALUE",
45
+ * // SourceBucketArn: "STRING_VALUE",
46
+ * // DagS3Path: "STRING_VALUE",
47
+ * // PluginsS3Path: "STRING_VALUE",
48
+ * // PluginsS3ObjectVersion: "STRING_VALUE",
49
+ * // RequirementsS3Path: "STRING_VALUE",
50
+ * // RequirementsS3ObjectVersion: "STRING_VALUE",
51
+ * // StartupScriptS3Path: "STRING_VALUE",
52
+ * // StartupScriptS3ObjectVersion: "STRING_VALUE",
53
+ * // AirflowConfigurationOptions: { // AirflowConfigurationOptions
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // EnvironmentClass: "STRING_VALUE",
57
+ * // MaxWorkers: Number("int"),
58
+ * // NetworkConfiguration: { // NetworkConfiguration
59
+ * // SubnetIds: [ // SubnetList
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // SecurityGroupIds: [ // SecurityGroupList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // LoggingConfiguration: { // LoggingConfiguration
67
+ * // DagProcessingLogs: { // ModuleLoggingConfiguration
68
+ * // Enabled: true || false,
69
+ * // LogLevel: "STRING_VALUE",
70
+ * // CloudWatchLogGroupArn: "STRING_VALUE",
71
+ * // },
72
+ * // SchedulerLogs: {
73
+ * // Enabled: true || false,
74
+ * // LogLevel: "STRING_VALUE",
75
+ * // CloudWatchLogGroupArn: "STRING_VALUE",
76
+ * // },
77
+ * // WebserverLogs: {
78
+ * // Enabled: true || false,
79
+ * // LogLevel: "STRING_VALUE",
80
+ * // CloudWatchLogGroupArn: "STRING_VALUE",
81
+ * // },
82
+ * // WorkerLogs: {
83
+ * // Enabled: true || false,
84
+ * // LogLevel: "STRING_VALUE",
85
+ * // CloudWatchLogGroupArn: "STRING_VALUE",
86
+ * // },
87
+ * // TaskLogs: {
88
+ * // Enabled: true || false,
89
+ * // LogLevel: "STRING_VALUE",
90
+ * // CloudWatchLogGroupArn: "STRING_VALUE",
91
+ * // },
92
+ * // },
93
+ * // LastUpdate: { // LastUpdate
94
+ * // Status: "STRING_VALUE",
95
+ * // CreatedAt: new Date("TIMESTAMP"),
96
+ * // Error: { // UpdateError
97
+ * // ErrorCode: "STRING_VALUE",
98
+ * // ErrorMessage: "STRING_VALUE",
99
+ * // },
100
+ * // Source: "STRING_VALUE",
101
+ * // },
102
+ * // WeeklyMaintenanceWindowStart: "STRING_VALUE",
103
+ * // Tags: { // TagMap
104
+ * // "<keys>": "STRING_VALUE",
105
+ * // },
106
+ * // WebserverAccessMode: "STRING_VALUE",
107
+ * // MinWorkers: Number("int"),
108
+ * // Schedulers: Number("int"),
109
+ * // },
110
+ * // };
111
+ *
34
112
  * ```
35
113
  *
36
114
  * @param GetEnvironmentCommandInput - {@link GetEnvironmentCommandInput}
@@ -48,6 +126,8 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
48
126
  * @throws {@link ValidationException} (client fault)
49
127
  * <p>ValidationException: The provided input is not valid.</p>
50
128
  *
129
+ * @throws {@link MWAAServiceException}
130
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
51
131
  *
52
132
  */
53
133
  export declare class GetEnvironmentCommand extends $Command<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MWAAClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, _
32
32
  * };
33
33
  * const command = new ListEnvironmentsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListEnvironmentsOutput
36
+ * // Environments: [ // EnvironmentList // required
37
+ * // "STRING_VALUE",
38
+ * // ],
39
+ * // NextToken: "STRING_VALUE",
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param ListEnvironmentsCommandInput - {@link ListEnvironmentsCommandInput}
@@ -46,6 +53,8 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, _
46
53
  * @throws {@link ValidationException} (client fault)
47
54
  * <p>ValidationException: The provided input is not valid.</p>
48
55
  *
56
+ * @throws {@link MWAAServiceException}
57
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
49
58
  *
50
59
  */
51
60
  export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, MWAAClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceOutput
35
+ * // Tags: { // TagMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +54,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
48
54
  * @throws {@link ValidationException} (client fault)
49
55
  * <p>ValidationException: The provided input is not valid.</p>
50
56
  *
57
+ * @throws {@link MWAAServiceException}
58
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
51
59
  *
52
60
  */
53
61
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MWAAClientResolvedConfig> {
@@ -52,6 +52,8 @@ export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __Met
52
52
  * };
53
53
  * const command = new PublishMetricsCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // {};
56
+ *
55
57
  * ```
56
58
  *
57
59
  * @param PublishMetricsCommandInput - {@link PublishMetricsCommandInput}
@@ -66,6 +68,8 @@ export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __Met
66
68
  * @throws {@link ValidationException} (client fault)
67
69
  * <p>ValidationException: The provided input is not valid.</p>
68
70
  *
71
+ * @throws {@link MWAAServiceException}
72
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
69
73
  *
70
74
  */
71
75
  export declare class PublishMetricsCommand extends $Command<PublishMetricsCommandInput, PublishMetricsCommandOutput, MWAAClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>ValidationException: The provided input is not valid.</p>
53
55
  *
56
+ * @throws {@link MWAAServiceException}
57
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
54
58
  *
55
59
  */
56
60
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MWAAClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>ValidationException: The provided input is not valid.</p>
53
55
  *
56
+ * @throws {@link MWAAServiceException}
57
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MWAAClientResolvedConfig> {
@@ -77,6 +77,10 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
77
77
  * };
78
78
  * const command = new UpdateEnvironmentCommand(input);
79
79
  * const response = await client.send(command);
80
+ * // { // UpdateEnvironmentOutput
81
+ * // Arn: "STRING_VALUE",
82
+ * // };
83
+ *
80
84
  * ```
81
85
  *
82
86
  * @param UpdateEnvironmentCommandInput - {@link UpdateEnvironmentCommandInput}
@@ -94,6 +98,8 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
94
98
  * @throws {@link ValidationException} (client fault)
95
99
  * <p>ValidationException: The provided input is not valid.</p>
96
100
  *
101
+ * @throws {@link MWAAServiceException}
102
+ * <p>Base exception class for all service exceptions from MWAA service.</p>
97
103
  *
98
104
  */
99
105
  export declare class UpdateEnvironmentCommand extends $Command<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, MWAAClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mwaa",
3
3
  "description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",