ConnectionItem
An item that a connection can access, such as a folder or a file.
Contents
- id
-
The identifier of the item. To list the contents of the item, pass this value as
parentId. This doesn't apply to aFILE.Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: Yes
- kind
-
The type of item. Valid values:
-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
Type: String
Valid Values:
REPOSITORY | SITE | LIBRARY | FOLDER | FILERequired: Yes
-
- name
-
The display name of the item.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 400.
Required: Yes
- sizeBytes
-
The size of the item in bytes. This field is present for a
FILE.Type: Long
Required: No
- updatedAt
-
The time when the provider last recorded a change to the item. This field is present for a
FILE.Type: Timestamp
Required: No
- url
-
The URL of the item. This field is present for a
FILE. To add the file as evidence, pass this value asreferencetoPutEvidence.Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
(https://[a-zA-Z0-9][a-zA-Z0-9.-]+[a-zA-Z0-9]|s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9])(/.*)?Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: