Skip to content

Commit 365e91d

Browse files
authored
Update helptext.py to remove visible markup tags (#7023)
* Update helptext.py to remove visible markup tags * Updated example 16 in create clusters examples
1 parent 3d6ba46 commit 365e91d

2 files changed

Lines changed: 16 additions & 18 deletions

File tree

awscli/customizations/emr/helptext.py

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,23 @@
4848
# create-cluster options help text
4949

5050
CREATE_CLUSTER_DESCRIPTION = (
51-
'<p>Creates an Amazon EMR cluster with the specified configurations.</p>'
52-
'<p>Quick start:</p>'
53-
'<p><code>aws emr create-cluster --release-label <release-label>'
54-
' --instance-type <instance-type> --instance-count <instance-count></code></p>'
55-
'<p>Values for the following can be set in the AWS CLI'
56-
' config file using the <code>aws configure set</code> command: <code>--service-role, --log-uri,'
57-
' and InstanceProfile and KeyName arguments under --ec2-attributes</code>.</p>')
51+
'Creates an Amazon EMR cluster with the specified configurations. '
52+
'Quick start: '
53+
'aws emr create-cluster --release-label <release-label> '
54+
'--instance-type <instance-type> --instance-count <instance-count>'
55+
'Values for the following can be set in the AWS CLI. '
56+
'config file using the <code>aws configure set</code> command: <code>--service-role, --log-uri, '
57+
'and InstanceProfile and KeyName arguments under --ec2-attributes.')
5858

5959
DESCRIBE_CLUSTER_DESCRIPTION = (
60-
'<p>Provides cluster-level details including status, hardware'
61-
' and software configuration, VPC settings, bootstrap'
62-
' actions, instance groups and so on.</p>'
63-
'<p>Permissions needed for describe-cluster include:'
64-
'<ul><li><code>elasticmapreduce:ListBootstrapActions</code></li>'
65-
'<li><code>elasticmapreduce:ListInstanceFleets</code></li>'
66-
'<li><code>elasticmapreduce:DescribeCluster</code></li>'
67-
'<li><code>elasticmapreduce:ListInstanceGroups</code></li></ul>'
68-
'For information about the cluster'
69-
' steps, see <code>list-steps</code>.</p>')
60+
'Provides cluster-level details including status, hardware '
61+
'and software configuration, VPC settings, bootstrap '
62+
'actions, instance groups and so on. '
63+
'Permissions needed for describe-cluster include '
64+
'elasticmapreduce:ListBootstrapActions, '
65+
'elasticmapreduce:ListInstanceFleets, '
66+
'elasticmapreduce:DescribeCluster, '
67+
'and elasticmapreduce:ListInstanceGroups.')
7068

7169
CLUSTER_NAME = (
7270
'<p>The name of the cluster. If not provided, the default is "Development Cluster".</p>')

awscli/examples/emr/create-cluster-examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ The following example uses a JSON file, ``instancegroupconfig.json``, to specify
293293
--release-label emr-5.9.0 \
294294
--service-role EMR_DefaultRole \
295295
--ec2-attributes InstanceProfile=EMR_EC2_DefaultRole \
296-
--instance-groups s3://mybucket/instancegroupconfig.json \
296+
--instance-groups file://myfolder/instancegroupconfig.json \
297297
--auto-scaling-role EMR_AutoScaling_DefaultRole
298298

299299
Contents of ``instancegroupconfig.json``::

0 commit comments

Comments
 (0)