Skip to content

Commit b5ce4a8

Browse files
committed
Adds metadata for the S3 Service and puts it into the Presigned URL scenario.
1 parent 2b9da46 commit b5ce4a8

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.doc_gen/metadata/s3_metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,6 +2780,7 @@ s3_Scenario_PresignedUrl:
27802780
excerpts:
27812781
- snippet_tags:
27822782
- s3.php.presigned_url.complete
2783+
- php.example_code.s3.service.S3Service
27832784
services:
27842785
s3: {}
27852786
s3_Scenario_ObjectVersioningUsage:

php/example_code/s3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Code excerpts that show you how to call individual service functions.
5858
Code examples that show you how to accomplish a specific task by calling multiple
5959
functions within the same service.
6060

61-
- [Create a presigned URL](PresignedURL.php)
61+
- [Create a presigned URL](S3Service.php)
6262
- [Create a serverless application to manage photos](../../applications/photo_asset_manager)
6363

6464

php/example_code/s3/S3Service.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44

5+
// snippet-start:[php.example_code.s3.service.S3Service]
6+
57
namespace S3;
68

79
use Aws\CommandInterface;
@@ -282,3 +284,5 @@ public function preSignedUrl(CommandInterface $command, DateTimeInterface|int|st
282284
}
283285
// snippet-end:[php.example_code.s3.service.preSignedUrl]
284286
}
287+
288+
// snippet-end:[php.example_code.s3.service.S3Service]

0 commit comments

Comments
 (0)