Skip to content

Commit dfbfbaf

Browse files
author
aws-sdk-cpp-automation
committed
The InferICD10CM API now returns TIME_EXPRESSION entities that refer to medical conditions.
Clarify that enabling or disabling automated backups causes a brief downtime, not an outage. This release adds the SourceIdentity parameter that can be set when assuming a role. Added support to enable AQUA in Amazon Redshift clusters. Documentation updates for Amazon Lightsail.
1 parent 4e4ce40 commit dfbfbaf

File tree

59 files changed

+3735
-1200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3735
-1200
lines changed

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/ComprehendMedicalClient.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ namespace Model
399399
* <p>InferICD10CM detects medical conditions as entities listed in a patient
400400
* record and links those entities to normalized concept identifiers in the
401401
* ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend
402-
* Medical only detects medical entities in English language texts.</p><p><h3>See
402+
* Medical only detects medical entities in English language texts. </p><p><h3>See
403403
* Also:</h3> <a
404404
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferICD10CM">AWS
405405
* API Reference</a></p>
@@ -410,7 +410,7 @@ namespace Model
410410
* <p>InferICD10CM detects medical conditions as entities listed in a patient
411411
* record and links those entities to normalized concept identifiers in the
412412
* ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend
413-
* Medical only detects medical entities in English language texts.</p><p><h3>See
413+
* Medical only detects medical entities in English language texts. </p><p><h3>See
414414
* Also:</h3> <a
415415
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferICD10CM">AWS
416416
* API Reference</a></p>
@@ -423,7 +423,7 @@ namespace Model
423423
* <p>InferICD10CM detects medical conditions as entities listed in a patient
424424
* record and links those entities to normalized concept identifiers in the
425425
* ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend
426-
* Medical only detects medical entities in English language texts.</p><p><h3>See
426+
* Medical only detects medical entities in English language texts. </p><p><h3>See
427427
* Also:</h3> <a
428428
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferICD10CM">AWS
429429
* API Reference</a></p>
@@ -436,7 +436,7 @@ namespace Model
436436
* <p>InferRxNorm detects medications as entities listed in a patient record and
437437
* links to the normalized concept identifiers in the RxNorm database from the
438438
* National Library of Medicine. Amazon Comprehend Medical only detects medical
439-
* entities in English language texts.</p><p><h3>See Also:</h3> <a
439+
* entities in English language texts. </p><p><h3>See Also:</h3> <a
440440
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferRxNorm">AWS
441441
* API Reference</a></p>
442442
*/
@@ -446,7 +446,7 @@ namespace Model
446446
* <p>InferRxNorm detects medications as entities listed in a patient record and
447447
* links to the normalized concept identifiers in the RxNorm database from the
448448
* National Library of Medicine. Amazon Comprehend Medical only detects medical
449-
* entities in English language texts.</p><p><h3>See Also:</h3> <a
449+
* entities in English language texts. </p><p><h3>See Also:</h3> <a
450450
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferRxNorm">AWS
451451
* API Reference</a></p>
452452
*
@@ -458,7 +458,7 @@ namespace Model
458458
* <p>InferRxNorm detects medications as entities listed in a patient record and
459459
* links to the normalized concept identifiers in the RxNorm database from the
460460
* National Library of Medicine. Amazon Comprehend Medical only detects medical
461-
* entities in English language texts.</p><p><h3>See Also:</h3> <a
461+
* entities in English language texts. </p><p><h3>See Also:</h3> <a
462462
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferRxNorm">AWS
463463
* API Reference</a></p>
464464
*

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/ICD10CMAttribute.h

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include <aws/comprehendmedical/model/ICD10CMAttributeType.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
1010
#include <aws/core/utils/memory/stl/AWSVector.h>
11+
#include <aws/comprehendmedical/model/ICD10CMEntityType.h>
12+
#include <aws/comprehendmedical/model/ICD10CMRelationshipType.h>
1113
#include <aws/comprehendmedical/model/ICD10CMTrait.h>
1214
#include <utility>
1315

@@ -303,6 +305,86 @@ namespace Model
303305
*/
304306
inline ICD10CMAttribute& AddTraits(ICD10CMTrait&& value) { m_traitsHasBeenSet = true; m_traits.push_back(std::move(value)); return *this; }
305307

308+
309+
/**
310+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
311+
* <code>TIME_EXPRESSION</code>.</p>
312+
*/
313+
inline const ICD10CMEntityType& GetCategory() const{ return m_category; }
314+
315+
/**
316+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
317+
* <code>TIME_EXPRESSION</code>.</p>
318+
*/
319+
inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
320+
321+
/**
322+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
323+
* <code>TIME_EXPRESSION</code>.</p>
324+
*/
325+
inline void SetCategory(const ICD10CMEntityType& value) { m_categoryHasBeenSet = true; m_category = value; }
326+
327+
/**
328+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
329+
* <code>TIME_EXPRESSION</code>.</p>
330+
*/
331+
inline void SetCategory(ICD10CMEntityType&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
332+
333+
/**
334+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
335+
* <code>TIME_EXPRESSION</code>.</p>
336+
*/
337+
inline ICD10CMAttribute& WithCategory(const ICD10CMEntityType& value) { SetCategory(value); return *this;}
338+
339+
/**
340+
* <p>The category of attribute. Can be either of <code>DX_NAME</code> or
341+
* <code>TIME_EXPRESSION</code>.</p>
342+
*/
343+
inline ICD10CMAttribute& WithCategory(ICD10CMEntityType&& value) { SetCategory(std::move(value)); return *this;}
344+
345+
346+
/**
347+
* <p>The type of relationship between the entity and attribute. Type for the
348+
* relationship can be either of <code>OVERLAP</code> or
349+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
350+
*/
351+
inline const ICD10CMRelationshipType& GetRelationshipType() const{ return m_relationshipType; }
352+
353+
/**
354+
* <p>The type of relationship between the entity and attribute. Type for the
355+
* relationship can be either of <code>OVERLAP</code> or
356+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
357+
*/
358+
inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
359+
360+
/**
361+
* <p>The type of relationship between the entity and attribute. Type for the
362+
* relationship can be either of <code>OVERLAP</code> or
363+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
364+
*/
365+
inline void SetRelationshipType(const ICD10CMRelationshipType& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
366+
367+
/**
368+
* <p>The type of relationship between the entity and attribute. Type for the
369+
* relationship can be either of <code>OVERLAP</code> or
370+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
371+
*/
372+
inline void SetRelationshipType(ICD10CMRelationshipType&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::move(value); }
373+
374+
/**
375+
* <p>The type of relationship between the entity and attribute. Type for the
376+
* relationship can be either of <code>OVERLAP</code> or
377+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
378+
*/
379+
inline ICD10CMAttribute& WithRelationshipType(const ICD10CMRelationshipType& value) { SetRelationshipType(value); return *this;}
380+
381+
/**
382+
* <p>The type of relationship between the entity and attribute. Type for the
383+
* relationship can be either of <code>OVERLAP</code> or
384+
* <code>SYSTEM_ORGAN_SITE</code>.</p>
385+
*/
386+
inline ICD10CMAttribute& WithRelationshipType(ICD10CMRelationshipType&& value) { SetRelationshipType(std::move(value)); return *this;}
387+
306388
private:
307389

308390
ICD10CMAttributeType m_type;
@@ -328,6 +410,12 @@ namespace Model
328410

329411
Aws::Vector<ICD10CMTrait> m_traits;
330412
bool m_traitsHasBeenSet;
413+
414+
ICD10CMEntityType m_category;
415+
bool m_categoryHasBeenSet;
416+
417+
ICD10CMRelationshipType m_relationshipType;
418+
bool m_relationshipTypeHasBeenSet;
331419
};
332420

333421
} // namespace Model

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/ICD10CMAttributeType.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ namespace Model
2020
DIRECTION,
2121
SYSTEM_ORGAN_SITE,
2222
QUALITY,
23-
QUANTITY
23+
QUANTITY,
24+
TIME_TO_DX_NAME,
25+
TIME_EXPRESSION
2426
};
2527

2628
namespace ICD10CMAttributeTypeMapper

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/ICD10CMEntity.h

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,37 +153,43 @@ namespace Model
153153

154154
/**
155155
* <p>Describes the specific type of entity with category of entities. InferICD10CM
156-
* detects entities of the type <code>DX_NAME</code>.</p>
156+
* detects entities of the type <code>DX_NAME</code> and
157+
* <code>TIME_EXPRESSION</code>.</p>
157158
*/
158159
inline const ICD10CMEntityType& GetType() const{ return m_type; }
159160

160161
/**
161162
* <p>Describes the specific type of entity with category of entities. InferICD10CM
162-
* detects entities of the type <code>DX_NAME</code>.</p>
163+
* detects entities of the type <code>DX_NAME</code> and
164+
* <code>TIME_EXPRESSION</code>.</p>
163165
*/
164166
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
165167

166168
/**
167169
* <p>Describes the specific type of entity with category of entities. InferICD10CM
168-
* detects entities of the type <code>DX_NAME</code>.</p>
170+
* detects entities of the type <code>DX_NAME</code> and
171+
* <code>TIME_EXPRESSION</code>.</p>
169172
*/
170173
inline void SetType(const ICD10CMEntityType& value) { m_typeHasBeenSet = true; m_type = value; }
171174

172175
/**
173176
* <p>Describes the specific type of entity with category of entities. InferICD10CM
174-
* detects entities of the type <code>DX_NAME</code>.</p>
177+
* detects entities of the type <code>DX_NAME</code> and
178+
* <code>TIME_EXPRESSION</code>.</p>
175179
*/
176180
inline void SetType(ICD10CMEntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
177181

178182
/**
179183
* <p>Describes the specific type of entity with category of entities. InferICD10CM
180-
* detects entities of the type <code>DX_NAME</code>.</p>
184+
* detects entities of the type <code>DX_NAME</code> and
185+
* <code>TIME_EXPRESSION</code>.</p>
181186
*/
182187
inline ICD10CMEntity& WithType(const ICD10CMEntityType& value) { SetType(value); return *this;}
183188

184189
/**
185190
* <p>Describes the specific type of entity with category of entities. InferICD10CM
186-
* detects entities of the type <code>DX_NAME</code>.</p>
191+
* detects entities of the type <code>DX_NAME</code> and
192+
* <code>TIME_EXPRESSION</code>.</p>
187193
*/
188194
inline ICD10CMEntity& WithType(ICD10CMEntityType&& value) { SetType(std::move(value)); return *this;}
189195

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/ICD10CMEntityType.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ namespace Model
1616
enum class ICD10CMEntityType
1717
{
1818
NOT_SET,
19-
DX_NAME
19+
DX_NAME,
20+
TIME_EXPRESSION
2021
};
2122

2223
namespace ICD10CMEntityTypeMapper
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace ComprehendMedical
13+
{
14+
namespace Model
15+
{
16+
enum class ICD10CMRelationshipType
17+
{
18+
NOT_SET,
19+
OVERLAP,
20+
SYSTEM_ORGAN_SITE
21+
};
22+
23+
namespace ICD10CMRelationshipTypeMapper
24+
{
25+
AWS_COMPREHENDMEDICAL_API ICD10CMRelationshipType GetICD10CMRelationshipTypeForName(const Aws::String& name);
26+
27+
AWS_COMPREHENDMEDICAL_API Aws::String GetNameForICD10CMRelationshipType(ICD10CMRelationshipType value);
28+
} // namespace ICD10CMRelationshipTypeMapper
29+
} // namespace Model
30+
} // namespace ComprehendMedical
31+
} // namespace Aws

aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/InputDataConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Model
2525

2626
/**
2727
* <p>The input properties for an entities detection job. This includes the name of
28-
* the S3 bucket and the path to the files to be analyzed. See
29-
* <a>batch-manifest</a> for more information. </p><p><h3>See Also:</h3> <a
28+
* the S3 bucket and the path to the files to be analyzed. </p><p><h3>See
29+
* Also:</h3> <a
3030
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InputDataConfig">AWS
3131
* API Reference</a></p>
3232
*/

aws-cpp-sdk-comprehendmedical/source/model/ICD10CMAttribute.cpp

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ ICD10CMAttribute::ICD10CMAttribute() :
3232
m_endOffset(0),
3333
m_endOffsetHasBeenSet(false),
3434
m_textHasBeenSet(false),
35-
m_traitsHasBeenSet(false)
35+
m_traitsHasBeenSet(false),
36+
m_category(ICD10CMEntityType::NOT_SET),
37+
m_categoryHasBeenSet(false),
38+
m_relationshipType(ICD10CMRelationshipType::NOT_SET),
39+
m_relationshipTypeHasBeenSet(false)
3640
{
3741
}
3842

@@ -50,7 +54,11 @@ ICD10CMAttribute::ICD10CMAttribute(JsonView jsonValue) :
5054
m_endOffset(0),
5155
m_endOffsetHasBeenSet(false),
5256
m_textHasBeenSet(false),
53-
m_traitsHasBeenSet(false)
57+
m_traitsHasBeenSet(false),
58+
m_category(ICD10CMEntityType::NOT_SET),
59+
m_categoryHasBeenSet(false),
60+
m_relationshipType(ICD10CMRelationshipType::NOT_SET),
61+
m_relationshipTypeHasBeenSet(false)
5462
{
5563
*this = jsonValue;
5664
}
@@ -116,6 +124,20 @@ ICD10CMAttribute& ICD10CMAttribute::operator =(JsonView jsonValue)
116124
m_traitsHasBeenSet = true;
117125
}
118126

127+
if(jsonValue.ValueExists("Category"))
128+
{
129+
m_category = ICD10CMEntityTypeMapper::GetICD10CMEntityTypeForName(jsonValue.GetString("Category"));
130+
131+
m_categoryHasBeenSet = true;
132+
}
133+
134+
if(jsonValue.ValueExists("RelationshipType"))
135+
{
136+
m_relationshipType = ICD10CMRelationshipTypeMapper::GetICD10CMRelationshipTypeForName(jsonValue.GetString("RelationshipType"));
137+
138+
m_relationshipTypeHasBeenSet = true;
139+
}
140+
119141
return *this;
120142
}
121143

@@ -175,6 +197,16 @@ JsonValue ICD10CMAttribute::Jsonize() const
175197

176198
}
177199

200+
if(m_categoryHasBeenSet)
201+
{
202+
payload.WithString("Category", ICD10CMEntityTypeMapper::GetNameForICD10CMEntityType(m_category));
203+
}
204+
205+
if(m_relationshipTypeHasBeenSet)
206+
{
207+
payload.WithString("RelationshipType", ICD10CMRelationshipTypeMapper::GetNameForICD10CMRelationshipType(m_relationshipType));
208+
}
209+
178210
return payload;
179211
}
180212

aws-cpp-sdk-comprehendmedical/source/model/ICD10CMAttributeType.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ namespace Aws
2525
static const int SYSTEM_ORGAN_SITE_HASH = HashingUtils::HashString("SYSTEM_ORGAN_SITE");
2626
static const int QUALITY_HASH = HashingUtils::HashString("QUALITY");
2727
static const int QUANTITY_HASH = HashingUtils::HashString("QUANTITY");
28+
static const int TIME_TO_DX_NAME_HASH = HashingUtils::HashString("TIME_TO_DX_NAME");
29+
static const int TIME_EXPRESSION_HASH = HashingUtils::HashString("TIME_EXPRESSION");
2830

2931

3032
ICD10CMAttributeType GetICD10CMAttributeTypeForName(const Aws::String& name)
@@ -50,6 +52,14 @@ namespace Aws
5052
{
5153
return ICD10CMAttributeType::QUANTITY;
5254
}
55+
else if (hashCode == TIME_TO_DX_NAME_HASH)
56+
{
57+
return ICD10CMAttributeType::TIME_TO_DX_NAME;
58+
}
59+
else if (hashCode == TIME_EXPRESSION_HASH)
60+
{
61+
return ICD10CMAttributeType::TIME_EXPRESSION;
62+
}
5363
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
5464
if(overflowContainer)
5565
{
@@ -74,6 +84,10 @@ namespace Aws
7484
return "QUALITY";
7585
case ICD10CMAttributeType::QUANTITY:
7686
return "QUANTITY";
87+
case ICD10CMAttributeType::TIME_TO_DX_NAME:
88+
return "TIME_TO_DX_NAME";
89+
case ICD10CMAttributeType::TIME_EXPRESSION:
90+
return "TIME_EXPRESSION";
7791
default:
7892
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
7993
if(overflowContainer)

0 commit comments

Comments
 (0)