Skip to content

Commit 4fb94d1

Browse files
Change API Reference Documentation for default Mode in Accounting and SlurmRest
1 parent d9716d1 commit 4fb94d1

File tree

10 files changed

+71
-71
lines changed

10 files changed

+71
-71
lines changed

generator/ServiceModels/pcs/pcs-2023-02-10.docs.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"AccountingMode": {
4343
"base": null,
4444
"refs": {
45-
"Accounting$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>",
46-
"AccountingRequest$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>",
47-
"UpdateAccountingRequest$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
45+
"Accounting$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>",
46+
"AccountingRequest$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>",
47+
"UpdateAccountingRequest$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
4848
}
4949
},
5050
"AccountingRequest": {
@@ -381,7 +381,7 @@
381381
}
382382
},
383383
"JwtKey": {
384-
"base": "<p>The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.</p>",
384+
"base": "<p>The JWT key stored in Amazon Web Services Secrets Manager for Slurm REST API authentication.</p>",
385385
"refs": {
386386
"JwtAuth$jwtKey": "<p>The JWT key for Slurm REST API authentication.</p>"
387387
}
@@ -670,9 +670,9 @@
670670
"SlurmRestMode": {
671671
"base": null,
672672
"refs": {
673-
"SlurmRest$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>",
674-
"SlurmRestRequest$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>",
675-
"UpdateSlurmRestRequest$mode": "<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
673+
"SlurmRest$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>",
674+
"SlurmRestRequest$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>",
675+
"UpdateSlurmRestRequest$mode": "<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
676676
}
677677
},
678678
"SlurmRestRequest": {
@@ -725,8 +725,8 @@
725725
"ErrorInfo$message": "<p>The detailed error information.</p>",
726726
"InstanceConfig$instanceType": "<p>The EC2 instance type that PCS can provision in the compute node group.</p> <p> Example: <code>t2.xlarge</code> </p>",
727727
"InternalServerException$message": null,
728-
"JwtKey$secretArn": "<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.</p>",
729-
"JwtKey$secretVersion": "<p>The version of the AWS Secrets Manager secret containing the JWT key.</p>",
728+
"JwtKey$secretArn": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the JWT key.</p>",
729+
"JwtKey$secretVersion": "<p>The version of the Amazon Web Services Secrets Manager secret containing the JWT key.</p>",
730730
"ListClustersRequest$nextToken": "<p>The value of <code>nextToken</code> is a unique pagination token for each page of results returned. If <code>nextToken</code> is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an <code>HTTP 400 InvalidToken</code> error.</p>",
731731
"ListClustersResponse$nextToken": "<p>The value of <code>nextToken</code> is a unique pagination token for each page of results returned. If <code>nextToken</code> is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an <code>HTTP 400 InvalidToken</code> error.</p>",
732732
"ListComputeNodeGroupsRequest$nextToken": "<p>The value of <code>nextToken</code> is a unique pagination token for each page of results returned. If <code>nextToken</code> is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an <code>HTTP 400 InvalidToken</code> error.</p>",

generator/ServiceModels/pcs/pcs-2023-02-10.normal.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
},
383383
"mode":{
384384
"shape":"AccountingMode",
385-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
385+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
386386
}
387387
},
388388
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
@@ -410,7 +410,7 @@
410410
},
411411
"mode":{
412412
"shape":"AccountingMode",
413-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
413+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
414414
}
415415
},
416416
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
@@ -1252,14 +1252,14 @@
12521252
"members":{
12531253
"secretArn":{
12541254
"shape":"String",
1255-
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.</p>"
1255+
"documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the JWT key.</p>"
12561256
},
12571257
"secretVersion":{
12581258
"shape":"String",
1259-
"documentation":"<p>The version of the AWS Secrets Manager secret containing the JWT key.</p>"
1259+
"documentation":"<p>The version of the Amazon Web Services Secrets Manager secret containing the JWT key.</p>"
12601260
}
12611261
},
1262-
"documentation":"<p>The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.</p>"
1262+
"documentation":"<p>The JWT key stored in Amazon Web Services Secrets Manager for Slurm REST API authentication.</p>"
12631263
},
12641264
"ListClustersRequest":{
12651265
"type":"structure",
@@ -1842,7 +1842,7 @@
18421842
"members":{
18431843
"mode":{
18441844
"shape":"SlurmRestMode",
1845-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
1845+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
18461846
}
18471847
},
18481848
"documentation":"<p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
@@ -1860,7 +1860,7 @@
18601860
"members":{
18611861
"mode":{
18621862
"shape":"SlurmRestMode",
1863-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
1863+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
18641864
}
18651865
},
18661866
"documentation":"<p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
@@ -1982,7 +1982,7 @@
19821982
},
19831983
"mode":{
19841984
"shape":"AccountingMode",
1985-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
1985+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
19861986
}
19871987
},
19881988
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
@@ -2161,7 +2161,7 @@
21612161
"members":{
21622162
"mode":{
21632163
"shape":"SlurmRestMode",
2164-
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
2164+
"documentation":"<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>"
21652165
}
21662166
},
21672167
"documentation":"<p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.</p>"

generator/ServiceModels/pcs/pcs-2023-02-10.smoke2.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
{
22
"version" : 2,
33
"testCases" : [ {
4-
"id" : "ListClustersSuccess",
5-
"operationName" : "ListClusters",
6-
"input" : { },
7-
"expectation" : {
8-
"success" : { }
9-
},
10-
"config" : {
11-
"region" : "us-west-2",
12-
"useFips" : false,
13-
"useDualstack" : false,
14-
"useAccountIdRouting" : true
15-
}
16-
}, {
174
"id" : "GetComputeNodeGroup_AccessDeniedException",
185
"operationName" : "GetComputeNodeGroup",
196
"input" : {
@@ -32,11 +19,10 @@
3219
"useAccountIdRouting" : true
3320
}
3421
}, {
35-
"id" : "GetQueueFailure_AccessDeniedException",
36-
"operationName" : "GetQueue",
22+
"id" : "UpdateCluster_AccessDeniedException",
23+
"operationName" : "UpdateCluster",
3724
"input" : {
38-
"clusterIdentifier" : "pcs_donotexist",
39-
"queueIdentifier" : "pcs_donotexist"
25+
"clusterIdentifier" : "pcs_donotexist"
4026
},
4127
"expectation" : {
4228
"failure" : {
@@ -50,8 +36,8 @@
5036
"useAccountIdRouting" : true
5137
}
5238
}, {
53-
"id" : "GetCluster_AccessDeniedException",
54-
"operationName" : "GetCluster",
39+
"id" : "ListQueueFailure_AccessDeniedException",
40+
"operationName" : "ListQueues",
5541
"input" : {
5642
"clusterIdentifier" : "pcs_donotexist"
5743
},
@@ -67,16 +53,43 @@
6753
"useAccountIdRouting" : true
6854
}
6955
}, {
70-
"id" : "ListQueueFailure_AccessDeniedException",
71-
"operationName" : "ListQueues",
56+
"id" : "InstanceArnSuccess",
57+
"operationName" : "CreateComputeNodeGroup",
7258
"input" : {
73-
"clusterIdentifier" : "pcs_donotexist"
59+
"clusterIdentifier" : "testCluster",
60+
"computeNodeGroupName" : "testNodeGroupName",
61+
"subnetIds" : [ "subnet-0cbf727bae9405b47" ],
62+
"scalingConfiguration" : {
63+
"minInstanceCount" : 1,
64+
"maxInstanceCount" : 1
65+
},
66+
"iamInstanceProfileArn" : "arn:aws:iam::975050141277:instance-profile/aws-pcs/example-role-2",
67+
"customLaunchTemplate" : {
68+
"id" : "lt-0b8f8ee3f92b73dc0",
69+
"version" : "1"
70+
},
71+
"instanceConfigs" : [ {
72+
"instanceType" : "t3.medium"
73+
} ]
7474
},
7575
"expectation" : {
7676
"failure" : {
7777
"errorId" : "AccessDeniedException"
7878
}
7979
},
80+
"config" : {
81+
"region" : "us-east-1",
82+
"useFips" : false,
83+
"useDualstack" : false,
84+
"useAccountIdRouting" : true
85+
}
86+
}, {
87+
"id" : "ListClustersSuccess",
88+
"operationName" : "ListClusters",
89+
"input" : { },
90+
"expectation" : {
91+
"success" : { }
92+
},
8093
"config" : {
8194
"region" : "us-west-2",
8295
"useFips" : false,
@@ -101,41 +114,28 @@
101114
"useAccountIdRouting" : true
102115
}
103116
}, {
104-
"id" : "InstanceArnSuccess",
105-
"operationName" : "CreateComputeNodeGroup",
117+
"id" : "GetCluster_AccessDeniedException",
118+
"operationName" : "GetCluster",
106119
"input" : {
107-
"clusterIdentifier" : "testCluster",
108-
"computeNodeGroupName" : "testNodeGroupName",
109-
"subnetIds" : [ "subnet-0cbf727bae9405b47" ],
110-
"scalingConfiguration" : {
111-
"minInstanceCount" : 1,
112-
"maxInstanceCount" : 1
113-
},
114-
"iamInstanceProfileArn" : "arn:aws:iam::975050141277:instance-profile/aws-pcs/example-role-2",
115-
"customLaunchTemplate" : {
116-
"id" : "lt-0b8f8ee3f92b73dc0",
117-
"version" : "1"
118-
},
119-
"instanceConfigs" : [ {
120-
"instanceType" : "t3.medium"
121-
} ]
120+
"clusterIdentifier" : "pcs_donotexist"
122121
},
123122
"expectation" : {
124123
"failure" : {
125124
"errorId" : "AccessDeniedException"
126125
}
127126
},
128127
"config" : {
129-
"region" : "us-east-1",
128+
"region" : "us-west-2",
130129
"useFips" : false,
131130
"useDualstack" : false,
132131
"useAccountIdRouting" : true
133132
}
134133
}, {
135-
"id" : "UpdateCluster_AccessDeniedException",
136-
"operationName" : "UpdateCluster",
134+
"id" : "GetQueueFailure_AccessDeniedException",
135+
"operationName" : "GetQueue",
137136
"input" : {
138-
"clusterIdentifier" : "pcs_donotexist"
137+
"clusterIdentifier" : "pcs_donotexist",
138+
"queueIdentifier" : "pcs_donotexist"
139139
},
140140
"expectation" : {
141141
"failure" : {

sdk/src/Services/PCS/Generated/Model/Accounting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ internal bool IsSetDefaultPurgeTimeInDays()
7676
/// <summary>
7777
/// Gets and sets the property Mode.
7878
/// <para>
79-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
79+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
8080
/// Slurm accounting is enabled.
8181
/// </para>
8282
/// </summary>

sdk/src/Services/PCS/Generated/Model/AccountingRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ internal bool IsSetDefaultPurgeTimeInDays()
7676
/// <summary>
7777
/// Gets and sets the property Mode.
7878
/// <para>
79-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
79+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
8080
/// Slurm accounting is enabled.
8181
/// </para>
8282
/// </summary>

sdk/src/Services/PCS/Generated/Model/JwtKey.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
namespace Amazon.PCS.Model
3131
{
3232
/// <summary>
33-
/// The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.
33+
/// The JWT key stored in Amazon Web Services Secrets Manager for Slurm REST API authentication.
3434
/// </summary>
3535
public partial class JwtKey
3636
{
@@ -40,8 +40,8 @@ public partial class JwtKey
4040
/// <summary>
4141
/// Gets and sets the property SecretArn.
4242
/// <para>
43-
/// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT
44-
/// key.
43+
/// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing
44+
/// the JWT key.
4545
/// </para>
4646
/// </summary>
4747
[AWSProperty(Required=true)]
@@ -60,7 +60,7 @@ internal bool IsSetSecretArn()
6060
/// <summary>
6161
/// Gets and sets the property SecretVersion.
6262
/// <para>
63-
/// The version of the AWS Secrets Manager secret containing the JWT key.
63+
/// The version of the Amazon Web Services Secrets Manager secret containing the JWT key.
6464
/// </para>
6565
/// </summary>
6666
[AWSProperty(Required=true)]

sdk/src/Services/PCS/Generated/Model/SlurmRest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public partial class SlurmRest
4040
/// <summary>
4141
/// Gets and sets the property Mode.
4242
/// <para>
43-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
43+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
4444
/// the Slurm REST API is enabled.
4545
/// </para>
4646
/// </summary>

sdk/src/Services/PCS/Generated/Model/SlurmRestRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public partial class SlurmRestRequest
4040
/// <summary>
4141
/// Gets and sets the property Mode.
4242
/// <para>
43-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
43+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
4444
/// the Slurm REST API is enabled.
4545
/// </para>
4646
/// </summary>

sdk/src/Services/PCS/Generated/Model/UpdateAccountingRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ internal bool IsSetDefaultPurgeTimeInDays()
7575
/// <summary>
7676
/// Gets and sets the property Mode.
7777
/// <para>
78-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
78+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
7979
/// Slurm accounting is enabled.
8080
/// </para>
8181
/// </summary>

sdk/src/Services/PCS/Generated/Model/UpdateSlurmRestRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public partial class UpdateSlurmRestRequest
4040
/// <summary>
4141
/// Gets and sets the property Mode.
4242
/// <para>
43-
/// The default value for <c>mode</c> is <c>STANDARD</c>. A value of <c>STANDARD</c> means
43+
/// The default value for <c>mode</c> is <c>NONE</c>. A value of <c>STANDARD</c> means
4444
/// the Slurm REST API is enabled.
4545
/// </para>
4646
/// </summary>

0 commit comments

Comments
 (0)