diff --git a/generator/.DevConfigs/41e192e0-a1cd-4de1-a0c1-e4740980a921.json b/generator/.DevConfigs/41e192e0-a1cd-4de1-a0c1-e4740980a921.json new file mode 100644 index 000000000000..0395f5efde75 --- /dev/null +++ b/generator/.DevConfigs/41e192e0-a1cd-4de1-a0c1-e4740980a921.json @@ -0,0 +1,11 @@ +{ + "services": [ + { + "serviceName": "DynamoDBv2", + "type": "patch", + "changeLogMessages": [ + "Pull Request [#3547](https://github.com/aws/aws-sdk-net/pull/3547): Correct XML docs for DataModel attributes" + ] + } + ] +} \ No newline at end of file diff --git a/sdk/src/Services/DynamoDBv2/Custom/DataModel/Attributes.cs b/sdk/src/Services/DynamoDBv2/Custom/DataModel/Attributes.cs index 43820595b923..77c8231db416 100644 --- a/sdk/src/Services/DynamoDBv2/Custom/DataModel/Attributes.cs +++ b/sdk/src/Services/DynamoDBv2/Custom/DataModel/Attributes.cs @@ -244,7 +244,7 @@ public DynamoDBPropertyAttribute(string attributeName, bool storeAsEpoch) /// DynamoDB property that marks up current member as a hash key element. /// Exactly one member in a class must be marked with this attribute. /// - /// Members that are marked as hash key must be convertible to + /// Members that are marked as a hash key must be convertible to /// a Primitive object. /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = true, AllowMultiple = false)] @@ -358,14 +358,14 @@ public DynamoDBRangeKeyAttribute(string attributeName, Type converter) public class DynamoDBGlobalSecondaryIndexHashKeyAttribute : DynamoDBHashKeyAttribute { /// - /// Index associated with this range key + /// Indexes associated with this hash key. /// public string[] IndexNames { get; set; } /// - /// Constructor that accepts a single inde name. + /// Constructor that accepts a single index name. /// - /// Name of the Local Secondary Index this range key belongs to. + /// Name of the Global Secondary Index this hash key belongs to. public DynamoDBGlobalSecondaryIndexHashKeyAttribute(string indexName) : base() { @@ -375,7 +375,7 @@ public DynamoDBGlobalSecondaryIndexHashKeyAttribute(string indexName) /// /// Constructor that accepts multiple index names. /// - /// Names of the Local Secondary Indexes this range key belongs to. + /// Names of the Global Secondary Indexes this hash key belongs to. public DynamoDBGlobalSecondaryIndexHashKeyAttribute(params string[] indexNames) : base() { @@ -390,14 +390,14 @@ public DynamoDBGlobalSecondaryIndexHashKeyAttribute(params string[] indexNames) public class DynamoDBGlobalSecondaryIndexRangeKeyAttribute : DynamoDBRangeKeyAttribute { /// - /// Index associated with this range key + /// Indexes associated with this range key. /// public string[] IndexNames { get; set; } /// - /// Constructor that accepts a single inde name. + /// Constructor that accepts a single index name. /// - /// Name of the Local Secondary Index this range key belongs to. + /// Name of the Global Secondary Index this range key belongs to. public DynamoDBGlobalSecondaryIndexRangeKeyAttribute(string indexName) : base() { @@ -407,7 +407,7 @@ public DynamoDBGlobalSecondaryIndexRangeKeyAttribute(string indexName) /// /// Constructor that accepts multiple index names. /// - /// Names of the Local Secondary Indexes this range key belongs to. + /// Names of the Global Secondary Indexes this range key belongs to. public DynamoDBGlobalSecondaryIndexRangeKeyAttribute(params string[] indexNames) : base() { @@ -425,12 +425,12 @@ public DynamoDBGlobalSecondaryIndexRangeKeyAttribute(params string[] indexNames) public sealed class DynamoDBLocalSecondaryIndexRangeKeyAttribute : DynamoDBPropertyAttribute { /// - /// Index associated with this range key + /// Indexes associated with this range key. /// public string[] IndexNames { get; set; } /// - /// Constructor that accepts a single inde name. + /// Constructor that accepts a single index name. /// /// Name of the Local Secondary Index this range key belongs to. public DynamoDBLocalSecondaryIndexRangeKeyAttribute(string indexName)