| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTDeviceAdvisor.CreateSuiteDefinition
Description
Creates a Device Advisor test suite.
Requires permission to access the CreateSuiteDefinition action.
Synopsis
- data CreateSuiteDefinition = CreateSuiteDefinition' {}
- newCreateSuiteDefinition :: SuiteDefinitionConfiguration -> CreateSuiteDefinition
- createSuiteDefinition_tags :: Lens' CreateSuiteDefinition (Maybe (HashMap Text Text))
- createSuiteDefinition_suiteDefinitionConfiguration :: Lens' CreateSuiteDefinition SuiteDefinitionConfiguration
- data CreateSuiteDefinitionResponse = CreateSuiteDefinitionResponse' {}
- newCreateSuiteDefinitionResponse :: Int -> CreateSuiteDefinitionResponse
- createSuiteDefinitionResponse_createdAt :: Lens' CreateSuiteDefinitionResponse (Maybe UTCTime)
- createSuiteDefinitionResponse_suiteDefinitionArn :: Lens' CreateSuiteDefinitionResponse (Maybe Text)
- createSuiteDefinitionResponse_suiteDefinitionId :: Lens' CreateSuiteDefinitionResponse (Maybe Text)
- createSuiteDefinitionResponse_suiteDefinitionName :: Lens' CreateSuiteDefinitionResponse (Maybe Text)
- createSuiteDefinitionResponse_httpStatus :: Lens' CreateSuiteDefinitionResponse Int
Creating a Request
data CreateSuiteDefinition Source #
See: newCreateSuiteDefinition smart constructor.
Constructors
| CreateSuiteDefinition' | |
Fields
| |
Instances
newCreateSuiteDefinition Source #
Arguments
| :: SuiteDefinitionConfiguration | |
| -> CreateSuiteDefinition |
Create a value of CreateSuiteDefinition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:CreateSuiteDefinition', createSuiteDefinition_tags - The tags to be attached to the suite definition.
$sel:suiteDefinitionConfiguration:CreateSuiteDefinition', createSuiteDefinition_suiteDefinitionConfiguration - Creates a Device Advisor test suite with suite definition configuration.
Request Lenses
createSuiteDefinition_tags :: Lens' CreateSuiteDefinition (Maybe (HashMap Text Text)) Source #
The tags to be attached to the suite definition.
createSuiteDefinition_suiteDefinitionConfiguration :: Lens' CreateSuiteDefinition SuiteDefinitionConfiguration Source #
Creates a Device Advisor test suite with suite definition configuration.
Destructuring the Response
data CreateSuiteDefinitionResponse Source #
See: newCreateSuiteDefinitionResponse smart constructor.
Constructors
| CreateSuiteDefinitionResponse' | |
Fields
| |
Instances
newCreateSuiteDefinitionResponse Source #
Create a value of CreateSuiteDefinitionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateSuiteDefinitionResponse, createSuiteDefinitionResponse_createdAt - The timestamp of when the test suite was created.
$sel:suiteDefinitionArn:CreateSuiteDefinitionResponse', createSuiteDefinitionResponse_suiteDefinitionArn - The Amazon Resource Name (ARN) of the test suite.
CreateSuiteDefinitionResponse, createSuiteDefinitionResponse_suiteDefinitionId - The UUID of the test suite created.
CreateSuiteDefinitionResponse, createSuiteDefinitionResponse_suiteDefinitionName - The suite definition name of the test suite. This is a required
parameter.
$sel:httpStatus:CreateSuiteDefinitionResponse', createSuiteDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
createSuiteDefinitionResponse_createdAt :: Lens' CreateSuiteDefinitionResponse (Maybe UTCTime) Source #
The timestamp of when the test suite was created.
createSuiteDefinitionResponse_suiteDefinitionArn :: Lens' CreateSuiteDefinitionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the test suite.
createSuiteDefinitionResponse_suiteDefinitionId :: Lens' CreateSuiteDefinitionResponse (Maybe Text) Source #
The UUID of the test suite created.
createSuiteDefinitionResponse_suiteDefinitionName :: Lens' CreateSuiteDefinitionResponse (Maybe Text) Source #
The suite definition name of the test suite. This is a required parameter.
createSuiteDefinitionResponse_httpStatus :: Lens' CreateSuiteDefinitionResponse Int Source #
The response's http status code.