Values.GetFindingV2ResponseSourceRetrieves information about the specified finding. GetFinding and GetFindingV2 both use access-analyzer:GetFinding in the Action element of an IAM policy statement. You must have permission to perform the access-analyzer:GetFinding action.
type nonrec t = {analyzedAt : Timestamp.t option;The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
*)createdAt : Timestamp.t option;The time at which the finding was created.
*)error : String_.t option;An error.
*)id : FindingId.t option;The ID of the finding to retrieve.
*)nextToken : Token.t option;A token used for pagination of results returned.
*)resource : String_.t option;The resource that generated the finding.
*)resourceType : ResourceType.t option;The type of the resource identified in the finding.
*)resourceOwnerAccount : String_.t option;Tye Amazon Web Services account ID that owns the resource.
*)status : FindingStatus.t option;The status of the finding.
*)updatedAt : Timestamp.t option;The time at which the finding was updated.
*)findingDetails : FindingDetailsList.t option;A localized message that explains the finding and provides guidance on how to address it.
*)findingType : FindingType.t option;The type of the finding. For external access analyzers, the type is ExternalAccess. For unused access analyzers, the type can be UnusedIAMRole, UnusedIAMUserAccessKey, UnusedIAMUserPassword, or UnusedPermission. For internal access analyzers, the type is InternalAccess.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of
(string * [> `String of String_.t ]) list
| `Timestamp of Timestamp.t ])
list ]
list
| `Map of
([> `String of String_.t ]
* [> `String of String_.t ])
list
| `String of String_.t
| `Timestamp of Timestamp.t ])
list ])
list ]
list
| `String of String_.t
| `Timestamp of Timestamp.t ])
list ]