« blib/lib/Paws/CloudDirectory/CreateSchemaResponse.pm
↑ Summary
blib/lib/Paws/CloudDirectory/CreateTypedLinkFacetResponse.pm »
| 1 | |||
| 2 | package Paws::CloudDirectory::CreateTypedLinkFacet; | ||
| 3 | use Moose; | ||
| 4 | has Facet => (is => 'ro', isa => 'Paws::CloudDirectory::TypedLinkFacet', required => 1); | ||
| 5 | has SchemaArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTypedLinkFacet'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/typedlink/facet/create'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::CreateTypedLinkFacetResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::CloudDirectory::CreateTypedLinkFacet - Arguments for method CreateTypedLinkFacet on L<Paws::CloudDirectory> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateTypedLinkFacet on the | ||
| 24 | L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateTypedLinkFacet. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTypedLinkFacet. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $clouddirectory = Paws->service('CloudDirectory'); | ||
| 32 | my $CreateTypedLinkFacetResponse = $clouddirectory->CreateTypedLinkFacet( | ||
| 33 | Facet => { | ||
| 34 | Attributes => [ | ||
| 35 | { | ||
| 36 | Name => 'MyAttributeName', # min: 1, max: 230 | ||
| 37 | RequiredBehavior => | ||
| 38 | 'REQUIRED_ALWAYS', # values: REQUIRED_ALWAYS, NOT_REQUIRED | ||
| 39 | Type => 'STRING' | ||
| 40 | , # values: STRING, BINARY, BOOLEAN, NUMBER, DATETIME, VARIANT | ||
| 41 | DefaultValue => { | ||
| 42 | BinaryValue => 'BlobBinaryAttributeValue', # OPTIONAL | ||
| 43 | BooleanValue => 1, # OPTIONAL | ||
| 44 | DatetimeValue => '1970-01-01T01:00:00', # OPTIONAL | ||
| 45 | NumberValue => 'MyNumberAttributeValue', # OPTIONAL | ||
| 46 | StringValue => 'MyStringAttributeValue', # OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | IsImmutable => 1, # OPTIONAL | ||
| 49 | Rules => { | ||
| 50 | 'MyRuleKey' => { | ||
| 51 | Parameters => | ||
| 52 | { 'MyRuleParameterKey' => 'MyRuleParameterValue', } | ||
| 53 | , # OPTIONAL | ||
| 54 | Type => 'BINARY_LENGTH' | ||
| 55 | , # values: BINARY_LENGTH, NUMBER_COMPARISON, STRING_FROM_SET, STRING_LENGTH; OPTIONAL | ||
| 56 | }, # key: min: 1, max: 64 | ||
| 57 | }, # OPTIONAL | ||
| 58 | }, | ||
| 59 | ... | ||
| 60 | ], | ||
| 61 | IdentityAttributeOrder => [ | ||
| 62 | 'MyAttributeName', | ||
| 63 | ... # min: 1, max: 230 | ||
| 64 | ], | ||
| 65 | Name => 'MyTypedLinkName', | ||
| 66 | |||
| 67 | }, | ||
| 68 | SchemaArn => 'MyArn', | ||
| 69 | |||
| 70 | ); | ||
| 71 | |||
| 72 | 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. | ||
| 73 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/CreateTypedLinkFacet> | ||
| 74 | |||
| 75 | =head1 ATTRIBUTES | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> Facet => L<Paws::CloudDirectory::TypedLinkFacet> | ||
| 79 | |||
| 80 | Facet structure that is associated with the typed link facet. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 B<REQUIRED> SchemaArn => Str | ||
| 85 | |||
| 86 | The Amazon Resource Name (ARN) that is associated with the schema. For | ||
| 87 | more information, see arns. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head1 SEE ALSO | ||
| 93 | |||
| 94 | This class forms part of L<Paws>, documenting arguments for method CreateTypedLinkFacet in L<Paws::CloudDirectory> | ||
| 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 |