« blib/lib/Paws/AmplifyBackend/CloneBackendResponse.pm
↑ Summary
blib/lib/Paws/AmplifyBackend/CreateBackendAPI.pm »
| 1 | |||
| 2 | package Paws::AmplifyBackend::CreateBackend; | ||
| 3 | use Moose; | ||
| 4 | has AppId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'appId', required => 1); | ||
| 5 | has AppName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'appName', required => 1); | ||
| 6 | has BackendEnvironmentName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'backendEnvironmentName', required => 1); | ||
| 7 | has ResourceConfig => (is => 'ro', isa => 'Paws::AmplifyBackend::ResourceConfig', traits => ['NameInRequest'], request_name => 'resourceConfig'); | ||
| 8 | has ResourceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceName'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateBackend'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/backend'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AmplifyBackend::CreateBackendResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AmplifyBackend::CreateBackend - Arguments for method CreateBackend on L<Paws::AmplifyBackend> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateBackend on the | ||
| 27 | L<AmplifyBackend|Paws::AmplifyBackend> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateBackend. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBackend. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $amplifybackend = Paws->service('AmplifyBackend'); | ||
| 35 | my $CreateBackendResponse = $amplifybackend->CreateBackend( | ||
| 36 | AppId => 'My__string', | ||
| 37 | AppName => 'My__string', | ||
| 38 | BackendEnvironmentName => 'My__string', | ||
| 39 | ResourceConfig => { | ||
| 40 | |||
| 41 | }, # OPTIONAL | ||
| 42 | ResourceName => 'My__string', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $AppId = $CreateBackendResponse->AppId; | ||
| 47 | my $BackendEnvironmentName = $CreateBackendResponse->BackendEnvironmentName; | ||
| 48 | my $Error = $CreateBackendResponse->Error; | ||
| 49 | my $JobId = $CreateBackendResponse->JobId; | ||
| 50 | my $Operation = $CreateBackendResponse->Operation; | ||
| 51 | my $Status = $CreateBackendResponse->Status; | ||
| 52 | |||
| 53 | # Returns a L<Paws::AmplifyBackend::CreateBackendResponse> 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/amplifybackend/CreateBackend> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> AppId => Str | ||
| 62 | |||
| 63 | The app ID. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> AppName => Str | ||
| 68 | |||
| 69 | The name of the app. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> BackendEnvironmentName => Str | ||
| 74 | |||
| 75 | The name of the backend environment. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 ResourceConfig => L<Paws::AmplifyBackend::ResourceConfig> | ||
| 80 | |||
| 81 | The resource configuration for the create backend request. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 ResourceName => Str | ||
| 86 | |||
| 87 | The name of the resource. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head1 SEE ALSO | ||
| 93 | |||
| 94 | This class forms part of L<Paws>, documenting arguments for method CreateBackend in L<Paws::AmplifyBackend> | ||
| 95 | |||
| 96 | =head1 BUGS and CONTRIBUTIONS | ||
| 97 | |||
| 98 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 99 | |||
| 100 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 101 | |||
| 102 | =cut | ||
| 103 |