File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
generator/ServiceClientGeneratorLib/Generators/SourceFiles
sdk/src/Core/Amazon.Runtime/Internal Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -711,12 +711,12 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
711711 }
712712 if ( this . StructureType == StructureType . Request )
713713 {
714- // Add PaginationKey attribute to Request Pagination properties that will be used by PowerShell for Auto-Iteration
714+ // Add PaginationRequestKey attribute to Request Pagination properties that will be used by PowerShell for Auto-Iteration
715715 bool hasPaginatorInputToken = this . StructureType == StructureType . Request && this . Operation ? . Paginators ? . InputTokens . Any ( x => x . PropertyName == member . PropertyName ) == true ;
716716 bool hasPaginatorLimitKey = this . StructureType == StructureType . Request && this . Operation ? . Paginators ? . LimitKey ? . PropertyName == member . PropertyName ;
717717 if ( hasPaginatorInputToken || hasPaginatorLimitKey )
718718 {
719- propertyAttributes . Add ( "PaginationKey =true" ) ;
719+ propertyAttributes . Add ( "PaginationRequestKey =true" ) ;
720720 }
721721 }
722722
Original file line number Diff line number Diff line change @@ -222,12 +222,12 @@ namespace <#=this.Config.Namespace#>.Model
222222 }
223223 if (this.StructureType == StructureType.Request)
224224 {
225- // Add PaginationKey attribute to Request Pagination properties that will be used by PowerShell for Auto-Iteration
225+ // Add PaginationRequestKey attribute to Request Pagination properties that will be used by PowerShell for Auto-Iteration
226226 bool hasPaginatorInputToken = this.StructureType == StructureType.Request && this.Operation?.Paginators?.InputTokens.Any(x => x.PropertyName == member.PropertyName) == true;
227227 bool hasPaginatorLimitKey = this.StructureType == StructureType.Request && this.Operation?.Paginators?.LimitKey?.PropertyName == member.PropertyName;
228228 if (hasPaginatorInputToken || hasPaginatorLimitKey)
229229 {
230- propertyAttributes.Add("PaginationKey =true");
230+ propertyAttributes.Add("PaginationRequestKey =true");
231231 }
232232 }
233233
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public sealed class AWSPropertyAttribute : Attribute
99 private long max ;
1010 public bool Sensitive { get ; set ; }
1111 public bool Required { get ; set ; }
12- public bool PaginationKey { get ; set ; }
12+ public bool PaginationRequestKey { get ; set ; }
1313
1414 public bool IsMinSet { get ; private set ; }
1515 public long Min
You can’t perform that action at this time.
0 commit comments