Skip to content

Commit

Permalink
feat(client-iotdeviceadvisor): AWS IoT Core Device Advisor now suppor…
Browse files Browse the repository at this point in the history
…ts new Qualification Suite test case list. With this update, customers can more easily create new qualification test suite with an empty rootGroup input.
  • Loading branch information
awstools committed Jun 7, 2023
1 parent f96195b commit 1f9abd0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
32 changes: 21 additions & 11 deletions clients/client-iotdeviceadvisor/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,18 @@ export interface SuiteDefinitionConfiguration {
isLongDurationTest?: boolean;

/**
* <p>Gets the test suite root group. This is a required parameter.</p>
* <p>Gets the test suite root group. This is a required parameter.
* For updating or creating the latest qualification suite,
* if <code>intendedForQualification</code> is set to true,
* <code>rootGroup</code> can be an empty string. If <code>intendedForQualification</code> is false,
* <code>rootGroup</code> cannot be an empty string.
* If <code>rootGroup</code> is empty, and
* <code>intendedForQualification</code> is set to true,
* all the qualification tests are included, and the configuration is default.</p>
* <p>
* For a qualification suite, the minimum length is 0, and the maximum is 2048. For a
* non-qualification suite, the minimum length is 1, and the maximum is 2048.
* </p>
*/
rootGroup: string | undefined;

Expand Down Expand Up @@ -368,8 +379,8 @@ export type SuiteRunStatus = (typeof SuiteRunStatus)[keyof typeof SuiteRunStatus
*/
export interface SuiteRunConfiguration {
/**
* <p>Sets the primary device for the test suite run. This requires
* a thing ARN or a certificate ARN.</p>
* <p>Sets the primary device for the test suite run. This requires a thing ARN or a
* certificate ARN.</p>
*/
primaryDevice: DeviceUnderTest | undefined;

Expand Down Expand Up @@ -511,8 +522,7 @@ export interface TestCaseScenario {
failure?: string;

/**
* <p>
* </p>
* <p>Provides test case scenario system messages if any.</p>
*/
systemMessage?: string;
}
Expand Down Expand Up @@ -904,8 +914,8 @@ export interface ListSuiteRunsResponse {
*/
export interface ListTagsForResourceRequest {
/**
* <p>The resource ARN of the IoT Device Advisor resource.
* This can be SuiteDefinition ARN or SuiteRun ARN.</p>
* <p>The resource ARN of the IoT Device Advisor resource. This can be SuiteDefinition ARN or
* SuiteRun ARN.</p>
*/
resourceArn: string | undefined;
}
Expand Down Expand Up @@ -995,8 +1005,8 @@ export interface StopSuiteRunResponse {}
*/
export interface TagResourceRequest {
/**
* <p>The resource ARN of an IoT Device Advisor resource.
* This can be SuiteDefinition ARN or SuiteRun ARN.</p>
* <p>The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or
* SuiteRun ARN.</p>
*/
resourceArn: string | undefined;

Expand All @@ -1016,8 +1026,8 @@ export interface TagResourceResponse {}
*/
export interface UntagResourceRequest {
/**
* <p>The resource ARN of an IoT Device Advisor resource.
* This can be SuiteDefinition ARN or SuiteRun ARN.</p>
* <p>The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or
* SuiteRun ARN.</p>
*/
resourceArn: string | undefined;

Expand Down
14 changes: 7 additions & 7 deletions codegen/sdk-codegen/aws-models/iotdeviceadvisor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@
"resourceArn": {
"target": "com.amazonaws.iotdeviceadvisor#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN of the IoT Device Advisor resource.\n This can be SuiteDefinition ARN or SuiteRun ARN.</p>",
"smithy.api#documentation": "<p>The resource ARN of the IoT Device Advisor resource. This can be SuiteDefinition ARN or\n SuiteRun ARN.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
Expand Down Expand Up @@ -1757,7 +1757,7 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"min": 0,
"max": 2048
}
}
Expand Down Expand Up @@ -2038,7 +2038,7 @@
"rootGroup": {
"target": "com.amazonaws.iotdeviceadvisor#RootGroup",
"traits": {
"smithy.api#documentation": "<p>Gets the test suite root group. This is a required parameter.</p>",
"smithy.api#documentation": "<p>Gets the test suite root group. This is a required parameter.\n For updating or creating the latest qualification suite, \n if <code>intendedForQualification</code> is set to true, \n <code>rootGroup</code> can be an empty string. If <code>intendedForQualification</code> is false, \n <code>rootGroup</code> cannot be an empty string.\n If <code>rootGroup</code> is empty, and \n <code>intendedForQualification</code> is set to true, \n all the qualification tests are included, and the configuration is default.</p>\n <p>\n For a qualification suite, the minimum length is 0, and the maximum is 2048. For a \n non-qualification suite, the minimum length is 1, and the maximum is 2048.\n </p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -2142,7 +2142,7 @@
"primaryDevice": {
"target": "com.amazonaws.iotdeviceadvisor#DeviceUnderTest",
"traits": {
"smithy.api#documentation": "<p>Sets the primary device for the test suite run. This requires\n a thing ARN or a certificate ARN.</p>",
"smithy.api#documentation": "<p>Sets the primary device for the test suite run. This requires a thing ARN or a\n certificate ARN.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -2373,7 +2373,7 @@
"resourceArn": {
"target": "com.amazonaws.iotdeviceadvisor#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN of an IoT Device Advisor resource. \n This can be SuiteDefinition ARN or SuiteRun ARN.</p>",
"smithy.api#documentation": "<p>The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or\n SuiteRun ARN.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
Expand Down Expand Up @@ -2507,7 +2507,7 @@
"systemMessage": {
"target": "com.amazonaws.iotdeviceadvisor#SystemMessage",
"traits": {
"smithy.api#documentation": "<p>\n </p>"
"smithy.api#documentation": "<p>Provides test case scenario system messages if any.</p>"
}
}
},
Expand Down Expand Up @@ -2669,7 +2669,7 @@
"resourceArn": {
"target": "com.amazonaws.iotdeviceadvisor#AmazonResourceName",
"traits": {
"smithy.api#documentation": "<p>The resource ARN of an IoT Device Advisor resource.\n This can be SuiteDefinition ARN or SuiteRun ARN.</p>",
"smithy.api#documentation": "<p>The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or\n SuiteRun ARN.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
Expand Down

0 comments on commit 1f9abd0

Please sign in to comment.