File tree Expand file tree Collapse file tree 5 files changed +102
-1
lines changed
docgenerator/AWSSDKDocSamples Expand file tree Collapse file tree 5 files changed +102
-1
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <docs >
3+ <doc >
4+ <members >
5+ <member name =" M:Amazon.ARCRegionswitch.IAmazonARCRegionswitch.ListRoute53HealthChecksInRegion(Amazon.ARCRegionswitch.Model.ListRoute53HealthChecksInRegionRequest)" />
6+ <member name =" M:Amazon.ARCRegionswitch.AmazonARCRegionswitchClient.ListRoute53HealthChecksInRegion(Amazon.ARCRegionswitch.Model.ListRoute53HealthChecksInRegionRequest)" />
7+ <member name =" T:Amazon.ARCRegionswitch.Model.ListRoute53HealthChecksInRegionRequest" />
8+ <member name =" T:Amazon.ARCRegionswitch.Model.ListRoute53HealthChecksInRegionResponse" />
9+ </members >
10+ <value >
11+ <example >
12+ <para >
13+
14+ </para >
15+ <code
16+ title =" Example ListRoute53HealthChecksInRegion"
17+ source =" .\AWSSDKDocSamples\ARCRegionswitch\ARCRegionswitch.GeneratedSamples.cs"
18+ region =" example-1" />
19+ </example >
20+ </value >
21+ </doc >
22+ </docs >
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Threading . Tasks ;
6+
7+ using Amazon . ARCRegionswitch ;
8+ using Amazon . ARCRegionswitch . Model ;
9+
10+ namespace AWSSDKDocSamples . Amazon . ARCRegionswitch . Generated
11+ {
12+ class ARCRegionswitchSamples : ISample
13+ {
14+ public void ARCRegionswitchListRoute53HealthChecksInRegion ( )
15+ {
16+ #region example-1
17+
18+ var client = new AmazonARCRegionswitchClient ( ) ;
19+ var response = client . ListRoute53HealthChecksInRegion ( new ListRoute53HealthChecksInRegionRequest
20+ {
21+ Arn = "arn:aws:arc-region-switch::123456789012:plan/example:000000" ,
22+ HostedZoneId = "Z0123456789ABCDEFGHI" ,
23+ MaxResults = 10 ,
24+ NextToken = "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ" ,
25+ RecordName = "my.record.name"
26+ } ) ;
27+
28+ List < Route53HealthCheck > healthChecks = response . HealthChecks ;
29+
30+ #endregion
31+ }
32+
33+
34+ # region ISample Members
35+ public virtual void Run ( )
36+ {
37+
38+ }
39+ # endregion
40+
41+ }
42+ }
Original file line number Diff line number Diff line change 119119 </example >
120120 </value >
121121 </doc >
122+ <doc >
123+ <members >
124+ <member name =" M:Amazon.Artifact.IAmazonArtifact.ListReportVersions(Amazon.Artifact.Model.ListReportVersionsRequest)" />
125+ <member name =" M:Amazon.Artifact.AmazonArtifactClient.ListReportVersions(Amazon.Artifact.Model.ListReportVersionsRequest)" />
126+ <member name =" T:Amazon.Artifact.Model.ListReportVersionsRequest" />
127+ <member name =" T:Amazon.Artifact.Model.ListReportVersionsResponse" />
128+ </members >
129+ <value >
130+ <example >
131+ <para >
132+ The ListReportVersions operation returns a collection of report versions
133+ for a given resource.
134+ </para >
135+ <code
136+ title =" Invoke ListReportVersions operation"
137+ source =" .\AWSSDKDocSamples\Artifact\Artifact.GeneratedSamples.cs"
138+ region =" example-1" />
139+ </example >
140+ </value >
141+ </doc >
122142 <doc >
123143 <members >
124144 <member name =" M:Amazon.Artifact.IAmazonArtifact.PutAccountSettings(Amazon.Artifact.Model.PutAccountSettingsRequest)" />
Original file line number Diff line number Diff line change @@ -102,6 +102,22 @@ public void ArtifactListReports()
102102 #endregion
103103 }
104104
105+ public void ArtifactListReportVersions ( )
106+ {
107+ #region example-1
108+
109+ var client = new AmazonArtifactClient ( ) ;
110+ var response = client . ListReportVersions ( new ListReportVersionsRequest
111+ {
112+ ReportId = "report-abcdef0123456789"
113+ } ) ;
114+
115+ string nextToken = response . NextToken ;
116+ List < ReportSummary > reports = response . Reports ;
117+
118+ #endregion
119+ }
120+
105121 public void ArtifactPutAccountSettings ( )
106122 {
107123 #region example-1
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ public void ECRCreateRepositoryCreationTemplate()
7373 {
7474 AppliedFor = new List < string > {
7575 "REPLICATION" ,
76- "PULL_THROUGH_CACHE"
76+ "PULL_THROUGH_CACHE" ,
77+ "CREATE_ON_PUSH"
7778 } ,
7879 Description = "Repos for testing images" ,
7980 EncryptionConfiguration = new EncryptionConfigurationForRepositoryCreationTemplate { EncryptionType = "AES256" } ,
You can’t perform that action at this time.
0 commit comments