« blib/lib/Paws/IoTDeviceAdvisor/ListTagsForResourceResponse.pm
↑ Summary
blib/lib/Paws/IoTDeviceAdvisor/StartSuiteRunResponse.pm »
| 1 | |||
| 2 | package Paws::IoTDeviceAdvisor::StartSuiteRun; | ||
| 3 | use Moose; | ||
| 4 | has SuiteDefinitionId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'suiteDefinitionId', required => 1); | ||
| 5 | has SuiteDefinitionVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'suiteDefinitionVersion'); | ||
| 6 | has SuiteRunConfiguration => (is => 'ro', isa => 'Paws::IoTDeviceAdvisor::SuiteRunConfiguration', traits => ['NameInRequest'], request_name => 'suiteRunConfiguration'); | ||
| 7 | has Tags => (is => 'ro', isa => 'Paws::IoTDeviceAdvisor::TagMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartSuiteRun'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/suiteDefinitions/{suiteDefinitionId}/suiteRuns'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTDeviceAdvisor::StartSuiteRunResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::IoTDeviceAdvisor::StartSuiteRun - Arguments for method StartSuiteRun on L<Paws::IoTDeviceAdvisor> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method StartSuiteRun on the | ||
| 26 | L<AWS IoT Core Device Advisor|Paws::IoTDeviceAdvisor> service. Use the attributes of this class | ||
| 27 | as arguments to method StartSuiteRun. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartSuiteRun. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $api.iotdeviceadvisor = Paws->service('IoTDeviceAdvisor'); | ||
| 34 | my $StartSuiteRunResponse = $api . iotdeviceadvisor->StartSuiteRun( | ||
| 35 | SuiteDefinitionId => 'MyUUID', | ||
| 36 | SuiteDefinitionVersion => 'MySuiteDefinitionVersion', # OPTIONAL | ||
| 37 | SuiteRunConfiguration => { | ||
| 38 | PrimaryDevice => { | ||
| 39 | CertificateArn => | ||
| 40 | 'MyAmazonResourceName', # min: 20, max: 2048; OPTIONAL | ||
| 41 | ThingArn => 'MyAmazonResourceName', # min: 20, max: 2048; OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | SelectedTestList => [ | ||
| 44 | 'MyUUID', ... # min: 12, max: 36 | ||
| 45 | ], # max: 100; OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | Tags => { | ||
| 48 | 'MyString128' => | ||
| 49 | 'MyString256', # key: min: 1, max: 128, value: min: 1, max: 256 | ||
| 50 | }, # OPTIONAL | ||
| 51 | ); | ||
| 52 | |||
| 53 | # Results: | ||
| 54 | my $CreatedAt = $StartSuiteRunResponse->CreatedAt; | ||
| 55 | my $SuiteRunArn = $StartSuiteRunResponse->SuiteRunArn; | ||
| 56 | my $SuiteRunId = $StartSuiteRunResponse->SuiteRunId; | ||
| 57 | |||
| 58 | # Returns a L<Paws::IoTDeviceAdvisor::StartSuiteRunResponse> object. | ||
| 59 | |||
| 60 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 61 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.iotdeviceadvisor/StartSuiteRun> | ||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> SuiteDefinitionId => Str | ||
| 67 | |||
| 68 | Suite definition Id of the test suite. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 SuiteDefinitionVersion => Str | ||
| 73 | |||
| 74 | Suite definition version of the test suite. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 SuiteRunConfiguration => L<Paws::IoTDeviceAdvisor::SuiteRunConfiguration> | ||
| 79 | |||
| 80 | Suite run configuration. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 Tags => L<Paws::IoTDeviceAdvisor::TagMap> | ||
| 85 | |||
| 86 | The tags to be attached to the suite run. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method StartSuiteRun in L<Paws::IoTDeviceAdvisor> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |