« blib/lib/Paws/Braket/CancelQuantumTaskResponse.pm
↑ Summary
blib/lib/Paws/Braket/CreateQuantumTaskResponse.pm »
| 1 | |||
| 2 | package Paws::Braket::CreateQuantumTask; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'action', required => 1); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken', required => 1); | ||
| 6 | has DeviceArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deviceArn', required => 1); | ||
| 7 | has DeviceParameters => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deviceParameters'); | ||
| 8 | has OutputS3Bucket => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'outputS3Bucket', required => 1); | ||
| 9 | has OutputS3KeyPrefix => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'outputS3KeyPrefix', required => 1); | ||
| 10 | has Shots => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'shots', required => 1); | ||
| 11 | has Tags => (is => 'ro', isa => 'Paws::Braket::TagsMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 12 | |||
| 13 | use MooseX::ClassAttribute; | ||
| 14 | |||
| 15 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateQuantumTask'); | ||
| 16 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/quantum-task'); | ||
| 17 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 18 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Braket::CreateQuantumTaskResponse'); | ||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::Braket::CreateQuantumTask - Arguments for method CreateQuantumTask on L<Paws::Braket> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method CreateQuantumTask on the | ||
| 30 | L<Braket|Paws::Braket> service. Use the attributes of this class | ||
| 31 | as arguments to method CreateQuantumTask. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateQuantumTask. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $braket = Paws->service('Braket'); | ||
| 38 | my $CreateQuantumTaskResponse = $braket->CreateQuantumTask( | ||
| 39 | Action => 'MyJsonValue', | ||
| 40 | ClientToken => 'MyString64', | ||
| 41 | DeviceArn => 'MyDeviceArn', | ||
| 42 | OutputS3Bucket => 'MyCreateQuantumTaskRequestOutputS3BucketString', | ||
| 43 | OutputS3KeyPrefix => 'MyCreateQuantumTaskRequestOutputS3KeyPrefixString', | ||
| 44 | Shots => 1, | ||
| 45 | DeviceParameters => | ||
| 46 | 'MyCreateQuantumTaskRequestDeviceParametersString', # OPTIONAL | ||
| 47 | Tags => { 'MyString' => 'MyString', }, # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $QuantumTaskArn = $CreateQuantumTaskResponse->QuantumTaskArn; | ||
| 52 | |||
| 53 | # Returns a L<Paws::Braket::CreateQuantumTaskResponse> object. | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/braket/CreateQuantumTask> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> Action => Str | ||
| 62 | |||
| 63 | The action associated with the task. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> ClientToken => Str | ||
| 68 | |||
| 69 | The client token associated with the request. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> DeviceArn => Str | ||
| 74 | |||
| 75 | The ARN of the device to run the task on. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 DeviceParameters => Str | ||
| 80 | |||
| 81 | The parameters for the device to run the task on. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> OutputS3Bucket => Str | ||
| 86 | |||
| 87 | The S3 bucket to store task result files in. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 B<REQUIRED> OutputS3KeyPrefix => Str | ||
| 92 | |||
| 93 | The key prefix for the location in the S3 bucket to store task results | ||
| 94 | in. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 B<REQUIRED> Shots => Int | ||
| 99 | |||
| 100 | The number of shots to use for the task. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 Tags => L<Paws::Braket::TagsMap> | ||
| 105 | |||
| 106 | Tags to be added to the quantum task you're creating. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head1 SEE ALSO | ||
| 112 | |||
| 113 | This class forms part of L<Paws>, documenting arguments for method CreateQuantumTask in L<Paws::Braket> | ||
| 114 | |||
| 115 | =head1 BUGS and CONTRIBUTIONS | ||
| 116 | |||
| 117 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 118 | |||
| 119 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 120 | |||
| 121 | =cut | ||
| 122 |