![]() |
![]()
| ![]() |
![]()
NAMEPaws::FMS::GetProtectionStatus - Arguments for method GetProtectionStatus on Paws::FMS DESCRIPTIONThis class represents the parameters used for calling the method GetProtectionStatus on the Firewall Management Service service. Use the attributes of this class as arguments to method GetProtectionStatus. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetProtectionStatus. SYNOPSISmy $fms = Paws->service('FMS'); my $GetProtectionStatusResponse = $fms->GetProtectionStatus( PolicyId => 'MyPolicyId', EndTime => '1970-01-01T01:00:00', # OPTIONAL MaxResults => 1, # OPTIONAL MemberAccountId => 'MyAWSAccountId', # OPTIONAL NextToken => 'MyPaginationToken', # OPTIONAL StartTime => '1970-01-01T01:00:00', # OPTIONAL ); # Results: my $AdminAccountId = $GetProtectionStatusResponse->AdminAccountId; my $Data = $GetProtectionStatusResponse->Data; my $NextToken = $GetProtectionStatusResponse->NextToken; my $ServiceType = $GetProtectionStatusResponse->ServiceType; # Returns a L<Paws::FMS::GetProtectionStatusResponse> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/fms/GetProtectionStatus> ATTRIBUTESEndTime => StrThe end of the time period to query for the attacks. This is a "timestamp" type. The request syntax listing indicates a "number" type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid "timestamp" format is allowed. MaxResults => IntSpecifies the number of objects that you want AWS Firewall Manager to return for this request. If you have more objects than the number that you specify for "MaxResults", the response includes a "NextToken" value that you can use to get another batch of objects. MemberAccountId => StrThe AWS account that is in scope of the policy that you want to get the details for. NextToken => StrIf you specify a value for "MaxResults" and you have more objects than the number that you specify for "MaxResults", AWS Firewall Manager returns a "NextToken" value in the response, which you can use to retrieve another group of objects. For the second and subsequent "GetProtectionStatus" requests, specify the value of "NextToken" from the previous response to get information about another batch of objects. REQUIRED PolicyId => StrThe ID of the policy for which you want to get the attack information. StartTime => StrThe start of the time period to query for the attacks. This is a "timestamp" type. The request syntax listing indicates a "number" type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid "timestamp" format is allowed. SEE ALSOThis class forms part of Paws, documenting arguments for method GetProtectionStatus in Paws::FMS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|