blib/lib/Paws/SSOAdmin/DeleteAccountAssignment.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SSOAdmin::DeleteAccountAssignment;
3 use Moose;
4 has InstanceArn => (is => 'ro', isa => 'Str', required => 1);
5 has PermissionSetArn => (is => 'ro', isa => 'Str', required => 1);
6 has PrincipalId => (is => 'ro', isa => 'Str', required => 1);
7 has PrincipalType => (is => 'ro', isa => 'Str', required => 1);
8 has TargetId => (is => 'ro', isa => 'Str', required => 1);
9 has TargetType => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteAccountAssignment');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSOAdmin::DeleteAccountAssignmentResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::SSOAdmin::DeleteAccountAssignment - Arguments for method DeleteAccountAssignment on L<Paws::SSOAdmin>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method DeleteAccountAssignment on the
27 L<AWS Single Sign-On Admin|Paws::SSOAdmin> service. Use the attributes of this class
28 as arguments to method DeleteAccountAssignment.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteAccountAssignment.
31  
32 =head1 SYNOPSIS
33  
34 my $sso = Paws->service('SSOAdmin');
35 my $DeleteAccountAssignmentResponse = $sso->DeleteAccountAssignment(
36 InstanceArn => 'MyInstanceArn',
37 PermissionSetArn => 'MyPermissionSetArn',
38 PrincipalId => 'MyPrincipalId',
39 PrincipalType => 'USER',
40 TargetId => 'MyTargetId',
41 TargetType => 'AWS_ACCOUNT',
42  
43 );
44  
45 # Results:
46 my $AccountAssignmentDeletionStatus =
47 $DeleteAccountAssignmentResponse->AccountAssignmentDeletionStatus;
48  
49 # Returns a L<Paws::SSOAdmin::DeleteAccountAssignmentResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sso/DeleteAccountAssignment>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> InstanceArn => Str
58  
59 The ARN of the SSO instance under which the operation will be executed.
60 For more information about ARNs, see Amazon Resource Names (ARNs) and
61 AWS Service Namespaces in the I<AWS General Reference>.
62  
63  
64  
65 =head2 B<REQUIRED> PermissionSetArn => Str
66  
67 The ARN of the permission set that will be used to remove access.
68  
69  
70  
71 =head2 B<REQUIRED> PrincipalId => Str
72  
73 An identifier for an object in AWS SSO, such as a user or group.
74 PrincipalIds are GUIDs (For example,
75 f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about
76 PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
77  
78  
79  
80 =head2 B<REQUIRED> PrincipalType => Str
81  
82 The entity type for which the assignment will be deleted.
83  
84 Valid values are: C<"USER">, C<"GROUP">
85  
86 =head2 B<REQUIRED> TargetId => Str
87  
88 TargetID is an AWS account identifier, typically a 10-12 digit string
89 (For example, 123456789012).
90  
91  
92  
93 =head2 B<REQUIRED> TargetType => Str
94  
95 The entity type for which the assignment will be deleted.
96  
97 Valid values are: C<"AWS_ACCOUNT">
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method DeleteAccountAssignment in L<Paws::SSOAdmin>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111