blib/lib/Paws/SageMaker/ListAssociations.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::ListAssociations;
3 use Moose;
4 has AssociationType => (is => 'ro', isa => 'Str');
5 has CreatedAfter => (is => 'ro', isa => 'Str');
6 has CreatedBefore => (is => 'ro', isa => 'Str');
7 has DestinationArn => (is => 'ro', isa => 'Str');
8 has DestinationType => (is => 'ro', isa => 'Str');
9 has MaxResults => (is => 'ro', isa => 'Int');
10 has NextToken => (is => 'ro', isa => 'Str');
11 has SortBy => (is => 'ro', isa => 'Str');
12 has SortOrder => (is => 'ro', isa => 'Str');
13 has SourceArn => (is => 'ro', isa => 'Str');
14 has SourceType => (is => 'ro', isa => 'Str');
15  
16 use MooseX::ClassAttribute;
17  
18 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAssociations');
19 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::ListAssociationsResponse');
20 class_has _result_key => (isa => 'Str', is => 'ro');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::SageMaker::ListAssociations - Arguments for method ListAssociations on L<Paws::SageMaker>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method ListAssociations on the
32 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
33 as arguments to method ListAssociations.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAssociations.
36  
37 =head1 SYNOPSIS
38  
39 my $api.sagemaker = Paws->service('SageMaker');
40 my $ListAssociationsResponse = $api . sagemaker->ListAssociations(
41 AssociationType => 'ContributedTo', # OPTIONAL
42 CreatedAfter => '1970-01-01T01:00:00', # OPTIONAL
43 CreatedBefore => '1970-01-01T01:00:00', # OPTIONAL
44 DestinationArn => 'MyAssociationEntityArn', # OPTIONAL
45 DestinationType => 'MyString256', # OPTIONAL
46 MaxResults => 1, # OPTIONAL
47 NextToken => 'MyNextToken', # OPTIONAL
48 SortBy => 'SourceArn', # OPTIONAL
49 SortOrder => 'Ascending', # OPTIONAL
50 SourceArn => 'MyAssociationEntityArn', # OPTIONAL
51 SourceType => 'MyString256', # OPTIONAL
52 );
53  
54 # Results:
55 my $AssociationSummaries = $ListAssociationsResponse->AssociationSummaries;
56 my $NextToken = $ListAssociationsResponse->NextToken;
57  
58 # Returns a L<Paws::SageMaker::ListAssociationsResponse> 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.sagemaker/ListAssociations>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 AssociationType => Str
67  
68 A filter that returns only associations of the specified type.
69  
70 Valid values are: C<"ContributedTo">, C<"AssociatedWith">, C<"DerivedFrom">, C<"Produced">
71  
72 =head2 CreatedAfter => Str
73  
74 A filter that returns only associations created on or after the
75 specified time.
76  
77  
78  
79 =head2 CreatedBefore => Str
80  
81 A filter that returns only associations created on or before the
82 specified time.
83  
84  
85  
86 =head2 DestinationArn => Str
87  
88 A filter that returns only associations with the specified destination
89 Amazon Resource Name (ARN).
90  
91  
92  
93 =head2 DestinationType => Str
94  
95 A filter that returns only associations with the specified destination
96 type.
97  
98  
99  
100 =head2 MaxResults => Int
101  
102 The maximum number of associations to return in the response. The
103 default value is 10.
104  
105  
106  
107 =head2 NextToken => Str
108  
109 If the previous call to C<ListAssociations> didn't return the full set
110 of associations, the call returns a token for getting the next set of
111 associations.
112  
113  
114  
115 =head2 SortBy => Str
116  
117 The property used to sort results. The default value is
118 C<CreationTime>.
119  
120 Valid values are: C<"SourceArn">, C<"DestinationArn">, C<"SourceType">, C<"DestinationType">, C<"CreationTime">
121  
122 =head2 SortOrder => Str
123  
124 The sort order. The default value is C<Descending>.
125  
126 Valid values are: C<"Ascending">, C<"Descending">
127  
128 =head2 SourceArn => Str
129  
130 A filter that returns only associations with the specified source ARN.
131  
132  
133  
134 =head2 SourceType => Str
135  
136 A filter that returns only associations with the specified source type.
137  
138  
139  
140  
141 =head1 SEE ALSO
142  
143 This class forms part of L<Paws>, documenting arguments for method ListAssociations in L<Paws::SageMaker>
144  
145 =head1 BUGS and CONTRIBUTIONS
146  
147 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
148  
149 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
150  
151 =cut
152