diff --git a/awscli/bcdoc/restdoc.py b/awscli/bcdoc/restdoc.py index d194d0e9f0ac..b44a8c3c1466 100644 --- a/awscli/bcdoc/restdoc.py +++ b/awscli/bcdoc/restdoc.py @@ -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) @@ -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 @@ -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 diff --git a/awscli/customizations/awslambda.py b/awscli/customizations/awslambda.py index d373881a383f..73df5f4fa1ab 100644 --- a/awscli/customizations/awslambda.py +++ b/awscli/customizations/awslambda.py @@ -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 diff --git a/awscli/customizations/cloudtrail/validation.py b/awscli/customizations/cloudtrail/validation.py index 6009a286be0b..9e33eef5216b 100644 --- a/awscli/customizations/cloudtrail/validation.py +++ b/awscli/customizations/cloudtrail/validation.py @@ -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: diff --git a/awscli/customizations/dynamodb.py b/awscli/customizations/dynamodb.py index 83bd5685f579..2d22b6f1bb4f 100644 --- a/awscli/customizations/dynamodb.py +++ b/awscli/customizations/dynamodb.py @@ -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 diff --git a/awscli/customizations/emr/exceptions.py b/awscli/customizations/emr/exceptions.py index 9aba3d053331..070ebcf9eeab 100644 --- a/awscli/customizations/emr/exceptions.py +++ b/awscli/customizations/emr/exceptions.py @@ -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): diff --git a/awscli/customizations/s3/comparator.py b/awscli/customizations/s3/comparator.py index efe49c63a120..bc29b438911d 100644 --- a/awscli/customizations/s3/comparator.py +++ b/awscli/customizations/s3/comparator.py @@ -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 diff --git a/awscli/customizations/s3/fileformat.py b/awscli/customizations/s3/fileformat.py index ef15fd6785af..f7452aa7af1e 100644 --- a/awscli/customizations/s3/fileformat.py +++ b/awscli/customizations/s3/fileformat.py @@ -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. """ diff --git a/awscli/examples/apigateway/get-export.rst b/awscli/examples/apigateway/get-export.rst index 557424024d41..1b329726f8c2 100644 --- a/awscli/examples/apigateway/get-export.rst +++ b/awscli/examples/apigateway/get-export.rst @@ -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:: diff --git a/awscli/examples/apigatewayv2/get-api-mapping.rst b/awscli/examples/apigatewayv2/get-api-mapping.rst index 46ac4f368d4a..16b5b3372cc2 100644 --- a/awscli/examples/apigatewayv2/get-api-mapping.rst +++ b/awscli/examples/apigatewayv2/get-api-mapping.rst @@ -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 \ diff --git a/awscli/examples/appconfig/get-hosted-configuration-version.rst b/awscli/examples/appconfig/get-hosted-configuration-version.rst index 2200b1245d03..051acae0425b 100644 --- a/awscli/examples/appconfig/get-hosted-configuration-version.rst +++ b/awscli/examples/appconfig/get-hosted-configuration-version.rst @@ -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. :: diff --git a/awscli/examples/application-autoscaling/delete-scheduled-action.rst b/awscli/examples/application-autoscaling/delete-scheduled-action.rst index 6f3aacaf7120..874e43bc28a4 100644 --- a/awscli/examples/application-autoscaling/delete-scheduled-action.rst +++ b/awscli/examples/application-autoscaling/delete-scheduled-action.rst @@ -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 \ diff --git a/awscli/examples/autoscaling/create-launch-configuration.rst b/awscli/examples/autoscaling/create-launch-configuration.rst index 213f10fbeb87..51a566c0b3b1 100644 --- a/awscli/examples/autoscaling/create-launch-configuration.rst +++ b/awscli/examples/autoscaling/create-launch-configuration.rst @@ -11,9 +11,9 @@ This command produces no output. For more information, see `Creating a launch configuration `__ 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 \ diff --git a/awscli/examples/codeguru-reviewer/list-recommendations.rst b/awscli/examples/codeguru-reviewer/list-recommendations.rst index 6150030ab7b3..e6ff058f4cda 100644 --- a/awscli/examples/codeguru-reviewer/list-recommendations.rst +++ b/awscli/examples/codeguru-reviewer/list-recommendations.rst @@ -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 diff --git a/awscli/examples/comprehend/put-resource-policy.rst b/awscli/examples/comprehend/put-resource-policy.rst index d9ad31129654..60a2a57e2423 100644 --- a/awscli/examples/comprehend/put-resource-policy.rst +++ b/awscli/examples/comprehend/put-resource-policy.rst @@ -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" diff --git a/awscli/examples/comprehend/start-entities-detection-job.rst b/awscli/examples/comprehend/start-entities-detection-job.rst index 5b7ee142e2a1..87259cc35fee 100644 --- a/awscli/examples/comprehend/start-entities-detection-job.rst +++ b/awscli/examples/comprehend/start-entities-detection-job.rst @@ -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``:: diff --git a/awscli/examples/comprehend/start-key-phrases-detection-job.rst b/awscli/examples/comprehend/start-key-phrases-detection-job.rst index 07b3acbc0072..47038d714454 100644 --- a/awscli/examples/comprehend/start-key-phrases-detection-job.rst +++ b/awscli/examples/comprehend/start-key-phrases-detection-job.rst @@ -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", diff --git a/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst b/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst index 022cfb0920ee..6ccffade77f7 100644 --- a/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst +++ b/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst @@ -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": [ diff --git a/awscli/examples/deploy/tag-resource.rst b/awscli/examples/deploy/tag-resource.rst index fef3ae6e140e..c812fe98fcc9 100644 --- a/awscli/examples/deploy/tag-resource.rst +++ b/awscli/examples/deploy/tag-resource.rst @@ -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.:: diff --git a/awscli/examples/dms/describe-schemas.rst b/awscli/examples/dms/describe-schemas.rst index 95dadac3553b..9949b311373e 100644 --- a/awscli/examples/dms/describe-schemas.rst +++ b/awscli/examples/dms/describe-schemas.rst @@ -1,4 +1,4 @@ -**To desscribe database schemas** +**To describe database schemas** The following ``describe-schemas`` example lists the available tables at an endpoint. :: diff --git a/awscli/examples/ec2/create-verified-access-endpoint.rst b/awscli/examples/ec2/create-verified-access-endpoint.rst index 680f982574b3..6a08d5ab1f6d 100644 --- a/awscli/examples/ec2/create-verified-access-endpoint.rst +++ b/awscli/examples/ec2/create-verified-access-endpoint.rst @@ -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 \ diff --git a/awscli/examples/ec2/describe-addresses.rst b/awscli/examples/ec2/describe-addresses.rst index 4dabe985bc23..8c10d457544d 100644 --- a/awscli/examples/ec2/describe-addresses.rst +++ b/awscli/examples/ec2/describe-addresses.rst @@ -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" diff --git a/awscli/examples/ec2/unassign-private-nat-gateway-address.rst b/awscli/examples/ec2/unassign-private-nat-gateway-address.rst index 68cd2890efab..9bad4eca6552 100644 --- a/awscli/examples/ec2/unassign-private-nat-gateway-address.rst +++ b/awscli/examples/ec2/unassign-private-nat-gateway-address.rst @@ -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 \ diff --git a/awscli/examples/ecr/describe-images.rst b/awscli/examples/ecr/describe-images.rst index b4058f63f865..af24e49665bd 100644 --- a/awscli/examples/ecr/describe-images.rst +++ b/awscli/examples/ecr/describe-images.rst @@ -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 \ diff --git a/awscli/examples/ecs/describe-tasks.rst b/awscli/examples/ecs/describe-tasks.rst index 7e66c0867f33..5c9f7fa664c9 100644 --- a/awscli/examples/ecs/describe-tasks.rst +++ b/awscli/examples/ecs/describe-tasks.rst @@ -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. :: @@ -77,7 +77,7 @@ Output:: For more information, see `Amazon ECS Task Definitions `__ 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. :: diff --git a/awscli/examples/ecs/update-cluster.rst b/awscli/examples/ecs/update-cluster.rst index 68e106545fad..4bd1c90bcc4a 100644 --- a/awscli/examples/ecs/update-cluster.rst +++ b/awscli/examples/ecs/update-cluster.rst @@ -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. :: diff --git a/awscli/examples/eks/create-addon.rst b/awscli/examples/eks/create-addon.rst index 21ca920a100d..e7a55cddcfd1 100644 --- a/awscli/examples/eks/create-addon.rst +++ b/awscli/examples/eks/create-addon.rst @@ -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 \ diff --git a/awscli/examples/eks/describe-addon-versions.rst b/awscli/examples/eks/describe-addon-versions.rst index 347d852629f8..1a2d53374cd1 100644 --- a/awscli/examples/eks/describe-addon-versions.rst +++ b/awscli/examples/eks/describe-addon-versions.rst @@ -52,9 +52,9 @@ Output:: For more information, see `Managing Amazon EKS add-ons - 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 \ @@ -102,9 +102,9 @@ Output:: For more information, see `Managing Amazon EKS add-ons - 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 \ diff --git a/awscli/examples/elbv2/describe-target-groups.rst b/awscli/examples/elbv2/describe-target-groups.rst index c947472f304e..11848b8e4dff 100644 --- a/awscli/examples/elbv2/describe-target-groups.rst +++ b/awscli/examples/elbv2/describe-target-groups.rst @@ -52,4 +52,4 @@ Output:: "my-lambda-target" ] -For more information, see `Target groups `__ in the *Applicaion Load Balancers Guide*. \ No newline at end of file +For more information, see `Target groups `__ in the *Application Load Balancers Guide*. \ No newline at end of file diff --git a/awscli/examples/elbv2/modify-target-group.rst b/awscli/examples/elbv2/modify-target-group.rst index 359b5f387191..ce97ec8f91ef 100644 --- a/awscli/examples/elbv2/modify-target-group.rst +++ b/awscli/examples/elbv2/modify-target-group.rst @@ -38,4 +38,4 @@ Output:: ] } -For more information, see `Target groups `__ in the *Applicaion Load Balancers Guide*. \ No newline at end of file +For more information, see `Target groups `__ in the *Application Load Balancers Guide*. \ No newline at end of file diff --git a/awscli/examples/gamelift/describe-fleet-events.rst b/awscli/examples/gamelift/describe-fleet-events.rst index a8cca28a0914..0739cdc1239a 100755 --- a/awscli/examples/gamelift/describe-fleet-events.rst +++ b/awscli/examples/gamelift/describe-fleet-events.rst @@ -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 \ diff --git a/awscli/examples/greengrass/get-connector-definition-version.rst b/awscli/examples/greengrass/get-connector-definition-version.rst index 0d412fffc4a6..5a2eb594806b 100644 --- a/awscli/examples/greengrass/get-connector-definition-version.rst +++ b/awscli/examples/greengrass/get-connector-definition-version.rst @@ -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. :: diff --git a/awscli/examples/greengrass/list-core-definition-versions.rst b/awscli/examples/greengrass/list-core-definition-versions.rst index b31b5a4bc448..e8c45c251402 100644 --- a/awscli/examples/greengrass/list-core-definition-versions.rst +++ b/awscli/examples/greengrass/list-core-definition-versions.rst @@ -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" diff --git a/awscli/examples/guardduty/disassociate-from-master-account.rst b/awscli/examples/guardduty/disassociate-from-master-account.rst index 3159006ad7c6..31a6ad53a8b3 100644 --- a/awscli/examples/guardduty/disassociate-from-master-account.rst +++ b/awscli/examples/guardduty/disassociate-from-master-account.rst @@ -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 diff --git a/awscli/examples/inspector2/list-coverage.rst b/awscli/examples/inspector2/list-coverage.rst index e2316ae75a0f..4271d564f4aa 100644 --- a/awscli/examples/inspector2/list-coverage.rst +++ b/awscli/examples/inspector2/list-coverage.rst @@ -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"}]}' diff --git a/awscli/examples/iot/create-keys-and-certificate.rst b/awscli/examples/iot/create-keys-and-certificate.rst index 58b4d304b5f0..8f74ab5aaeea 100644 --- a/awscli/examples/iot/create-keys-and-certificate.rst +++ b/awscli/examples/iot/create-keys-and-certificate.rst @@ -35,4 +35,4 @@ Output:: } } -For more infomration, see `Create and Register an AWS IoT Device Certificate `__ in the **AWS IoT Developer Guide**. +For more information, see `Create and Register an AWS IoT Device Certificate `__ in the **AWS IoT Developer Guide**. diff --git a/awscli/examples/ivs-realtime/create-stage.rst b/awscli/examples/ivs-realtime/create-stage.rst index 2d2e4cd18803..c799ee4df0ba 100644 --- a/awscli/examples/ivs-realtime/create-stage.rst +++ b/awscli/examples/ivs-realtime/create-stage.rst @@ -50,7 +50,7 @@ Output:: For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. -**Example 2: To create a stage and configure individial participant recording** +**Example 2: To create a stage and configure individual participant recording** The following ``create-stage`` example creates a stage and configures individual participant recording. :: @@ -96,7 +96,7 @@ Output:: For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. -**Example 3: To create a stage and configure individial participant recording with thumbnail recording enabled** +**Example 3: To create a stage and configure individual participant recording with thumbnail recording enabled** The following ``create-stage`` example creates a stage and configures individual participant recording with thumbnail recording enabled. :: diff --git a/awscli/examples/kendra/describe-data-source.rst b/awscli/examples/kendra/describe-data-source.rst index 9494458e7ec7..949a18dd23d8 100644 --- a/awscli/examples/kendra/describe-data-source.rst +++ b/awscli/examples/kendra/describe-data-source.rst @@ -1,6 +1,6 @@ **To get information about an Amazon Kendra data source connector** -The following ``describe-data-source`` gets information about an Amazon Kendra data soource connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: +The following ``describe-data-source`` gets information about an Amazon Kendra data source connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: aws kendra describe-data-source \ --id exampledatasource1 \ diff --git a/awscli/examples/rds/describe-db-cluster-parameters.rst b/awscli/examples/rds/describe-db-cluster-parameters.rst index 8c62d93e129c..beb1e12d37d8 100644 --- a/awscli/examples/rds/describe-db-cluster-parameters.rst +++ b/awscli/examples/rds/describe-db-cluster-parameters.rst @@ -103,7 +103,7 @@ Output:: } ] -**Example 4: To describe only the modifable Boolean parameters in a DB cluster parameter group** +**Example 4: To describe only the modifiable Boolean parameters in a DB cluster parameter group** The following ``describe-db-cluster-parameters`` example retrieves the names of only the parameters that you can modify in a DB cluster parameter group and that have a Boolean data type. :: diff --git a/awscli/examples/rds/describe-pending-maintenance-actions.rst b/awscli/examples/rds/describe-pending-maintenance-actions.rst index f6534e1b3e43..3e77d1c00b93 100644 --- a/awscli/examples/rds/describe-pending-maintenance-actions.rst +++ b/awscli/examples/rds/describe-pending-maintenance-actions.rst @@ -1,6 +1,6 @@ **To list resources with at least one pending maintenance action** -The following ``describe-pending-maintenance-actions`` example lists the pending maintenace action for a DB instance. :: +The following ``describe-pending-maintenance-actions`` example lists the pending maintenance action for a DB instance. :: aws rds describe-pending-maintenance-actions diff --git a/awscli/examples/rds/modify-db-instance.rst b/awscli/examples/rds/modify-db-instance.rst index 38f903f9138f..e4f7f2cb08a6 100644 --- a/awscli/examples/rds/modify-db-instance.rst +++ b/awscli/examples/rds/modify-db-instance.rst @@ -95,7 +95,7 @@ Output:: "ReadReplicaDBInstanceIdentifiers": [], "LicenseModel": "general-public-license", - ... output ommited ... + ... output omitted ... } } diff --git a/awscli/examples/rekognition/get-celebrity-recognition.rst b/awscli/examples/rekognition/get-celebrity-recognition.rst index 3ebba78d7140..44353ed600bc 100644 --- a/awscli/examples/rekognition/get-celebrity-recognition.rst +++ b/awscli/examples/rekognition/get-celebrity-recognition.rst @@ -1,6 +1,6 @@ **To get the results of a celebrity recognition operation** -The following ``get-celebrity-recognition`` command diplays the results of a celebrity recognition operation that you started previously by calling ``start-celebrity-recognition``. :: +The following ``get-celebrity-recognition`` command displays the results of a celebrity recognition operation that you started previously by calling ``start-celebrity-recognition``. :: aws rekognition get-celebrity-recognition \ --job-id 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef diff --git a/awscli/examples/securityhub/describe-standards-controls.rst b/awscli/examples/securityhub/describe-standards-controls.rst index 650b6c6b8ecc..550e17f8d19a 100644 --- a/awscli/examples/securityhub/describe-standards-controls.rst +++ b/awscli/examples/securityhub/describe-standards-controls.rst @@ -1,6 +1,6 @@ **To request the list of controls in an enabled standard** -The following ``describe-standards-controls`` example requests the list of controls in the requestor account's subscription to the PCI DSS standard. The request returns two controls at a time. :: +The following ``describe-standards-controls`` example requests the list of controls in the requester account's subscription to the PCI DSS standard. The request returns two controls at a time. :: aws securityhub describe-standards-controls \ --standards-subscription-arn "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1" \ diff --git a/awscli/examples/securitylake/get-subscriber.rst b/awscli/examples/securitylake/get-subscriber.rst index 2770a895da9c..f751424d2c9b 100644 --- a/awscli/examples/securitylake/get-subscriber.rst +++ b/awscli/examples/securitylake/get-subscriber.rst @@ -1,6 +1,6 @@ **To retrieve the subscription information** -The following ``get-subscriber`` example retrieves the subscription information for the specified Securiy Lake subscriber. :: +The following ``get-subscriber`` example retrieves the subscription information for the specified Security Lake subscriber. :: aws securitylake get-subscriber \ --subscriber-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 diff --git a/awscli/examples/servicecatalog-appregistry/update-attribute-group.rst b/awscli/examples/servicecatalog-appregistry/update-attribute-group.rst index b845b6809039..68b5845ba7e2 100644 --- a/awscli/examples/servicecatalog-appregistry/update-attribute-group.rst +++ b/awscli/examples/servicecatalog-appregistry/update-attribute-group.rst @@ -1,6 +1,6 @@ **To update an attribute group** -The following ``update-attribute-group`` example updates a specific attribute group in your AWS account to include a descritption. :: +The following ``update-attribute-group`` example updates a specific attribute group in your AWS account to include a description. :: aws servicecatalog-appregistry update-attribute-group \ --attribute-group "ExampleAttributeGroup" \ diff --git a/awscli/examples/servicediscovery/get-namespace.rst b/awscli/examples/servicediscovery/get-namespace.rst index 711ff5ccc5dd..e1e3a963cbb0 100644 --- a/awscli/examples/servicediscovery/get-namespace.rst +++ b/awscli/examples/servicediscovery/get-namespace.rst @@ -30,7 +30,7 @@ For more information, see `AWS Cloud Map namespaces `__ in the *AWS Systems Manager User Guide*. -**Examle 2: To get IP information about an instance** +**Example 2: To get IP information about an instance** The following ``send-command`` example retrieves the IP information about an instance. :: diff --git a/awscli/examples/swf/register-domain.rst b/awscli/examples/swf/register-domain.rst index c3e7d78ca4db..f509ead17d07 100644 --- a/awscli/examples/swf/register-domain.rst +++ b/awscli/examples/swf/register-domain.rst @@ -1,6 +1,6 @@ **Registering a Domain** -You can use the AWS CLI to register new domains. Use the ``swf register-domain`` command. There are two required parameters, ``--name``, which takes the domain name, and ``--workflow-execution-retention-period-in-days``, which takes an integer to specify the number of days to retain workflow execution data on this domain, up to a maxium period of 90 days (for more information, see the `SWF FAQ `). Workflow execution data +You can use the AWS CLI to register new domains. Use the ``swf register-domain`` command. There are two required parameters, ``--name``, which takes the domain name, and ``--workflow-execution-retention-period-in-days``, which takes an integer to specify the number of days to retain workflow execution data on this domain, up to a maximum period of 90 days (for more information, see the `SWF FAQ `). Workflow execution data will not be retained after the specified number of days have passed. :: aws swf register-domain \ diff --git a/awscli/examples/vpc-lattice/list-services.rst b/awscli/examples/vpc-lattice/list-services.rst index 0798196397c4..327516cf268a 100644 --- a/awscli/examples/vpc-lattice/list-services.rst +++ b/awscli/examples/vpc-lattice/list-services.rst @@ -1,6 +1,6 @@ **To list your services** -The following ``list-services`` example lists the servies owned or shared with the calling account. The ``--query`` option scopes the results to the Amazon Resource Names (ARN) of the services. :: +The following ``list-services`` example lists the services owned or shared with the calling account. The ``--query`` option scopes the results to the Amazon Resource Names (ARN) of the services. :: aws vpc-lattice list-services \ --query items[*].arn diff --git a/tests/functional/cloudformation/test_package.py b/tests/functional/cloudformation/test_package.py index 0390d5c2f10c..3c4ab2bac1a3 100644 --- a/tests/functional/cloudformation/test_package.py +++ b/tests/functional/cloudformation/test_package.py @@ -35,7 +35,7 @@ def tearDown(self): @skip_if_windows( "Symlinks are not supported on Python 2.x + Windows, and require " - "administrator privleges on Python 3.x + Windows." + "administrator privileges on Python 3.x + Windows." ) def test_must_follow_symlinks(self): data = "hello world" diff --git a/tests/integration/customizations/test_generatecliskeleton.py b/tests/integration/customizations/test_generatecliskeleton.py index 078ee1dfdf5b..6bf19d4192df 100644 --- a/tests/integration/customizations/test_generatecliskeleton.py +++ b/tests/integration/customizations/test_generatecliskeleton.py @@ -28,7 +28,7 @@ class TestIntegGenerateCliSkeleton(unittest.TestCase): operations that do not have many input options for the sake of readablity and maintenance. These are essentially smoke tests. It is not trying to test the different types of input shapes that can be generated in the - skeleton. It is only testing wheter the skeleton generator argument works + skeleton. It is only testing whether the skeleton generator argument works for various services. """ def _assert_skeleton_matches(self, actual_skeleton, expected_skeleton): diff --git a/tests/integration/test_smoke.py b/tests/integration/test_smoke.py index 55d1437b0f13..ed0fe2a20c11 100644 --- a/tests/integration/test_smoke.py +++ b/tests/integration/test_smoke.py @@ -73,7 +73,7 @@ # at least one command for each service. # # This verifies that service errors are properly displayed to the user, as -# opposed to either silently failing or inproperly handling the error responses +# opposed to either silently failing or improperly handling the error responses # and not displaying something useful. Each command tries to call an operation # with an identifier that does not exist, and part of the identifier is also # randomly generated to help ensure that is the case. diff --git a/tests/unit/customizations/cloudformation/test_deployer.py b/tests/unit/customizations/cloudformation/test_deployer.py index cf93bc4eed7e..2378152cd0f5 100644 --- a/tests/unit/customizations/cloudformation/test_deployer.py +++ b/tests/unit/customizations/cloudformation/test_deployer.py @@ -249,7 +249,7 @@ def test_create_changeset_exception(self): self.deployer.has_stack.return_value = False self.stub_client.add_client_error( - 'create_change_set', "Somethign is wrong", "Service is bad") + 'create_change_set', "Something is wrong", "Service is bad") with self.stub_client: with self.assertRaises(botocore.exceptions.ClientError): self.deployer.create_changeset(stack_name, template, parameters, @@ -290,7 +290,7 @@ def test_execute_changeset_exception(self): changeset_id = "changeset_id" self.stub_client.add_client_error( - 'execute_change_set', "Somethign is wrong", "Service is bad") + 'execute_change_set', "Something is wrong", "Service is bad") with self.stub_client: with self.assertRaises(botocore.exceptions.ClientError): self.deployer.execute_changeset(changeset_id, stack_name) diff --git a/tests/unit/customizations/configure/test_configure.py b/tests/unit/customizations/configure/test_configure.py index 33e6021edd45..fc5221043d07 100644 --- a/tests/unit/customizations/configure/test_configure.py +++ b/tests/unit/customizations/configure/test_configure.py @@ -80,7 +80,7 @@ def test_some_values_changed(self): # Test the case where the user only wants to change a single_value. responses = { "AWS Access Key ID": None, - "AWS Secert Access Key": None, + "AWS Secret Access Key": None, "Default region name": None, "Default output format": "NEW OUTPUT FORMAT", } diff --git a/tests/unit/customizations/datapipeline/test_translator.py b/tests/unit/customizations/datapipeline/test_translator.py index 21871abe2ca9..1a154cfef9fc 100644 --- a/tests/unit/customizations/datapipeline/test_translator.py +++ b/tests/unit/customizations/datapipeline/test_translator.py @@ -19,7 +19,7 @@ from awscli.customizations.datapipeline import translator -# Thoughout these tests, 'df' refers to the condensed JSON definition format +# Throughout these tests, 'df' refers to the condensed JSON definition format # that the user provides and API refers to the format expected by the API. class TestTranslatePipelineDefinitions(unittest.TestCase): diff --git a/tests/unit/customizations/emr/test_add_steps.py b/tests/unit/customizations/emr/test_add_steps.py index 1087bf19e9b3..743c4b62b3dd 100644 --- a/tests/unit/customizations/emr/test_add_steps.py +++ b/tests/unit/customizations/emr/test_add_steps.py @@ -489,7 +489,7 @@ def test_impala_step_with_release(self): def test_empty_step_args(self): cmd = self.prefix + 'Type=Streaming,Args=' - expected_error_msg = ('\naws: error: The prameter Args cannot ' + expected_error_msg = ('\naws: error: The parameter Args cannot ' 'be an empty list.\n') self.assert_error_for_ami_and_release_based_clusters( cmd=cmd, expected_error_msg=expected_error_msg, diff --git a/tests/unit/customizations/emr/test_create_cluster_ami_version.py b/tests/unit/customizations/emr/test_create_cluster_ami_version.py index 6b2444009b45..12d5d34a81d7 100644 --- a/tests/unit/customizations/emr/test_create_cluster_ami_version.py +++ b/tests/unit/customizations/emr/test_create_cluster_ami_version.py @@ -1412,7 +1412,7 @@ def test_restore_from_hbase(self): def test_empty_step_args(self): cmd = DEFAULT_CMD + '--steps Type=Streaming,Args= ' expect_error_msg = ( - '\naws: error: The prameter Args cannot ' 'be an empty list.\n' + '\naws: error: The parameter Args cannot ' 'be an empty list.\n' ) result = self.run_cmd(cmd, 255) self.assertEqual(expect_error_msg, result[1]) diff --git a/tests/unit/customizations/history/test_db.py b/tests/unit/customizations/history/test_db.py index c481d06cd520..7808c359a370 100644 --- a/tests/unit/customizations/history/test_db.py +++ b/tests/unit/customizations/history/test_db.py @@ -574,14 +574,14 @@ def test_can_serialize_unknown_type(self): self.assertEqual(encoded, reloaded) def test_can_serialize_non_utf_8_bytes_type(self): - original = b'\xfe\xed' # Non utf-8 byte squence + original = b'\xfe\xed' # Non utf-8 byte sequence encoded = '' string_value = json.dumps(original, cls=PayloadSerializer) reloaded = json.loads(string_value) self.assertEqual(encoded, reloaded) def test_does_preserve_utf_8_bytes_type(self): - original = b'foobar' # utf-8 byte squence + original = b'foobar' # utf-8 byte sequence encoded = 'foobar' string_value = json.dumps(original, cls=PayloadSerializer) reloaded = json.loads(string_value) diff --git a/tests/unit/customizations/history/test_list.py b/tests/unit/customizations/history/test_list.py index e903cad9900b..9102578a71cb 100644 --- a/tests/unit/customizations/history/test_list.py +++ b/tests/unit/customizations/history/test_list.py @@ -99,7 +99,7 @@ def test_can_emit_multiple_rows(self): self.assertEqual(expected_output, actual_output) def test_can_truncate_args(self): - # Truncate the argument if it won't fit in the space alotted to the + # Truncate the argument if it won't fit in the space allotted to the # arguments field. self._format_records([ { diff --git a/tests/unit/customizations/test_waiters.py b/tests/unit/customizations/test_waiters.py index 8fead082f316..57a9c18d4cab 100644 --- a/tests/unit/customizations/test_waiters.py +++ b/tests/unit/customizations/test_waiters.py @@ -153,7 +153,7 @@ def test_wait_state_help_command(self): class TestWait(BaseAWSCommandParamsTest): """ This is merely a smoke test. - Its purpose is to test that the wait command can be run proberly for + Its purpose is to test that the wait command can be run properly for various services. It is by no means exhaustive. """ def test_ec2_instance_running(self):