Hello community, here is the log from the commit of package aws-cli for openSUSE:Factory checked in at 2020-04-19 21:50:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-cli (Old) and /work/SRC/openSUSE:Factory/.aws-cli.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-cli" Sun Apr 19 21:50:09 2020 rev:37 rq:792414 version:1.18.38 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes 2020-04-07 10:28:28.210306053 +0200 +++ /work/SRC/openSUSE:Factory/.aws-cli.new.2738/aws-cli.changes 2020-04-19 21:50:12.632169942 +0200 @@ -1,0 +2,15 @@ +Wed Apr 8 08:58:37 UTC 2020 - John Paul Adrian Glaubitz <[email protected]> + +- Update to version 1.18.38 (bsc#1166924, bsc#1168943) + + For detailed changes see + https://github.com/aws/aws-cli/blob/1.18.38/CHANGELOG.rst + + Forward port hide_py_pckgmgmt.patch + + Update Requires in spec file from setup.py + +------------------------------------------------------------------- +Tue Apr 7 11:13:59 UTC 2020 - John Paul Adrian Glaubitz <[email protected]> + +- Fix build on SLE-12 + + Add bash-completion to BuildRequires for suse_version <= 1315 + +------------------------------------------------------------------- Old: ---- aws-cli-1.18.35.tar.gz New: ---- aws-cli-1.18.38.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-cli.spec ++++++ --- /var/tmp/diff_new_pack.C7W6FQ/_old 2020-04-19 21:50:15.588175873 +0200 +++ /var/tmp/diff_new_pack.C7W6FQ/_new 2020-04-19 21:50:15.592175881 +0200 @@ -17,7 +17,7 @@ Name: aws-cli -Version: 1.18.35 +Version: 1.18.38 Release: 0 Summary: Amazon Web Services Command Line Interface License: Apache-2.0 @@ -35,7 +35,7 @@ Requires: python3 Requires: python3-PyYAML <= 6.0.0 Requires: python3-PyYAML >= 3.10 -Requires: python3-botocore >= 1.15.35 +Requires: python3-botocore >= 1.15.38 Requires: python3-colorama <= 0.4.4 Requires: python3-colorama >= 0.2.5 Requires: python3-docutils >= 0.10 @@ -45,6 +45,7 @@ Requires: python3-s3transfer >= 0.3.0 Requires: python3-six %else +BuildRequires: bash-completion BuildRequires: python-devel BuildRequires: python-setuptools Requires: python ++++++ aws-cli-1.18.35.tar.gz -> aws-cli-1.18.38.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/.changes/1.18.36.json new/aws-cli-1.18.38/.changes/1.18.36.json --- old/aws-cli-1.18.35/.changes/1.18.36.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/.changes/1.18.36.json 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``personalize-runtime``", + "description": "Update personalize-runtime command to latest version", + "type": "api-change" + }, + { + "category": "``robomaker``", + "description": "Update robomaker command to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/.changes/1.18.37.json new/aws-cli-1.18.38/.changes/1.18.37.json --- old/aws-cli-1.18.35/.changes/1.18.37.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/.changes/1.18.37.json 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``transcribe``", + "description": "Update transcribe command to latest version", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "Update iam command to latest version", + "type": "api-change" + }, + { + "category": "``chime``", + "description": "Update chime command to latest version", + "type": "api-change" + }, + { + "category": "``elasticbeanstalk``", + "description": "Update elasticbeanstalk command to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/.changes/1.18.38.json new/aws-cli-1.18.38/.changes/1.18.38.json --- old/aws-cli-1.18.35/.changes/1.18.38.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/.changes/1.18.38.json 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``apigateway``", + "description": "Update apigateway command to latest version", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "Update mediaconnect command to latest version", + "type": "api-change" + }, + { + "category": "``codeguru-reviewer``", + "description": "Update codeguru-reviewer command to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/.github/ISSUE_TEMPLATE/---feature-request.md new/aws-cli-1.18.38/.github/ISSUE_TEMPLATE/---feature-request.md --- old/aws-cli-1.18.35/.github/ISSUE_TEMPLATE/---feature-request.md 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/.github/ISSUE_TEMPLATE/---feature-request.md 2020-04-07 20:08:27.000000000 +0200 @@ -8,7 +8,7 @@ --- **Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I wish i ths function could also [...] +A clear and concise description of what the problem is. **Describe the solution you'd like** A clear and concise description of what you want to happen. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/CHANGELOG.rst new/aws-cli-1.18.38/CHANGELOG.rst --- old/aws-cli-1.18.35/CHANGELOG.rst 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/CHANGELOG.rst 2020-04-07 20:08:27.000000000 +0200 @@ -2,6 +2,30 @@ CHANGELOG ========= +1.18.38 +======= + +* api-change:``apigateway``: Update apigateway command to latest version +* api-change:``mediaconnect``: Update mediaconnect command to latest version +* api-change:``codeguru-reviewer``: Update codeguru-reviewer command to latest version + + +1.18.37 +======= + +* api-change:``transcribe``: Update transcribe command to latest version +* api-change:``iam``: Update iam command to latest version +* api-change:``chime``: Update chime command to latest version +* api-change:``elasticbeanstalk``: Update elasticbeanstalk command to latest version + + +1.18.36 +======= + +* api-change:``personalize-runtime``: Update personalize-runtime command to latest version +* api-change:``robomaker``: Update robomaker command to latest version + + 1.18.35 ======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/__init__.py new/aws-cli-1.18.38/awscli/__init__.py --- old/aws-cli-1.18.35/awscli/__init__.py 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/awscli/__init__.py 2020-04-07 20:08:27.000000000 +0200 @@ -17,7 +17,7 @@ """ import os -__version__ = '1.18.35' +__version__ = '1.18.38' # # Get our data path to be added to botocore's search path diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/describe-entities-detection-v2-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/describe-entities-detection-v2-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/describe-entities-detection-v2-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/describe-entities-detection-v2-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,31 @@ +**To describe an entities detection job** + +The following ``describe-entities-detection-v2-job`` example displays the properties associated with an asynchronous entity detection job. :: + + aws comprehendmedical describe-entities-detection-v2-job \ + --job-id "ab9887877365fe70299089371c043b96" + +Output:: + + { + "ComprehendMedicalAsyncJobProperties": { + "JobId": "ab9887877365fe70299089371c043b96", + "JobStatus": "COMPLETED", + "SubmitTime": "2020-03-18T21:20:15.614000+00:00", + "EndTime": "2020-03-18T21:27:07.350000+00:00", + "ExpirationTime": "2020-07-16T21:20:15+00:00", + "InputDataConfig": { + "S3Bucket": "comp-med-input", + "S3Key": "" + }, + "OutputDataConfig": { + "S3Bucket": "comp-med-output", + "S3Key": "867139942017-EntitiesDetection-ab9887877365fe70299089371c043b96/" + }, + "LanguageCode": "en", + "DataAccessRoleArn": "arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole", + "ModelVersion": "DetectEntitiesModelV20190930" + } + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/describe-phi-detection-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/describe-phi-detection-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/describe-phi-detection-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/describe-phi-detection-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,31 @@ +**To describe a PHI detection job** + +The following ``describe-phi-detection-job`` example displays the properties associated with an asynchronous protected health information (PHI) detection job. :: + + aws comprehendmedical describe-phi-detection-job \ + --job-id "4750034166536cdb52ffa3295a1b00a3" + +Output:: + + { + "ComprehendMedicalAsyncJobProperties": { + "JobId": "4750034166536cdb52ffa3295a1b00a3", + "JobStatus": "COMPLETED", + "SubmitTime": "2020-03-19T20:38:37.594000+00:00", + "EndTime": "2020-03-19T20:45:07.894000+00:00", + "ExpirationTime": "2020-07-17T20:38:37+00:00", + "InputDataConfig": { + "S3Bucket": "comp-med-input", + "S3Key": "" + }, + "OutputDataConfig": { + "S3Bucket": "comp-med-output", + "S3Key": "867139942017-PHIDetection-4750034166536cdb52ffa3295a1b00a3/" + }, + "LanguageCode": "en", + "DataAccessRoleArn": "arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole", + "ModelVersion": "PHIModelV20190903" + } + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/detect-entities-v2.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/detect-entities-v2.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/detect-entities-v2.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/detect-entities-v2.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,49 @@ +**Example 1: To detect entities directly from text** + +The following ``detect-entities-v2`` example shows the detected entities and labels them according to type, directly from input text. :: + + aws comprehendmedical detect-entities-v2 \ + --text "Sleeping trouble on present dosage of Clonidine. Severe rash on face and leg, slightly itchy." + +Output:: + + { + "Id": 0, + "BeginOffset": 38, + "EndOffset": 47, + "Score": 0.9942955374717712, + "Text": "Clonidine", + "Category": "MEDICATION", + "Type": "GENERIC_NAME", + "Traits": [] + }, + +For more information, see `Detect Entities Version 2 <https://docs.aws.amazon.com/comprehend/latest/dg/extracted-med-info-V2.html>`__ in the *Amazon Comprehend Medical Developer Guide*. + +**Example 2: To detect entities from a file path** + +The following ``detect-entities-v2`` example shows the detected entities and labels them according to type from a file path. :: + + aws comprehendmedical detect-entities-v2 \ + --text file://medical_entities.txt + +Contents of ``medical_entities.txt``:: + + { + "Sleeping trouble on present dosage of Clonidine. Severe rash on face and leg, slightly itchy." + } + +Output:: + + { + "Id": 0, + "BeginOffset": 38, + "EndOffset": 47, + "Score": 0.9942955374717712, + "Text": "Clonidine", + "Category": "MEDICATION", + "Type": "GENERIC_NAME", + "Traits": [] + }, + +For more information, see `Detect Entities Version 2 <https://docs.aws.amazon.com/comprehend/latest/dg/extracted-med-info-V2.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/detect-phi.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/detect-phi.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/detect-phi.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/detect-phi.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,97 @@ +**Example 1: To detect protected health information (PHI) directly from text** + +The following ``detect-phi`` example displays the detected protected health information (PHI) entities directly from input text. :: + + aws comprehendmedical detect-phi \ + --text "Patient Carlos Salazar presented with rash on his upper extremities and dry cough. He lives at 100 Main Street, Anytown, USA where he works from his home as a carpenter." + +Output:: + + { + "Entities": [ + { + "Id": 0, + "BeginOffset": 8, + "EndOffset": 21, + "Score": 0.9914507269859314, + "Text": "Carlos Salazar", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "NAME", + "Traits": [] + }, + { + "Id": 1, + "BeginOffset": 94, + "EndOffset": 109, + "Score": 0.871849775314331, + "Text": "100 Main Street, Anytown, USA", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "ADDRESS", + "Traits": [] + }, + { + "Id": 2, + "BeginOffset": 145, + "EndOffset": 154, + "Score": 0.8302185535430908, + "Text": "carpenter", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "PROFESSION", + "Traits": [] + } + ], + "ModelVersion": "0.0.0" + } + +For more information, see `Detect PHI <https://docs.aws.amazon.com/comprehend/latest/dg/how-medical-phi.html>`__ in the *Amazon Comprehend Medical Developer Guide*. + +**Example 2: To detect protect health information (PHI) directly from a file path** + +The following ``detect-phi`` example shows the detected protected health information (PHI) entities from a file path. :: + + aws comprehendmedical detect-phi \ + --text file://phi.txt + +Contents of ``phi.txt``:: + + "Patient Carlos Salazar presented with a rash on his upper extremities and a dry cough. He lives at 100 Main Street, Anytown, USA, where he works from his home as a carpenter." + +Output:: + + { + "Entities": [ + { + "Id": 0, + "BeginOffset": 8, + "EndOffset": 21, + "Score": 0.9914507269859314, + "Text": "Carlos Salazar", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "NAME", + "Traits": [] + }, + { + "Id": 1, + "BeginOffset": 94, + "EndOffset": 109, + "Score": 0.871849775314331, + "Text": "100 Main Street, Anytown, USA", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "ADDRESS", + "Traits": [] + }, + { + "Id": 2, + "BeginOffset": 145, + "EndOffset": 154, + "Score": 0.8302185535430908, + "Text": "carpenter", + "Category": "PROTECTED_HEALTH_INFORMATION", + "Type": "PROFESSION", + "Traits": [] + } + ], + "ModelVersion": "0.0.0" + } + +For more information, see `Detect PHI <https://docs.aws.amazon.com/comprehend/latest/dg/how-medical-phi.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/infer-icd10-cm.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/infer-icd10-cm.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/infer-icd10-cm.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/infer-icd10-cm.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,211 @@ +**Example 1: To detect medical condition entities and link to the ICD-10-CM Ontology directly from text** + +The following ``infer-icd10-cm`` example labels the detected medical condition entities and links those entities with codes in the 2019 edition of the International Classification of Diseases Clinical Modification (ICD-10-CM). :: + + aws comprehendmedical infer-icd10-cm \ + --text "The patient complains of abdominal pain, has a long-standing history of diabetes treated with Micronase daily." + +Output:: + + { + "Entities": [ + { + "Id": 0, + "Text": "abdominal pain", + "Category": "MEDICAL_CONDITION", + "Type": "DX_NAME", + "Score": 0.9475538730621338, + "BeginOffset": 28, + "EndOffset": 42, + "Attributes": [], + "Traits": [ + { + "Name": "SYMPTOM", + "Score": 0.6724207401275635 + } + ], + "ICD10CMConcepts": [ + { + "Description": "Unspecified abdominal pain", + "Code": "R10.9", + "Score": 0.6904221177101135 + }, + { + "Description": "Epigastric pain", + "Code": "R10.13", + "Score": 0.1364113688468933 + }, + { + "Description": "Generalized abdominal pain", + "Code": "R10.84", + "Score": 0.12508003413677216 + }, + { + "Description": "Left lower quadrant pain", + "Code": "R10.32", + "Score": 0.10063883662223816 + }, + { + "Description": "Lower abdominal pain, unspecified", + "Code": "R10.30", + "Score": 0.09933677315711975 + } + ] + }, + { + "Id": 1, + "Text": "diabetes", + "Category": "MEDICAL_CONDITION", + "Type": "DX_NAME", + "Score": 0.9899052977561951, + "BeginOffset": 75, + "EndOffset": 83, + "Attributes": [], + "Traits": [ + { + "Name": "DIAGNOSIS", + "Score": 0.9258432388305664 + } + ], + "ICD10CMConcepts": [ + { + "Description": "Type 2 diabetes mellitus without complications", + "Code": "E11.9", + "Score": 0.7158446311950684 + }, + { + "Description": "Family history of diabetes mellitus", + "Code": "Z83.3", + "Score": 0.5704703330993652 + }, + { + "Description": "Family history of other endocrine, nutritional and metabolic diseases", + "Code": "Z83.49", + "Score": 0.19856023788452148 + }, + { + "Description": "Type 1 diabetes mellitus with ketoacidosis without coma", + "Code": "E10.10", + "Score": 0.13285516202449799 + }, + { + "Description": "Type 2 diabetes mellitus with hyperglycemia", + "Code": "E11.65", + "Score": 0.0993388369679451 + } + ] + } + ], + "ModelVersion": "0.1.0" + } + +For more information, see `Infer ICD10-CM <https://docs.aws.amazon.com/comprehend/latest/dg/ontology-linking-icd10.html>`__ in the *Amazon Comprehend Medical Developer Guide*. + +**Example 2: To detect medical condition entities and link to the ICD-10-CM Ontology from a file pathway** + +The following ``infer-icd-10-cm`` example labels the detected medical condition entities and links those entities with codes in the 2019 edition of the International Classification of Diseases Clinical Modification (ICD-10-CM). :: + + aws comprehendmedical infer-icd10-cm \ + --text file://icd10cm.txt + +Contents of ``icd10cm.txt``:: + + { + "The patient complains of abdominal pain, has a long-standing history of diabetes treated with Micronase daily." + } + +Output:: + + { + "Entities": [ + { + "Id": 0, + "Text": "abdominal pain", + "Category": "MEDICAL_CONDITION", + "Type": "DX_NAME", + "Score": 0.9475538730621338, + "BeginOffset": 28, + "EndOffset": 42, + "Attributes": [], + "Traits": [ + { + "Name": "SYMPTOM", + "Score": 0.6724207401275635 + } + ], + "ICD10CMConcepts": [ + { + "Description": "Unspecified abdominal pain", + "Code": "R10.9", + "Score": 0.6904221177101135 + }, + { + "Description": "Epigastric pain", + "Code": "R10.13", + "Score": 0.1364113688468933 + }, + { + "Description": "Generalized abdominal pain", + "Code": "R10.84", + "Score": 0.12508003413677216 + }, + { + "Description": "Left lower quadrant pain", + "Code": "R10.32", + "Score": 0.10063883662223816 + }, + { + "Description": "Lower abdominal pain, unspecified", + "Code": "R10.30", + "Score": 0.09933677315711975 + } + ] + }, + { + "Id": 1, + "Text": "diabetes", + "Category": "MEDICAL_CONDITION", + "Type": "DX_NAME", + "Score": 0.9899052977561951, + "BeginOffset": 75, + "EndOffset": 83, + "Attributes": [], + "Traits": [ + { + "Name": "DIAGNOSIS", + "Score": 0.9258432388305664 + } + ], + "ICD10CMConcepts": [ + { + "Description": "Type 2 diabetes mellitus without complications", + "Code": "E11.9", + "Score": 0.7158446311950684 + }, + { + "Description": "Family history of diabetes mellitus", + "Code": "Z83.3", + "Score": 0.5704703330993652 + }, + { + "Description": "Family history of other endocrine, nutritional and metabolic diseases", + "Code": "Z83.49", + "Score": 0.19856023788452148 + }, + { + "Description": "Type 1 diabetes mellitus with ketoacidosis without coma", + "Code": "E10.10", + "Score": 0.13285516202449799 + }, + { + "Description": "Type 2 diabetes mellitus with hyperglycemia", + "Code": "E11.65", + "Score": 0.0993388369679451 + } + ] + } + ], + "ModelVersion": "0.1.0" + } + +For more information, see `Infer-ICD10-CM <https://docs.aws.amazon.com/comprehend/latest/dg/ontology-linking-icd10.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/infer-rx-norm.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/infer-rx-norm.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/infer-rx-norm.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/infer-rx-norm.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,263 @@ +**Example 1: To detect medication entities and link to RxNorm directly from text** + +The following ``infer-rx-norm`` example shows and labels the detected medication entities and links those entities to concept identifiers (RxCUI) from the National Library of Medicine RxNorm database. :: + + aws comprehendmedical infer-rx-norm \ + --text "Patient reports taking Levothyroxine 125 micrograms p.o. once daily, but denies taking Synthroid." + +Output:: + + { + "Entities": [ + { + "Id": 0, + "Text": "Levothyroxine", + "Category": "MEDICATION", + "Type": "GENERIC_NAME", + "Score": 0.9996285438537598, + "BeginOffset": 23, + "EndOffset": 36, + "Attributes": [ + { + "Type": "DOSAGE", + "Score": 0.9892290830612183, + "RelationshipScore": 0.9997978806495667, + "Id": 1, + "BeginOffset": 37, + "EndOffset": 51, + "Text": "125 micrograms", + "Traits": [] + }, + { + "Type": "ROUTE_OR_MODE", + "Score": 0.9988924860954285, + "RelationshipScore": 0.998291552066803, + "Id": 2, + "BeginOffset": 52, + "EndOffset": 56, + "Text": "p.o.", + "Traits": [] + }, + { + "Type": "FREQUENCY", + "Score": 0.9953463673591614, + "RelationshipScore": 0.9999889135360718, + "Id": 3, + "BeginOffset": 57, + "EndOffset": 67, + "Text": "once daily", + "Traits": [] + } + ], + "Traits": [], + "RxNormConcepts": [ + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet", + "Code": "966224", + "Score": 0.9912070631980896 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Capsule", + "Code": "966405", + "Score": 0.8698278665542603 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Synthroid]", + "Code": "966191", + "Score": 0.7448257803916931 + }, + { + "Description": "levothyroxine", + "Code": "10582", + "Score": 0.7050482630729675 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Levoxyl]", + "Code": "966190", + "Score": 0.6921631693840027 + } + ] + }, + { + "Id": 4, + "Text": "Synthroid", + "Category": "MEDICATION", + "Type": "BRAND_NAME", + "Score": 0.9946461319923401, + "BeginOffset": 86, + "EndOffset": 95, + "Attributes": [], + "Traits": [ + { + "Name": "NEGATION", + "Score": 0.5167351961135864 + } + ], + "RxNormConcepts": [ + { + "Description": "Synthroid", + "Code": "224920", + "Score": 0.9462039470672607 + }, + { + "Description": "Levothyroxine Sodium 0.088 MG Oral Tablet [Synthroid]", + "Code": "966282", + "Score": 0.8309829235076904 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Synthroid]", + "Code": "966191", + "Score": 0.4945160448551178 + }, + { + "Description": "Levothyroxine Sodium 0.05 MG Oral Tablet [Synthroid]", + "Code": "966247", + "Score": 0.3674522042274475 + }, + { + "Description": "Levothyroxine Sodium 0.025 MG Oral Tablet [Synthroid]", + "Code": "966158", + "Score": 0.2588822841644287 + } + ] + } + ], + "ModelVersion": "0.0.0" + } + +For more information, see `Infer RxNorm <https://docs.aws.amazon.com/comprehend/latest/dg/ontology-linking-rxnorm.html>`__ in the *Amazon Comprehend Medical Developer Guide*. + +**Example 2: To detect medication entities and link to RxNorm from a file path.** + +The following ``infer-rx-norm`` example shows and labels the detected medication entities and links those entities to concept identifiers (RxCUI) from the National Library of Medicine RxNorm database. :: + + aws comprehendmedical infer-rx-norm \ + --text file://rxnorm.txt + +Contents of ``rxnorm.txt``:: + + { + "Patient reports taking Levothyroxine 125 micrograms p.o. once daily, but denies taking Synthroid." + } + +Output:: + + { + "Entities": [ + { + "Id": 0, + "Text": "Levothyroxine", + "Category": "MEDICATION", + "Type": "GENERIC_NAME", + "Score": 0.9996285438537598, + "BeginOffset": 23, + "EndOffset": 36, + "Attributes": [ + { + "Type": "DOSAGE", + "Score": 0.9892290830612183, + "RelationshipScore": 0.9997978806495667, + "Id": 1, + "BeginOffset": 37, + "EndOffset": 51, + "Text": "125 micrograms", + "Traits": [] + }, + { + "Type": "ROUTE_OR_MODE", + "Score": 0.9988924860954285, + "RelationshipScore": 0.998291552066803, + "Id": 2, + "BeginOffset": 52, + "EndOffset": 56, + "Text": "p.o.", + "Traits": [] + }, + { + "Type": "FREQUENCY", + "Score": 0.9953463673591614, + "RelationshipScore": 0.9999889135360718, + "Id": 3, + "BeginOffset": 57, + "EndOffset": 67, + "Text": "once daily", + "Traits": [] + } + ], + "Traits": [], + "RxNormConcepts": [ + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet", + "Code": "966224", + "Score": 0.9912070631980896 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Capsule", + "Code": "966405", + "Score": 0.8698278665542603 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Synthroid]", + "Code": "966191", + "Score": 0.7448257803916931 + }, + { + "Description": "levothyroxine", + "Code": "10582", + "Score": 0.7050482630729675 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Levoxyl]", + "Code": "966190", + "Score": 0.6921631693840027 + } + ] + }, + { + "Id": 4, + "Text": "Synthroid", + "Category": "MEDICATION", + "Type": "BRAND_NAME", + "Score": 0.9946461319923401, + "BeginOffset": 86, + "EndOffset": 95, + "Attributes": [], + "Traits": [ + { + "Name": "NEGATION", + "Score": 0.5167351961135864 + } + ], + "RxNormConcepts": [ + { + "Description": "Synthroid", + "Code": "224920", + "Score": 0.9462039470672607 + }, + { + "Description": "Levothyroxine Sodium 0.088 MG Oral Tablet [Synthroid]", + "Code": "966282", + "Score": 0.8309829235076904 + }, + { + "Description": "Levothyroxine Sodium 0.125 MG Oral Tablet [Synthroid]", + "Code": "966191", + "Score": 0.4945160448551178 + }, + { + "Description": "Levothyroxine Sodium 0.05 MG Oral Tablet [Synthroid]", + "Code": "966247", + "Score": 0.3674522042274475 + }, + { + "Description": "Levothyroxine Sodium 0.025 MG Oral Tablet [Synthroid]", + "Code": "966158", + "Score": 0.2588822841644287 + } + ] + } + ], + "ModelVersion": "0.0.0" + } + +For more information, see `Infer RxNorm <https://docs.aws.amazon.com/comprehend/latest/dg/ontology-linking-rxnorm.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/list-entities-detection-v2-jobs.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/list-entities-detection-v2-jobs.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/list-entities-detection-v2-jobs.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/list-entities-detection-v2-jobs.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,32 @@ +**To list entities detection jobs** + +The following ``list-entities-detection-v2-jobs`` example lists current asynchronous detection jobs. :: + + aws comprehendmedical list-entities-detection-v2-jobs + +Output:: + + { + "ComprehendMedicalAsyncJobPropertiesList": [ + { + "JobId": "ab9887877365fe70299089371c043b96", + "JobStatus": "COMPLETED", + "SubmitTime": "2020-03-19T20:38:37.594000+00:00", + "EndTime": "2020-03-19T20:45:07.894000+00:00", + "ExpirationTime": "2020-07-17T20:38:37+00:00", + "InputDataConfig": { + "S3Bucket": "comp-med-input", + "S3Key": "" + }, + "OutputDataConfig": { + "S3Bucket": "comp-med-output", + "S3Key": "867139942017-EntitiesDetection-ab9887877365fe70299089371c043b96/" + }, + "LanguageCode": "en", + "DataAccessRoleArn": "arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole", + "ModelVersion": "DetectEntitiesModelV20190930" + } + ] + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/list-phi-detection-jobs.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/list-phi-detection-jobs.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/list-phi-detection-jobs.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/list-phi-detection-jobs.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,32 @@ +**To list protected health information (PHI) detection jobs** + +The following ``list-phi-detection-jobs`` example lists current protected health information (PHI) detection jobs :: + + aws comprehendmedical list-phi-detection-jobs + +Output:: + + { + "ComprehendMedicalAsyncJobPropertiesList": [ + { + "JobId": "4750034166536cdb52ffa3295a1b00a3", + "JobStatus": "COMPLETED", + "SubmitTime": "2020-03-19T20:38:37.594000+00:00", + "EndTime": "2020-03-19T20:45:07.894000+00:00", + "ExpirationTime": "2020-07-17T20:38:37+00:00", + "InputDataConfig": { + "S3Bucket": "comp-med-input", + "S3Key": "" + }, + "OutputDataConfig": { + "S3Bucket": "comp-med-output", + "S3Key": "867139942017-PHIDetection-4750034166536cdb52ffa3295a1b00a3/" + }, + "LanguageCode": "en", + "DataAccessRoleArn": "arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole", + "ModelVersion": "PHIModelV20190903" + } + ] + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/start-entities-detection-v2-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/start-entities-detection-v2-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/start-entities-detection-v2-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/start-entities-detection-v2-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,17 @@ +**To start an entities detection job** + +The following ``start-entities-detection-v2-job`` example starts an asynchronous entity detection job. :: + + aws comprehendmedical start-entities-detection-v2-job \ + --input-data-config "S3Bucket=comp-med-input" \ + --output-data-config "S3Bucket=comp-med-output" \ + --data-access-role-arn arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole \ + --language-code en + +Output:: + + { + "JobId": "ab9887877365fe70299089371c043b96" + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/start-phi-detection-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/start-phi-detection-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/start-phi-detection-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/start-phi-detection-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,17 @@ +**To start a PHI detection job** + +The following ``start-phi-detection-job`` example starts an asynchronous PHI entity detection job. :: + + aws comprehendmedical start-phi-detection-job \ + --input-data-config "S3Bucket=comp-med-input" \ + --output-data-config "S3Bucket=comp-med-output" \ + --data-access-role-arn arn:aws:iam::867139942017:role/ComprehendMedicalBatchProcessingRole \ + --language-code en + +Output:: + + { + "JobId": "ab9887877365fe70299089371c043b96" + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/stop-entities-detection-v2-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/stop-entities-detection-v2-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/stop-entities-detection-v2-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/stop-entities-detection-v2-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,14 @@ +**To stop an entity detection job** + +The following ``stop-entities-detection-v2-job`` example stops an asynchronous entity detection job. :: + + aws comprehendmedical stop-entities-detection-v2-job \ + --job-id "ab9887877365fe70299089371c043b96" + +Output:: + + { + "JobId": "ab9887877365fe70299089371c043b96" + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/comprehendmedical/stop-phi-detection-job.rst new/aws-cli-1.18.38/awscli/examples/comprehendmedical/stop-phi-detection-job.rst --- old/aws-cli-1.18.35/awscli/examples/comprehendmedical/stop-phi-detection-job.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/comprehendmedical/stop-phi-detection-job.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,14 @@ +**To stop a protected health information (PHI) detection job** + +The following ``stop-phi-detection-job`` example stops an asynchronous protected health information (PHI) detection job. :: + + aws comprehendmedical stop-phi-detection-job \ + --job-id "4750034166536cdb52ffa3295a1b00a3" + +Output:: + + { + "JobId": "ab9887877365fe70299089371c043b96" + } + +For more information, see `Batch APIs <https://docs.aws.amazon.com/comprehend/latest/dg/batch-api-med.html>`__ in the *Amazon Comprehend Medical Developer Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/create-ops-item.rst new/aws-cli-1.18.38/awscli/examples/ssm/create-ops-item.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/create-ops-item.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/create-ops-item.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,19 @@ +**To create an OpsItems** + +The following ``create-ops-item`` example uses the /aws/resources key in OperationalData to create an OpsItem with an Amazon DynamoDB related resource. :: + + aws ssm create-ops-item \ + --title "EC2 instance disk full" \ + --description "Log clean up may have failed which caused the disk to be full" \ + --priority 2 \ + --source ec2 \ + --operational-data '{"/aws/resources":{"Value":"[{\"arn\": \"arn:aws:dynamodb:us-west-2:12345678:table/OpsItems\"}]","Type":"SearchableString"}}' \ + --notifications Arn="arn:aws:sns:us-west-2:12345678:TestUser" + +Output:: + + { + "OpsItemId": "oi-1a2b3c4d5e6f" + } + +For more information, see `Creating OpsItems <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-creating-OpsItems.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/describe-ops-items.rst new/aws-cli-1.18.38/awscli/examples/ssm/describe-ops-items.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/describe-ops-items.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/describe-ops-items.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,63 @@ +**To list a set of OpsItems** + +The following ``describe-ops-items`` example displays a list of all open OpsItems in your AWS account. :: + + aws ssm describe-ops-items \ + --ops-item-filters "Key=Status,Values=Open,Operator=Equal" + +Output:: + + { + "OpsItemSummaries": [ + { + "CreatedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "CreatedTime": "2020-03-14T17:02:46.375000-07:00", + "LastModifiedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "LastModifiedTime": "2020-03-14T17:02:46.375000-07:00", + "Source": "SSM", + "Status": "Open", + "OpsItemId": "oi-7cfc5EXAMPLE", + "Title": "SSM Maintenance Window execution failed", + "OperationalData": { + "/aws/dedup": { + "Value": "{\"dedupString\":\"SSMOpsItems-SSM-maintenance-window-execution-failed\"}", + "Type": "SearchableString" + }, + "/aws/resources": { + "Value": "[{\"arn\":\"arn:aws:ssm:us-east-2:111222333444:maintenancewindow/mw-034093d322EXAMPLE\"}]", + "Type": "SearchableString" + } + }, + "Category": "Availability", + "Severity": "3" + }, + { + "CreatedBy": "arn:aws:sts::1112223233444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "CreatedTime": "2020-02-26T11:43:15.426000-08:00", + "LastModifiedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "LastModifiedTime": "2020-02-26T11:43:15.426000-08:00", + "Source": "EC2", + "Status": "Open", + "OpsItemId": "oi-6f966EXAMPLE", + "Title": "EC2 instance stopped", + "OperationalData": { + "/aws/automations": { + "Value": "[ { \"automationType\": \"AWS:SSM:Automation\", \"automationId\": \"AWS-RestartEC2Instance\" } ]", + "Type": "SearchableString" + }, + "/aws/dedup": { + "Value": "{\"dedupString\":\"SSMOpsItems-EC2-instance-stopped\"}", + "Type": "SearchableString" + }, + "/aws/resources": { + "Value": "[{\"arn\":\"arn:aws:ec2:us-east-2:111222333444:instance/i-0beccfbc02EXAMPLE\"}]", + "Type": "SearchableString" + } + }, + "Category": "Availability", + "Severity": "3" + } + ] + } + +For more information, see `Working with OpsItems <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-working-with-OpsItems.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/describe-patch-properties.rst new/aws-cli-1.18.38/awscli/examples/ssm/describe-patch-properties.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/describe-patch-properties.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/describe-patch-properties.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,55 @@ +**To list the Amazon Linux patch availability** + +The following ``describe-patch-properties`` example displays a list of the Amazon Linux products for which patches are available in your AWS account. :: + + aws ssm describe-patch-properties \ + --operating-system AMAZON_LINUX \ + --property PRODUCTS + +Output:: + + { + "Properties": [ + { + "Name": "AmazonLinux2012.03" + }, + { + "Name": "AmazonLinux2012.09" + }, + { + "Name": "AmazonLinux2013.03" + }, + { + "Name": "AmazonLinux2013.09" + }, + { + "Name": "AmazonLinux2014.03" + }, + { + "Name": "AmazonLinux2014.09" + }, + { + "Name": "AmazonLinux2015.03" + }, + { + "Name": "AmazonLinux2015.09" + }, + { + "Name": "AmazonLinux2016.03" + }, + { + "Name": "AmazonLinux2016.09" + }, + { + "Name": "AmazonLinux2017.03" + }, + { + "Name": "AmazonLinux2017.09" + }, + { + "Name": "AmazonLinux2018.03" + } + ] + } + +For more information, see `About Patch Baselines <https://docs.aws.amazon.com/systems-manager/latest/userguide/about-patch-baselines.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/get-ops-item.rst new/aws-cli-1.18.38/awscli/examples/ssm/get-ops-item.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/get-ops-item.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/get-ops-item.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,50 @@ +**To view information about an OpsItem** + +The following ``get-ops-item`` example displays details about the specified OpsItem. :: + + aws ssm get-ops-item \ + --ops-item-id oi-0b725EXAMPLE + +Output:: + + { + "OpsItem": { + "CreatedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "CreatedTime": "2019-12-04T15:52:16.793000-08:00", + "Description": "CloudWatch Event Rule SSMOpsItems-EC2-instance-terminated was triggered. Your EC2 instance has terminated. See below for more details.", + "LastModifiedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "LastModifiedTime": "2019-12-04T15:52:16.793000-08:00", + "Notifications": [], + "RelatedOpsItems": [], + "Status": "Open", + "OpsItemId": "oi-0b725EXAMPLE", + "Title": "EC2 instance terminated", + "Source": "EC2", + "OperationalData": { + "/aws/automations": { + "Value": "[ { \"automationType\": \"AWS:SSM:Automation\", \"automationId\": \"AWS-CreateManagedWindowsInstance\" }, { \"automationType\": \"AWS:SSM:Automation\", \"automationId\": \"AWS-CreateManagedLinuxInstance\" } ]", + "Type": "SearchableString" + }, + "/aws/dedup": { + "Value": "{\"dedupString\":\"SSMOpsItems-EC2-instance-terminated\"}", + "Type": "SearchableString" + }, + "/aws/resources": { + "Value": "[{\"arn\":\"arn:aws:ec2:us-east-2:111222333444:instance/i-05adec7e97EXAMPLE\"}]", + "Type": "SearchableString" + }, + "event-time": { + "Value": "2019-12-04T23:52:16Z", + "Type": "String" + }, + "instance-state": { + "Value": "terminated", + "Type": "String" + } + }, + "Category": "Availability", + "Severity": "4" + } + } + +For more information, see `Working with OpsItems <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-working-with-OpsItems.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/get-ops-summary.rst new/aws-cli-1.18.38/awscli/examples/ssm/get-ops-summary.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/get-ops-summary.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/get-ops-summary.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,68 @@ +**To view a summary of all OpsItems** + +The following ``get-ops-summary`` example displays a summary of all OpsItems in your AWS account. :: + + aws ssm get-ops-summary + +Output:: + + { + "Entities": [ + { + "Id": "oi-4309fEXAMPLE", + "Data": { + "AWS:OpsItem": { + "CaptureTime": "2020-02-26T18:58:32.918Z", + "Content": [ + { + "AccountId": "111222333444", + "Category": "Availability", + "CreatedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "CreatedTime": "2020-02-26T19:10:44.149Z", + "Description": "CloudWatch Event Rule SSMOpsItems-EC2-instance-terminated was triggered. Your EC2 instance has terminated. See below for more details.", + "LastModifiedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "LastModifiedTime": "2020-02-26T19:10:44.149Z", + "Notifications": "", + "OperationalData": "{\"/aws/automations\":{\"type\":\"SearchableString\",\"value\":\"[ { \\\"automationType\\\": \\\"AWS:SSM:Automation\\\", \\\"automationId\\\": \\\"AWS-CreateManagedWindowsInstance\\\" }, { \\\"automationType\\\": \\\"AWS:SSM:Automation\\\", \\\"automationId\\\": \\\"AWS-CreateManagedLinuxInstance\\\" } ]\"},\"/aws/resources\":{\"type\":\"SearchableString\",\"value\":\"[{\\\"arn\\\":\\\"arn:aws:ec2:us-east-2:111222333444:instance/i-0acbd0800fEXAMPLE\\\"}]\"},\"/aws/dedup\":{\"type\":\"SearchableString\",\"value\":\"{\\\"dedupString\\\":\\\"SSMOpsItems-EC2-instance-terminated\\\"}\"}}", + "OpsItemId": "oi-4309fEXAMPLE", + "RelatedItems": "", + "Severity": "3", + "Source": "EC2", + "Status": "Open", + "Title": "EC2 instance terminated" + } + ] + } + } + }, + { + "Id": "oi-bb2a0e6a4541", + "Data": { + "AWS:OpsItem": { + "CaptureTime": "2019-11-26T19:20:06.161Z", + "Content": [ + { + "AccountId": "111222333444", + "Category": "Availability", + "CreatedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "CreatedTime": "2019-11-26T20:00:07.237Z", + "Description": "CloudWatch Event Rule SSMOpsItems-SSM-maintenance-window-execution-failed was triggered. Your SSM Maintenance Window execution has failed. See below for more details.", + "LastModifiedBy": "arn:aws:sts::111222333444:assumed-role/OpsItem-CWE-Role/fbf77cbe264a33509569f23e4EXAMPLE", + "LastModifiedTime": "2019-11-26T20:00:07.237Z", + "Notifications": "", + "OperationalData": "{\"/aws/resources\":{\"type\":\"SearchableString\",\"value\":\"[{\\\"arn\\\":\\\"arn:aws:ssm:us-east-2:111222333444:maintenancewindow/mw-0e83ba440dEXAMPLE\\\"}]\"},\"/aws/dedup\":{\"type\":\"SearchableString\",\"value\":\"{\\\"dedupString\\\":\\\"SSMOpsItems-SSM-maintenance-window-execution-failed\\\"}\"}}", + "OpsItemId": "oi-bb2a0EXAMPLE", + "RelatedItems": "", + "Severity": "3", + "Source": "SSM", + "Status": "Open", + "Title": "SSM Maintenance Window execution failed" + } + ] + } + } + } + ] + } + +For more information, see `Working with OpsItems <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-working-with-OpsItems.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/awscli/examples/ssm/update-ops-item.rst new/aws-cli-1.18.38/awscli/examples/ssm/update-ops-item.rst --- old/aws-cli-1.18.35/awscli/examples/ssm/update-ops-item.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.18.38/awscli/examples/ssm/update-ops-item.rst 2020-04-07 20:08:27.000000000 +0200 @@ -0,0 +1,16 @@ +**To update an OpsItem** + +The following ``update-ops-item`` example updates the description, priority, and category for an OpsItem. In addition, the command specifies an SNS topic where the notifications are sent when this OpsItem is edited or changed. :: + + aws ssm update-ops-item \ + --ops-item-id "oi-287b5EXAMPLE" \ + --description "Primary OpsItem for failover event 2020-01-01-fh398yf" \ + --priority 2 \ + --category "Security" \ + --notifications "Arn=arn:aws:sns:us-east-2:111222333444:my-us-east-2-topic" + +Output:: + + This command produces no output. + +For more information, see `Working with OpsItems <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-working-with-OpsItems.html>`__ in the *AWS Systems Manager User Guide*. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/doc/source/conf.py new/aws-cli-1.18.38/doc/source/conf.py --- old/aws-cli-1.18.35/doc/source/conf.py 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/doc/source/conf.py 2020-04-07 20:08:27.000000000 +0200 @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.18.' # The full version, including alpha/beta/rc tags. -release = '1.18.35' +release = '1.18.38' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/setup.cfg new/aws-cli-1.18.38/setup.cfg --- old/aws-cli-1.18.35/setup.cfg 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/setup.cfg 2020-04-07 20:08:27.000000000 +0200 @@ -4,7 +4,7 @@ [metadata] requires-dist = - botocore==1.15.35 + botocore==1.15.38 docutils>=0.10,<0.16 rsa>=3.1.2,<=3.5.0 s3transfer>=0.3.0,<0.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.18.35/setup.py new/aws-cli-1.18.38/setup.py --- old/aws-cli-1.18.35/setup.py 2020-04-02 20:08:14.000000000 +0200 +++ new/aws-cli-1.18.38/setup.py 2020-04-07 20:08:27.000000000 +0200 @@ -24,7 +24,7 @@ install_requires = [ - 'botocore==1.15.35', + 'botocore==1.15.38', 'docutils>=0.10,<0.16', 'rsa>=3.1.2,<=3.5.0', 's3transfer>=0.3.0,<0.4.0', ++++++ hide_py_pckgmgmt.patch ++++++ --- /var/tmp/diff_new_pack.C7W6FQ/_old 2020-04-19 21:50:16.268177237 +0200 +++ /var/tmp/diff_new_pack.C7W6FQ/_new 2020-04-19 21:50:16.272177245 +0200 @@ -1,17 +1,17 @@ ---- setup.py.orig 2020-04-02 20:08:14.000000000 +0200 -+++ setup.py 2020-04-03 14:30:04.280983963 +0200 +--- setup.py.orig 2020-04-07 20:08:27.000000000 +0200 ++++ setup.py 2020-04-08 10:53:43.602794894 +0200 @@ -23,20 +23,20 @@ raise RuntimeError("Unable to find version string.") -install_requires = [ -- 'botocore==1.15.35', +- 'botocore==1.15.38', - 'docutils>=0.10,<0.16', - 'rsa>=3.1.2,<=3.5.0', - 's3transfer>=0.3.0,<0.4.0', -] +# install_requires = [ -+# 'botocore==1.15.35', ++# 'botocore==1.15.38', +# 'docutils>=0.10,<0.16', +# 'rsa>=3.1.2,<=3.5.0', +# 's3transfer>=0.3.0,<0.4.0',
