@@ -293,6 +293,18 @@ s3_CopyObject:
293293 - description : Copy the object.
294294 snippet_tags :
295295 - s3.JavaScript.buckets.copyObjectV3
296+ - description : Copy the object on condition its ETag does not match the one provided.
297+ snippet_files :
298+ - javascriptv3/example_code/s3/actions/copy-object-conditional-request-if-match.js
299+ - description : Copy the object on condition its ETag does not match the one provided.
300+ snippet_files :
301+ - javascriptv3/example_code/s3/actions/copy-object-conditional-request-if-none-match.js
302+ - description : Copy the object using on condition it has been created or modified in a given timeframe.
303+ snippet_files :
304+ - javascriptv3/example_code/s3/actions/copy-object-conditional-request-if-modified-since.js
305+ - description : Copy the object using on condition it has not been created or modified in a given timeframe.
306+ snippet_files :
307+ - javascriptv3/example_code/s3/actions/copy-object-conditional-request-if-unmodified-since.js
296308 PHP :
297309 versions :
298310 - sdk_version : 3
@@ -951,6 +963,18 @@ s3_GetObject:
951963 - description : Download the object.
952964 snippet_tags :
953965 - s3.JavaScript.buckets.getobjectV3
966+ - description : Download the object on condition its ETag does not match the one provided.
967+ snippet_files :
968+ - javascriptv3/example_code/s3/actions/get-object-conditional-request-if-match.js
969+ - description : Download the object on condition its ETag does not match the one provided.
970+ snippet_files :
971+ - javascriptv3/example_code/s3/actions/get-object-conditional-request-if-none-match.js
972+ - description : Download the object using on condition it has been created or modified in a given timeframe.
973+ snippet_files :
974+ - javascriptv3/example_code/s3/actions/get-object-conditional-request-if-modified-since.js
975+ - description : Download the object using on condition it has not been created or modified in a given timeframe.
976+ snippet_files :
977+ - javascriptv3/example_code/s3/actions/get-object-conditional-request-if-unmodified-since.js
954978 Ruby :
955979 versions :
956980 - sdk_version : 3
@@ -1602,6 +1626,9 @@ s3_PutObject:
16021626 - description : Upload the object.
16031627 snippet_tags :
16041628 - s3.JavaScript.buckets.uploadV3
1629+ - description : Upload the object on condition its ETag matches the one provided.
1630+ snippet_files :
1631+ - javascriptv3/example_code/s3/actions/get-object-conditional-request-if-match.js
16051632 Ruby :
16061633 versions :
16071634 - sdk_version : 3
@@ -3617,6 +3644,29 @@ s3_Scenario_ConditionalRequests:
36173644 - description : A wrapper class for S3 functions.
36183645 snippet_tags :
36193646 - S3ConditionalRequests.dotnetv3.S3ActionsWrapper
3647+ JavaScript :
3648+ versions :
3649+ - sdk_version : 3
3650+ github : javascriptv3/example_code/s3/scenarios/conditional-requests
3651+ sdkguide :
3652+ excerpts :
3653+ - description : |
3654+ Entrypoint for the workflow (<noloc>index.js</noloc>). This orchestrates all of the steps.
3655+ Visit GitHub to see the implementation details for Scenario, ScenarioInput, ScenarioOutput, and ScenarioAction.
3656+ snippet_files:
3657+ - javascriptv3/example_code/s3/scenarios/conditional-requests/index.js
3658+ - description : Output welcome messages to the console (<noloc>welcome.steps.js</noloc>).
3659+ snippet_files :
3660+ - javascriptv3/example_code/s3/scenarios/conditional-requests/welcome.steps.js
3661+ - description : Deploy buckets and objects (<noloc>setup.steps.js</noloc>).
3662+ snippet_files :
3663+ - javascriptv3/example_code/s3/scenarios/conditional-requests/setup.steps.js
3664+ - description : Get, copy, and put objects using S3 conditional requests (<noloc>repl.steps.js</noloc>).
3665+ snippet_files :
3666+ - javascriptv3/example_code/s3/scenarios/conditional-requests/repl.steps.js
3667+ - description : Destroy all created resources (<noloc>clean.steps.js</noloc>).
3668+ snippet_files :
3669+ - javascriptv3/example_code/s3/scenarios/conditional-requests/clean.steps.js
36203670 services :
36213671 s3 : {GetObject, PutObject, CopyObject}
36223672s3_Scenario_DownloadS3Directory :
0 commit comments