@mavogel/awscdk-rootmail 0.0.129 → 0.0.130
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/.jsii +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +10 -10
- package/node_modules/@aws-sdk/client-route-53/package.json +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +12 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +14 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +19 -19
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +51 -50
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +15 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +30 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +16 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +35 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/client-ses/package.json +10 -10
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/client-sso/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/package.json +9 -9
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +1 -1
- package/package.json +8 -8
package/.jsii
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudwatch-logs": "^3.
|
|
11
|
-
"@aws-sdk/client-route-53": "^3.
|
|
12
|
-
"@aws-sdk/client-s3": "^3.
|
|
13
|
-
"@aws-sdk/client-ses": "^3.
|
|
14
|
-
"@aws-sdk/client-ssm": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudwatch-logs": "^3.635.0",
|
|
11
|
+
"@aws-sdk/client-route-53": "^3.635.0",
|
|
12
|
+
"@aws-sdk/client-s3": "^3.635.0",
|
|
13
|
+
"@aws-sdk/client-ses": "^3.635.0",
|
|
14
|
+
"@aws-sdk/client-ssm": "^3.635.0",
|
|
15
15
|
"async-retry": "^1.3.3",
|
|
16
16
|
"axios": "^1.7.4",
|
|
17
|
-
"cdk-nag": "^2.28.
|
|
17
|
+
"cdk-nag": "^2.28.185",
|
|
18
18
|
"mailparser": "^3.7.1",
|
|
19
19
|
"uuid": "^9.0.1"
|
|
20
20
|
},
|
|
@@ -3877,6 +3877,6 @@
|
|
|
3877
3877
|
"symbolId": "src/ses-receive:SESReceiveProps"
|
|
3878
3878
|
}
|
|
3879
3879
|
},
|
|
3880
|
-
"version": "0.0.
|
|
3881
|
-
"fingerprint": "
|
|
3880
|
+
"version": "0.0.130",
|
|
3881
|
+
"fingerprint": "6AFZodSSYZ9S9xVn8clUVRUfFnXgBeWBOYxSQMQ1Gog="
|
|
3882
3882
|
}
|
package/lib/rootmail.js
CHANGED
|
@@ -74,7 +74,7 @@ class Rootmail extends constructs_1.Construct {
|
|
|
74
74
|
}
|
|
75
75
|
exports.Rootmail = Rootmail;
|
|
76
76
|
_a = JSII_RTTI_SYMBOL_1;
|
|
77
|
-
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.
|
|
77
|
+
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.130" };
|
|
78
78
|
/**
|
|
79
79
|
* Aspect for setting all removal policies to DESTROY
|
|
80
80
|
*/
|
package/lib/ses-receive.js
CHANGED
|
@@ -124,7 +124,7 @@ class SESReceive extends constructs_1.Construct {
|
|
|
124
124
|
}
|
|
125
125
|
exports.SESReceive = SESReceive;
|
|
126
126
|
_a = JSII_RTTI_SYMBOL_1;
|
|
127
|
-
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.
|
|
127
|
+
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.130" };
|
|
128
128
|
/**
|
|
129
129
|
* Aspect for setting all removal policies to DESTROY
|
|
130
130
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.635.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.635.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.635.0",
|
|
25
|
+
"@aws-sdk/core": "3.635.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.635.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.
|
|
37
|
+
"@smithy/core": "^2.4.0",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^3.0.6",
|
|
39
39
|
"@smithy/eventstream-serde-config-resolver": "^3.0.3",
|
|
40
40
|
"@smithy/eventstream-serde-node": "^3.0.5",
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
45
45
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.15",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.3",
|
|
49
49
|
"@smithy/node-config-provider": "^3.1.4",
|
|
50
50
|
"@smithy/node-http-handler": "^3.1.4",
|
|
51
51
|
"@smithy/protocol-http": "^4.1.0",
|
|
52
|
-
"@smithy/smithy-client": "^3.
|
|
52
|
+
"@smithy/smithy-client": "^3.2.0",
|
|
53
53
|
"@smithy/types": "^3.3.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.3",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.15",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.15",
|
|
60
60
|
"@smithy/util-endpoints": "^2.0.5",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.3",
|
|
62
62
|
"@smithy/util-retry": "^3.0.3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.635.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-route-53",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.635.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.635.0",
|
|
25
|
+
"@aws-sdk/core": "3.635.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.635.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -36,26 +36,26 @@
|
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
37
37
|
"@aws-sdk/xml-builder": "3.609.0",
|
|
38
38
|
"@smithy/config-resolver": "^3.0.5",
|
|
39
|
-
"@smithy/core": "^2.
|
|
39
|
+
"@smithy/core": "^2.4.0",
|
|
40
40
|
"@smithy/fetch-http-handler": "^3.2.4",
|
|
41
41
|
"@smithy/hash-node": "^3.0.3",
|
|
42
42
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
43
43
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
44
44
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
45
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
+
"@smithy/middleware-retry": "^3.0.15",
|
|
46
46
|
"@smithy/middleware-serde": "^3.0.3",
|
|
47
47
|
"@smithy/middleware-stack": "^3.0.3",
|
|
48
48
|
"@smithy/node-config-provider": "^3.1.4",
|
|
49
49
|
"@smithy/node-http-handler": "^3.1.4",
|
|
50
50
|
"@smithy/protocol-http": "^4.1.0",
|
|
51
|
-
"@smithy/smithy-client": "^3.
|
|
51
|
+
"@smithy/smithy-client": "^3.2.0",
|
|
52
52
|
"@smithy/types": "^3.3.0",
|
|
53
53
|
"@smithy/url-parser": "^3.0.3",
|
|
54
54
|
"@smithy/util-base64": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^3.0.15",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^3.0.15",
|
|
59
59
|
"@smithy/util-endpoints": "^2.0.5",
|
|
60
60
|
"@smithy/util-middleware": "^3.0.3",
|
|
61
61
|
"@smithy/util-retry": "^3.0.3",
|
|
@@ -1154,6 +1154,7 @@ var se_CompleteMultipartUploadCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1154
1154
|
[_xacs_]: input[_CSHAh],
|
|
1155
1155
|
[_xarp]: input[_RP],
|
|
1156
1156
|
[_xaebo]: input[_EBO],
|
|
1157
|
+
[_inm]: input[_INM],
|
|
1157
1158
|
[_xasseca]: input[_SSECA],
|
|
1158
1159
|
[_xasseck]: input[_SSECK],
|
|
1159
1160
|
[_xasseckm]: input[_SSECKMD]
|
|
@@ -2727,6 +2728,7 @@ var se_PutObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2727
2728
|
[_xacs]: input[_CSHA],
|
|
2728
2729
|
[_xacs_]: input[_CSHAh],
|
|
2729
2730
|
[_e]: [() => isSerializableHeaderValue(input[_E]), () => (0, import_smithy_client.dateToUtcString)(input[_E]).toString()],
|
|
2731
|
+
[_inm]: input[_INM],
|
|
2730
2732
|
[_xagfc]: input[_GFC],
|
|
2731
2733
|
[_xagr]: input[_GR],
|
|
2732
2734
|
[_xagra]: input[_GRACP],
|
|
@@ -33,6 +33,7 @@ export const se_CompleteMultipartUploadCommand = async (input, context) => {
|
|
|
33
33
|
[_xacs_]: input[_CSHAh],
|
|
34
34
|
[_xarp]: input[_RP],
|
|
35
35
|
[_xaebo]: input[_EBO],
|
|
36
|
+
[_inm]: input[_INM],
|
|
36
37
|
[_xasseca]: input[_SSECA],
|
|
37
38
|
[_xasseck]: input[_SSECK],
|
|
38
39
|
[_xasseckm]: input[_SSECKMD],
|
|
@@ -1608,6 +1609,7 @@ export const se_PutObjectCommand = async (input, context) => {
|
|
|
1608
1609
|
[_xacs]: input[_CSHA],
|
|
1609
1610
|
[_xacs_]: input[_CSHAh],
|
|
1610
1611
|
[_e]: [() => isSerializableHeaderValue(input[_E]), () => __dateToUtcString(input[_E]).toString()],
|
|
1612
|
+
[_inm]: input[_INM],
|
|
1611
1613
|
[_xagfc]: input[_GFC],
|
|
1612
1614
|
[_xagr]: input[_GR],
|
|
1613
1615
|
[_xagra]: input[_GRACP],
|
package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts
CHANGED
|
@@ -73,9 +73,10 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
73
73
|
* <ul>
|
|
74
74
|
* <li>
|
|
75
75
|
* <p>
|
|
76
|
-
* <b>General purpose bucket permissions</b> - For
|
|
77
|
-
*
|
|
78
|
-
*
|
|
76
|
+
* <b>General purpose bucket permissions</b> - For
|
|
77
|
+
* information about permissions required to use the multipart upload API, see
|
|
78
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and
|
|
79
|
+
* Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
79
80
|
* </li>
|
|
80
81
|
* <li>
|
|
81
82
|
* <p>
|
|
@@ -86,6 +87,13 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
86
87
|
* <code>CreateSession</code>
|
|
87
88
|
* </a>.</p>
|
|
88
89
|
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p> If you provide an <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html">additional checksum
|
|
92
|
+
* value</a> in your <code>MultipartUpload</code> requests and the
|
|
93
|
+
* object is encrypted with Key Management Service, you must have permission to use the
|
|
94
|
+
* <code>kms:Decrypt</code> action for the
|
|
95
|
+
* <code>CompleteMultipartUpload</code> request to succeed.</p>
|
|
96
|
+
* </li>
|
|
89
97
|
* </ul>
|
|
90
98
|
* </dd>
|
|
91
99
|
* <dt>Special errors</dt>
|
|
@@ -210,6 +218,7 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
210
218
|
* ChecksumSHA256: "STRING_VALUE",
|
|
211
219
|
* RequestPayer: "requester",
|
|
212
220
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
221
|
+
* IfNoneMatch: "STRING_VALUE",
|
|
213
222
|
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
214
223
|
* SSECustomerKey: "STRING_VALUE",
|
|
215
224
|
* SSECustomerKeyMD5: "STRING_VALUE",
|
package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts
CHANGED
|
@@ -70,17 +70,20 @@ declare const CreateMultipartUploadCommand_base: {
|
|
|
70
70
|
* <ul>
|
|
71
71
|
* <li>
|
|
72
72
|
* <p>
|
|
73
|
-
* <b>General purpose bucket permissions</b> -
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* must have
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
73
|
+
* <b>General purpose bucket permissions</b> - To
|
|
74
|
+
* perform a multipart upload with encryption using an Key Management Service (KMS)
|
|
75
|
+
* KMS key, the requester must have permission to the
|
|
76
|
+
* <code>kms:Decrypt</code> and <code>kms:GenerateDataKey</code> actions on
|
|
77
|
+
* the key. The requester must also have permissions for the
|
|
78
|
+
* <code>kms:GenerateDataKey</code> action for the
|
|
79
|
+
* <code>CreateMultipartUpload</code> API. Then, the requester needs
|
|
80
|
+
* permissions for the <code>kms:Decrypt</code> action on the
|
|
81
|
+
* <code>UploadPart</code> and <code>UploadPartCopy</code> APIs. These
|
|
82
|
+
* permissions are required because Amazon S3 must decrypt and read data from the
|
|
83
|
+
* encrypted file parts before it completes the multipart upload. For more
|
|
84
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data
|
|
85
|
+
* using server-side encryption with Amazon Web Services KMS</a> in the
|
|
86
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
84
87
|
* </li>
|
|
85
88
|
* <li>
|
|
86
89
|
* <p>
|
|
@@ -161,28 +161,28 @@ declare const DeleteObjectCommand_base: {
|
|
|
161
161
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
162
162
|
*
|
|
163
163
|
* @public
|
|
164
|
-
* @example To delete an object
|
|
164
|
+
* @example To delete an object (from a non-versioned bucket)
|
|
165
165
|
* ```javascript
|
|
166
|
-
* // The following example deletes an object from
|
|
166
|
+
* // The following example deletes an object from a non-versioned bucket.
|
|
167
167
|
* const input = {
|
|
168
|
-
* "Bucket": "
|
|
169
|
-
* "Key": "
|
|
168
|
+
* "Bucket": "ExampleBucket",
|
|
169
|
+
* "Key": "HappyFace.jpg"
|
|
170
170
|
* };
|
|
171
171
|
* const command = new DeleteObjectCommand(input);
|
|
172
172
|
* await client.send(command);
|
|
173
|
-
* // example id: to-delete-an-object-
|
|
173
|
+
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
|
|
174
174
|
* ```
|
|
175
175
|
*
|
|
176
|
-
* @example To delete an object
|
|
176
|
+
* @example To delete an object
|
|
177
177
|
* ```javascript
|
|
178
|
-
* // The following example deletes an object from
|
|
178
|
+
* // The following example deletes an object from an S3 bucket.
|
|
179
179
|
* const input = {
|
|
180
|
-
* "Bucket": "
|
|
181
|
-
* "Key": "
|
|
180
|
+
* "Bucket": "examplebucket",
|
|
181
|
+
* "Key": "objectkey.jpg"
|
|
182
182
|
* };
|
|
183
183
|
* const command = new DeleteObjectCommand(input);
|
|
184
184
|
* await client.send(command);
|
|
185
|
-
* // example id: to-delete-an-object-
|
|
185
|
+
* // example id: to-delete-an-object-1472850136595
|
|
186
186
|
* ```
|
|
187
187
|
*
|
|
188
188
|
*/
|
|
@@ -80,39 +80,39 @@ declare const DeleteObjectTaggingCommand_base: {
|
|
|
80
80
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
81
81
|
*
|
|
82
82
|
* @public
|
|
83
|
-
* @example To remove tag set from an object
|
|
83
|
+
* @example To remove tag set from an object
|
|
84
84
|
* ```javascript
|
|
85
|
-
* // The following example removes tag set associated with the specified object
|
|
85
|
+
* // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
|
|
86
86
|
* const input = {
|
|
87
87
|
* "Bucket": "examplebucket",
|
|
88
|
-
* "Key": "HappyFace.jpg"
|
|
89
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
88
|
+
* "Key": "HappyFace.jpg"
|
|
90
89
|
* };
|
|
91
90
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
92
91
|
* const response = await client.send(command);
|
|
93
92
|
* /* response ==
|
|
94
93
|
* {
|
|
95
|
-
* "VersionId": "
|
|
94
|
+
* "VersionId": "null"
|
|
96
95
|
* }
|
|
97
96
|
* *\/
|
|
98
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
97
|
+
* // example id: to-remove-tag-set-from-an-object-1483145342862
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
101
|
-
* @example To remove tag set from an object
|
|
100
|
+
* @example To remove tag set from an object version
|
|
102
101
|
* ```javascript
|
|
103
|
-
* // The following example removes tag set associated with the specified object.
|
|
102
|
+
* // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
|
|
104
103
|
* const input = {
|
|
105
104
|
* "Bucket": "examplebucket",
|
|
106
|
-
* "Key": "HappyFace.jpg"
|
|
105
|
+
* "Key": "HappyFace.jpg",
|
|
106
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
107
107
|
* };
|
|
108
108
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
109
109
|
* const response = await client.send(command);
|
|
110
110
|
* /* response ==
|
|
111
111
|
* {
|
|
112
|
-
* "VersionId": "
|
|
112
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
115
|
+
* // example id: to-remove-tag-set-from-an-object-version-1483145285913
|
|
116
116
|
* ```
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
@@ -276,53 +276,53 @@ declare const GetObjectCommand_base: {
|
|
|
276
276
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
277
277
|
*
|
|
278
278
|
* @public
|
|
279
|
-
* @example To retrieve
|
|
279
|
+
* @example To retrieve an object
|
|
280
280
|
* ```javascript
|
|
281
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
281
|
+
* // The following example retrieves an object for an S3 bucket.
|
|
282
282
|
* const input = {
|
|
283
283
|
* "Bucket": "examplebucket",
|
|
284
|
-
* "Key": "
|
|
285
|
-
* "Range": "bytes=0-9"
|
|
284
|
+
* "Key": "HappyFace.jpg"
|
|
286
285
|
* };
|
|
287
286
|
* const command = new GetObjectCommand(input);
|
|
288
287
|
* const response = await client.send(command);
|
|
289
288
|
* /* response ==
|
|
290
289
|
* {
|
|
291
290
|
* "AcceptRanges": "bytes",
|
|
292
|
-
* "ContentLength": "
|
|
293
|
-
* "
|
|
294
|
-
* "
|
|
295
|
-
* "
|
|
296
|
-
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
|
|
291
|
+
* "ContentLength": "3191",
|
|
292
|
+
* "ContentType": "image/jpeg",
|
|
293
|
+
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
294
|
+
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
|
|
297
295
|
* "Metadata": {},
|
|
296
|
+
* "TagCount": 2,
|
|
298
297
|
* "VersionId": "null"
|
|
299
298
|
* }
|
|
300
299
|
* *\/
|
|
301
|
-
* // example id: to-retrieve-
|
|
300
|
+
* // example id: to-retrieve-an-object-1481827837012
|
|
302
301
|
* ```
|
|
303
302
|
*
|
|
304
|
-
* @example To retrieve an object
|
|
303
|
+
* @example To retrieve a byte range of an object
|
|
305
304
|
* ```javascript
|
|
306
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
305
|
+
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
|
|
307
306
|
* const input = {
|
|
308
307
|
* "Bucket": "examplebucket",
|
|
309
|
-
* "Key": "
|
|
308
|
+
* "Key": "SampleFile.txt",
|
|
309
|
+
* "Range": "bytes=0-9"
|
|
310
310
|
* };
|
|
311
311
|
* const command = new GetObjectCommand(input);
|
|
312
312
|
* const response = await client.send(command);
|
|
313
313
|
* /* response ==
|
|
314
314
|
* {
|
|
315
315
|
* "AcceptRanges": "bytes",
|
|
316
|
-
* "ContentLength": "
|
|
317
|
-
* "
|
|
318
|
-
* "
|
|
319
|
-
* "
|
|
316
|
+
* "ContentLength": "10",
|
|
317
|
+
* "ContentRange": "bytes 0-9/43",
|
|
318
|
+
* "ContentType": "text/plain",
|
|
319
|
+
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
|
320
|
+
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
|
|
320
321
|
* "Metadata": {},
|
|
321
|
-
* "TagCount": 2,
|
|
322
322
|
* "VersionId": "null"
|
|
323
323
|
* }
|
|
324
324
|
* *\/
|
|
325
|
-
* // example id: to-retrieve-an-object
|
|
325
|
+
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
|
|
326
326
|
* ```
|
|
327
327
|
*
|
|
328
328
|
*/
|