Skip to content

Commit f17baaf

Browse files
author
awstools
committed
feat(client-lookoutequipment): Remove incorrect endpoint tests
1 parent cc47b0a commit f17baaf

File tree

2 files changed

+10
-54
lines changed

2 files changed

+10
-54
lines changed

clients/client-lookoutequipment/src/commands/CreateRetrainingSchedulerCommand.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ export interface CreateRetrainingSchedulerCommandOutput extends CreateRetraining
8686
* <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
8787
*
8888
*
89-
* @example Creates a retraining scheduler with manual promote mode
89+
* @example Creates a retraining scheduler with a specific start date
9090
* ```javascript
9191
* //
9292
* const input = {
9393
* ClientToken: "sample-client-token",
9494
* LookbackWindow: "P360D",
9595
* ModelName: "sample-model",
96-
* PromoteMode: "MANUAL",
97-
* RetrainingFrequency: "P1M"
96+
* RetrainingFrequency: "P1M",
97+
* RetrainingStartDate: "2024-01-01T00:00:00Z"
9898
* };
9999
* const command = new CreateRetrainingSchedulerCommand(input);
100100
* const response = await client.send(command);
@@ -107,15 +107,15 @@ export interface CreateRetrainingSchedulerCommandOutput extends CreateRetraining
107107
* *\/
108108
* ```
109109
*
110-
* @example Creates a retraining scheduler with a specific start date
110+
* @example Creates a retraining scheduler with manual promote mode
111111
* ```javascript
112112
* //
113113
* const input = {
114114
* ClientToken: "sample-client-token",
115115
* LookbackWindow: "P360D",
116116
* ModelName: "sample-model",
117-
* RetrainingFrequency: "P1M",
118-
* RetrainingStartDate: "2024-01-01T00:00:00Z"
117+
* PromoteMode: "MANUAL",
118+
* RetrainingFrequency: "P1M"
119119
* };
120120
* const command = new CreateRetrainingSchedulerCommand(input);
121121
* const response = await client.send(command);

codegen/sdk-codegen/aws-models/lookoutequipment.json

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -693,17 +693,6 @@
693693
"UseDualStack": false
694694
}
695695
},
696-
{
697-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
698-
"expect": {
699-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
700-
},
701-
"params": {
702-
"Region": "us-iso-east-1",
703-
"UseFIPS": true,
704-
"UseDualStack": true
705-
}
706-
},
707696
{
708697
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
709698
"expect": {
@@ -717,17 +706,6 @@
717706
"UseDualStack": false
718707
}
719708
},
720-
{
721-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
722-
"expect": {
723-
"error": "DualStack is enabled but this partition does not support DualStack"
724-
},
725-
"params": {
726-
"Region": "us-iso-east-1",
727-
"UseFIPS": false,
728-
"UseDualStack": true
729-
}
730-
},
731709
{
732710
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
733711
"expect": {
@@ -741,17 +719,6 @@
741719
"UseDualStack": false
742720
}
743721
},
744-
{
745-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
746-
"expect": {
747-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
748-
},
749-
"params": {
750-
"Region": "us-isob-east-1",
751-
"UseFIPS": true,
752-
"UseDualStack": true
753-
}
754-
},
755722
{
756723
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
757724
"expect": {
@@ -765,17 +732,6 @@
765732
"UseDualStack": false
766733
}
767734
},
768-
{
769-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
770-
"expect": {
771-
"error": "DualStack is enabled but this partition does not support DualStack"
772-
},
773-
"params": {
774-
"Region": "us-isob-east-1",
775-
"UseFIPS": false,
776-
"UseDualStack": true
777-
}
778-
},
779735
{
780736
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
781737
"expect": {
@@ -1655,13 +1611,13 @@
16551611
"smithy.api#documentation": "<p>Creates a retraining scheduler on the specified model. </p>",
16561612
"smithy.api#examples": [
16571613
{
1658-
"title": "Creates a retraining scheduler with manual promote mode",
1614+
"title": "Creates a retraining scheduler with a specific start date",
16591615
"documentation": "",
16601616
"input": {
16611617
"ModelName": "sample-model",
1618+
"RetrainingStartDate": "2024-01-01T00:00:00Z",
16621619
"RetrainingFrequency": "P1M",
16631620
"LookbackWindow": "P360D",
1664-
"PromoteMode": "MANUAL",
16651621
"ClientToken": "sample-client-token"
16661622
},
16671623
"output": {
@@ -1671,13 +1627,13 @@
16711627
}
16721628
},
16731629
{
1674-
"title": "Creates a retraining scheduler with a specific start date",
1630+
"title": "Creates a retraining scheduler with manual promote mode",
16751631
"documentation": "",
16761632
"input": {
16771633
"ModelName": "sample-model",
1678-
"RetrainingStartDate": "2024-01-01T00:00:00Z",
16791634
"RetrainingFrequency": "P1M",
16801635
"LookbackWindow": "P360D",
1636+
"PromoteMode": "MANUAL",
16811637
"ClientToken": "sample-client-token"
16821638
},
16831639
"output": {

0 commit comments

Comments
 (0)