Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions awscli/bcdoc/restdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ class DocumentStructure(ReSTDocument):
def __init__(self, name, section_names=None, target='man', context=None):
"""Provides a Hierarichial structure to a ReSTDocument

You can write to it similiar to as you can to a ReSTDocument but
You can write to it similar to as you can to a ReSTDocument but
has an innate structure for more orginaztion and abstraction.

:param name: The name of the document
:param section_names: A list of sections to be included
in the document.
:param target: The target documentation of the Document structure
:param context: A dictionary of data to store with the strucuture. These
:param context: A dictionary of data to store with the structure. These
are only stored per section not the entire structure.
"""
super(DocumentStructure, self).__init__(target=target)
Expand Down Expand Up @@ -187,7 +187,7 @@ def add_new_section(self, name, context=None):
as well

:param name: The name of the section.
:param context: A dictionary of data to store with the strucuture. These
:param context: A dictionary of data to store with the structure. These
are only stored per section not the entire structure.
:rtype: DocumentStructure
:returns: A new document structure to add to but lives as a section
Expand All @@ -197,7 +197,7 @@ def add_new_section(self, name, context=None):
section = self.__class__(name=name, target=self.target,
context=context)
section.path = self.path + [name]
# Indent the section apporpriately as well
# Indent the section appropriately as well
section.style.indentation = self.style.indentation
section.translation_map = self.translation_map
section.hrefs = self.hrefs
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/awslambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def add_to_params(self, parameters, value):


class ReplacedZipFileArgument(CLIArgument):
"""A replacement arugment for nested ZipFile argument.
"""A replacement argument for nested ZipFile argument.

This prevents the use of a non-working nested argument that expects binary.
Instead an instance of ZipFileArgument should be injected at the top level
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/cloudtrail/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def create_digest_traverser(
currently associated with the trail.
:param account_id: The account id for which the digest files are
validated. For normal trails this is the caller account, for
organization trails it is the member accout.
organization trails it is the member account.

``on_gap``, ``on_invalid``, and ``on_missing`` callbacks are invoked with
the following named arguments:
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse_last_evaluated_key_binary(parsed, **kwargs):
# a base64 string if a binary field is present in the continuation token
# as is the case with dynamodb the binary will be double encoded. This
# ensures that the continuation token is properly converted to binary to
# avoid double encoding the contination token.
# avoid double encoding the continuation token.
last_evaluated_key = parsed.get('LastEvaluatedKey', None)
if last_evaluated_key is None:
return
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/emr/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class EmptyListError(EmrError):

:ivar param: The provided list parameter
"""
fmt = ('aws: error: The prameter {param} cannot be an empty list.')
fmt = ('aws: error: The parameter {param} cannot be an empty list.')


class MissingRequiredInstanceGroupsError(EmrError):
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/s3/comparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, file_at_src_and_dest_sync_strategy,

def call(self, src_files, dest_files):
"""
This function preforms the actual comparisons. The parameters it takes
This function performs the actual comparisons. The parameters it takes
are the generated files for both the source and the destination. The
key concept in this function is that no matter the type of where the
files are coming from, they are listed in the same order, least to
Expand Down
4 changes: 2 additions & 2 deletions awscli/customizations/s3/fileformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ def local_format(self, path, dir_op):
2) If the path of the destination exists and is a directory it
will always use the name of the source file.
3) If the destination path ends with the appropriate operating
system seperator but is not an existing directory, the
system separator but is not an existing directory, the
appropriate directories will be made and the file will use the
source's name.
4) If the destination path does not end with the appropriate
operating system seperator and is not an existing directory, the
operating system separator and is not an existing directory, the
appropriate directories will be created and the file name will
be of the one provided.
"""
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/apigateway/get-export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Command::

aws apigateway get-export --rest-api-id a1b2c3d4e5 --stage-name dev --export-type swagger /path/to/filename.json

**To get the JSON Swagger template + API Gateway Extentions for a stage**
**To get the JSON Swagger template + API Gateway Extensions for a stage**

Command::

Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/apigatewayv2/get-api-mapping.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To get information about an API mapping for a custom domain name**

The following ``get-api-mapping`` example displays infomation about an API mapping for the ``api.example.com`` custom domain name. ::
The following ``get-api-mapping`` example displays information about an API mapping for the ``api.example.com`` custom domain name. ::

aws apigatewayv2 get-api-mapping \
--api-mapping-id a1b2c3 \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**To retreive hosted configuration details**
**To retrieve hosted configuration details**

The following ``get-hosted-configuration-version`` example retrieves the configuration details of the AWS AppConfig hosted configuration. ::

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To delete a scheduled action**

The follwing ``delete-scheduled-action`` example deletes the specified scheduled action from the specified Amazon AppStream 2.0 fleet::
The following ``delete-scheduled-action`` example deletes the specified scheduled action from the specified Amazon AppStream 2.0 fleet::

aws application-autoscaling delete-scheduled-action \
--service-namespace appstream \
Expand Down
4 changes: 2 additions & 2 deletions awscli/examples/autoscaling/create-launch-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ This command produces no output.

For more information, see `Creating a launch configuration <https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html>`__ in the *Amazon EC2 Auto Scaling User Guide*.

**Example 2: To create a launch configuration with a security group, key pair, and bootrapping script**
**Example 2: To create a launch configuration with a security group, key pair, and bootstrapping script**

This example creates a launch configuration with a security group, a key pair, and a bootrapping script contained in the user data. ::
This example creates a launch configuration with a security group, a key pair, and a bootstrapping script contained in the user data. ::

aws autoscaling create-launch-configuration \
--launch-configuration-name my-lc \
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/codeguru-reviewer/list-recommendations.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To list the recommendations for a completed code review**

The following ``list-recommendations`` example lists the recommendations for a comleted code review. This code review has one recommendations. ::
The following ``list-recommendations`` example lists the recommendations for a completed code review. This code review has one recommendations. ::

aws codeguru-reviewer list-recommendations \
--code-review-arn arn:aws:codeguru-reviewer:us-west-2:544120495673:code-review:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/comprehend/put-resource-policy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The policy is attached to the model in account ``111122223333`` and allows accou
--resource-arn arn:aws:comprehend:us-west-2:111122223333:document-classifier/example-classifier/version/1 \
--resource-policy '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":"comprehend:ImportModel","Resource":"*","Principal":{"AWS":["arn:aws:iam::444455556666:root"]}}]}'

Ouput::
Output::

{
"PolicyRevisionId": "aaa111d069d07afaa2aa3106aEXAMPLE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Contents of ``SampleFeedback1.txt``::

Contents of ``SampleFeedback2.txt``::

"Hi, I have a discrepancy with my new bill. Could we get it sorted out? A rep added stuff I didnt sign up for when I did my AnyPhone 10 upgrade. | We can absolutely get this sorted!"
"Hi, I have a discrepancy with my new bill. Could we get it sorted out? A rep added stuff I didn't sign up for when I did my AnyPhone 10 upgrade. | We can absolutely get this sorted!"

Contents of ``SampleFeedback3.txt``::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Output::
"JobStatus": "SUBMITTED"
}

Contents of ``output.txt`` with line indents for readibility::
Contents of ``output.txt`` with line indents for readability::

{
"File": "SampleText1.txt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Contents of ``SampleMovieReview2.txt.out`` line indents for readability::
"Line": 0
}

Contents of ``SampleMovieReview3.txt.out`` with line indents for readibility::
Contents of ``SampleMovieReview3.txt.out`` with line indents for readability::

{
"Entities": [
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/deploy/tag-resource.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**To tag a resoure (application)**
**To tag a resource (application)**

The following ``tag-resource`` example adds two tags with keys Name and Type, and values testName and testType to an application named testApp in CodeDeploy.::

Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/dms/describe-schemas.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**To desscribe database schemas**
**To describe database schemas**

The following ``describe-schemas`` example lists the available tables at an endpoint. ::

Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/ec2/create-verified-access-endpoint.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To create a Verified Access endpoint**

The following ``create-verified-access-endpoint`` example creates a Verified Access endpoint for the speciied Verified Access group. The specified network interface and security group must belong to the same VPC. ::
The following ``create-verified-access-endpoint`` example creates a Verified Access endpoint for the specified Verified Access group. The specified network interface and security group must belong to the same VPC. ::

aws ec2 create-verified-access-endpoint \
--verified-access-group-id vagr-0dbe967baf14b7235 \
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/ec2/describe-addresses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The following ``describe-addresses`` example displays details about the Elastic

**Example 5: To retrieve details about Elastic IP addresses in EC2-Classic**

TThe following ``describe-addresses`` example displays details about your Elastic IP addresses for use in EC2-Classic. ::
The following ``describe-addresses`` example displays details about your Elastic IP addresses for use in EC2-Classic. ::

aws ec2 describe-addresses \
--filters "Name=domain,Values=standard"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To unassign a private IP address from your private NAT gateway**

The following ``unassign-private-nat-gateway-address`` example unassigns the specifed IP address from the specified private NAT gateway. ::
The following ``unassign-private-nat-gateway-address`` example unassigns the specified IP address from the specified private NAT gateway. ::

aws ec2 unassign-private-nat-gateway-address \
--nat-gateway-id nat-1234567890abcdef0 \
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/ecr/describe-images.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To describe an image in a repository**

The folowing ``describe-images`` example displays details about an image in the ``cluster-autoscaler`` repository with the tag ``v1.13.6``. ::
The following ``describe-images`` example displays details about an image in the ``cluster-autoscaler`` repository with the tag ``v1.13.6``. ::

aws ecr describe-images \
--repository-name cluster-autoscaler \
Expand Down
4 changes: 2 additions & 2 deletions awscli/examples/ecs/describe-tasks.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Exampe 1: To describe a single task tasks**
**Example 1: To describe a single task tasks**

The following ``describe-tasks`` example retrieves the details of a task in a cluster. You can specify the task by using either the ID or full ARN of the task. This example uses the full ARN of the task. ::

Expand Down Expand Up @@ -77,7 +77,7 @@ Output::

For more information, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html>`__ in the *Amazon ECS Developer Guide*.

**Exampe 2: To describe multiple tasks**
**Example 2: To describe multiple tasks**

The following ``describe-tasks`` example retrieves the details of multiple tasks in a cluster. You can specify the task by using either the ID or full ARN of the task. This example uses the full IDs of the tasks. ::

Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/ecs/update-cluster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Output::
}


**Example 2: Update ECS cluster to set a default Service Connect namspace**
**Example 2: Update ECS cluster to set a default Service Connect namespace**

The following ``update-cluster`` updates ECS cluster by setting a default Service Connect namespace. ::

Expand Down
4 changes: 2 additions & 2 deletions awscli/examples/eks/create-addon.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Example 1: To create an Amazon EKS add-on with default compatibile version for the respective EKS cluster version**
**Example 1: To create an Amazon EKS add-on with default compatible version for the respective EKS cluster version**

The following ``create-addon`` example command creates an Amazon EKS add-on with default compatibile version for the respective EKS cluster version. ::
The following ``create-addon`` example command creates an Amazon EKS add-on with default compatible version for the respective EKS cluster version. ::

aws eks create-addon \
--cluster-name my-eks-cluster \
Expand Down
8 changes: 4 additions & 4 deletions awscli/examples/eks/describe-addon-versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Output::

For more information, see `Managing Amazon EKS add-ons - Creating an add-on <https://docs.aws.amazon.com/eks/latest/userguide/managing-add-ons.html#creating-an-add-on>`__ in the *Amazon EKS User Guide*.

**Example 2: List all the available addons for specified Kubernetes version suppoerted for EKS**
**Example 2: List all the available addons for specified Kubernetes version supported for EKS**

The following ``describe-addon-versions`` example list all the available addons for specified Kubernetes version suppoerted for EKS. ::
The following ``describe-addon-versions`` example list all the available addons for specified Kubernetes version supported for EKS. ::

aws eks describe-addon-versions \
--kubernetes-version=1.26 \
Expand Down Expand Up @@ -102,9 +102,9 @@ Output::

For more information, see `Managing Amazon EKS add-ons - Creating an add-on <https://docs.aws.amazon.com/eks/latest/userguide/managing-add-ons.html#creating-an-add-on>`__ in the *Amazon EKS User Guide*.

**Example 3: List all the available vpc-cni addons version for specified Kubernetes version suppoerted for EKS**
**Example 3: List all the available vpc-cni addons version for specified Kubernetes version supported for EKS**

The following ``describe-addon-versions`` example list all the available vpc-cni addons version for specified Kubernetes version suppoerted for EKS. ::
The following ``describe-addon-versions`` example list all the available vpc-cni addons version for specified Kubernetes version supported for EKS. ::

aws eks describe-addon-versions \
--kubernetes-version=1.26 \
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/elbv2/describe-target-groups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Output::
"my-lambda-target"
]

For more information, see `Target groups <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html>`__ in the *Applicaion Load Balancers Guide*.
For more information, see `Target groups <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html>`__ in the *Application Load Balancers Guide*.
2 changes: 1 addition & 1 deletion awscli/examples/elbv2/modify-target-group.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Output::
]
}

For more information, see `Target groups <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html>`__ in the *Applicaion Load Balancers Guide*.
For more information, see `Target groups <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html>`__ in the *Application Load Balancers Guide*.
2 changes: 1 addition & 1 deletion awscli/examples/gamelift/describe-fleet-events.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To request events for a specified time span**

The following ``describe-fleet-events`` example diplays details of all fleet-related events that occurred during the specified time span. ::
The following ``describe-fleet-events`` example displays details of all fleet-related events that occurred during the specified time span. ::

aws gamelift describe-fleet-events \
--fleet-id arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**To retreive information about a specific version of a connector definition**
**To retrieve information about a specific version of a connector definition**

The following ``get-connector-definition-version`` example retrieves information about the specified version of the specified connector definition. To retrieve the IDs of all versions of the connector definition, use the ``list-connector-definition-versions`` command. To retrieve the ID of the last version added to the connector definition, use the ``get-connector-definition`` command and check the ``LatestVersion`` property. ::

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To list the versions of a Greengrass core definition**

The following ``list-core-definitions`` example lists all versions of the specied Greengrass core definition. You can use the ``list-core-definitions`` command to get the version ID. ::
The following ``list-core-definitions`` example lists all versions of the specified Greengrass core definition. You can use the ``list-core-definitions`` command to get the version ID. ::

aws greengrass list-core-definition-versions \
--core-definition-id "eaf280cb-138c-4d15-af36-6f681a1348f7"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**To disassociate from your current administrator account in the current region**

The following ``disassociate-from-master-account`` example dissassociates your account from the current GuardDuty administrator account in the current AWS region. ::
The following ``disassociate-from-master-account`` example disassociates your account from the current GuardDuty administrator account in the current AWS region. ::

aws guardduty disassociate-from-master-account \
--detector-id d4b040365221be2b54a6264dcexample
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/inspector2/list-coverage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Output::

**Example 2: To list coverage details about the Lambda function resource type**

The following ``list-coverage`` example lists your Lamda function resource type details. ::
The following ``list-coverage`` example lists your Lambda function resource type details. ::

aws inspector2 list-coverage
--filter-criteria '{"resourceType":[{"comparison":"EQUALS","value":"AWS_LAMBDA_FUNCTION"}]}'
Expand Down
2 changes: 1 addition & 1 deletion awscli/examples/iot/create-keys-and-certificate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Output::
}
}

For more infomration, see `Create and Register an AWS IoT Device Certificate <https://docs.aws.amazon.com/iot/latest/developerguide/device-certs-create.html>`__ in the **AWS IoT Developer Guide**.
For more information, see `Create and Register an AWS IoT Device Certificate <https://docs.aws.amazon.com/iot/latest/developerguide/device-certs-create.html>`__ in the **AWS IoT Developer Guide**.
Loading