Skip to content

Commit 010375f

Browse files
github-actions[bot]Gautam Kumar
andauthored
Fix typos and grammar in s3 examples (aws#10437)
Co-authored-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
1 parent 0bf5ed6 commit 010375f

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎awscli/examples/s3/_concepts.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ are two types of path arguments: ``LocalPath`` and ``S3Uri``.
1313
``LocalPath``: represents the path of a local file or directory. It can be
1414
written as an absolute path or relative path.
1515

16-
``S3Uri``: represents the location of a S3 object, prefix, or bucket. This
16+
``S3Uri``: represents the location of an S3 object, prefix, or bucket. This
1717
must be written in the form ``s3://amzn-s3-demo-bucket/mykey`` where ``amzn-s3-demo-bucket`` is
1818
the specified S3 bucket, ``mykey`` is the specified S3 key. The path argument
1919
must begin with ``s3://`` in order to denote that the path argument refers to
20-
a S3 object. Note that prefixes are separated by forward slashes. For
20+
an S3 object. Note that prefixes are separated by forward slashes. For
2121
example, if the S3 object ``myobject`` had the prefix ``myprefix``, the
2222
S3 key would be ``myprefix/myobject``, and if the object was in the bucket
2323
``amzn-s3-demo-bucket``, the ``S3Uri`` would be ``s3://amzn-s3-demo-bucket/myprefix/myobject``.

‎awscli/examples/s3/cp.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Output::
2323

2424
**Example 3: Copying a file from S3 to S3**
2525

26-
The following ``cp`` command copies a single s3 object to a specified bucket and key::
26+
The following ``cp`` command copies a single S3 object to a specified bucket and key::
2727

2828
aws s3 cp s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt
2929

‎awscli/examples/s3/ls.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Example 1: Listing all user owned buckets**
22

3-
The following ``ls`` command lists all of the bucket owned by the user. In this example, the user owns the buckets ``amzn-s3-demo-bucket`` and ``amzn-s3-demo-bucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ``<S3Uri>``, it will list all of the buckets as well. ::
3+
The following ``ls`` command lists all of the buckets owned by the user. In this example, the user owns the buckets ``amzn-s3-demo-bucket`` and ``amzn-s3-demo-bucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ``<S3Uri>``, it will list all of the buckets as well. ::
44

55
aws s3 ls
66

@@ -77,7 +77,7 @@ Output::
7777

7878
**Example 6: Listing from an S3 access point**
7979

80-
The following ``ls`` command list objects from access point (``myaccesspoint``)::
80+
The following ``ls`` command lists objects from access point (``myaccesspoint``)::
8181

8282
aws s3 ls s3://arn:aws:s3:us-west-2:123456789012:accesspoint/myaccesspoint/
8383

‎awscli/examples/s3/mv.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Output::
1010

1111
**Example 2: Move an object to the specified bucket and key**
1212

13-
The following ``mv`` command moves a single s3 object to a specified bucket and key. ::
13+
The following ``mv`` command moves a single S3 object to a specified bucket and key. ::
1414

1515
aws s3 mv s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt
1616

@@ -28,7 +28,7 @@ Output::
2828

2929
move: s3://amzn-s3-demo-bucket/test.txt to test2.txt
3030

31-
**Example 4: Move an object with it's original name to the specified bucket**
31+
**Example 4: Move an object with its original name to the specified bucket**
3232

3333
The following ``mv`` command moves a single object to a specified bucket while retaining its original name::
3434

‎awscli/examples/s3/presign.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The following ``presign`` command generates a pre-signed URL for a specified buc
66

77
Output::
88

9-
https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456
9+
https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMPLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456
1010

1111
**Example 2: To create a pre-signed URL with a custom lifetime that links to an object in an S3 bucket**
1212

@@ -17,6 +17,6 @@ The following ``presign`` command generates a pre-signed URL for a specified buc
1717

1818
Output::
1919

20-
https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456
20+
https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMPLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456
2121

22-
For more information, see `Share an Object with Others <https://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html>`__ in the *S3 Developer Guide* guide.
22+
For more information, see `Share an Object with Others <https://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html>`__ in the *Amazon S3 Developer Guide*.

‎awscli/examples/s3/rm.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Example 1: Delete an S3 object**
22

3-
The following ``rm`` command deletes a single s3 object::
3+
The following ``rm`` command deletes a single S3 object::
44

55
aws s3 rm s3://amzn-s3-demo-bucket/test2.txt
66

0 commit comments

Comments
 (0)