IMPORTEXPORT
CancelJob
valid {
input.Body.JobId == STRING
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateJob
enum_JobType := [ "Import", "Export" ]
valid {
input.Body.JobType == enum_JobType[_]
input.Body.Manifest == STRING
input.Body.ManifestAddendum == STRING
input.Body.ValidateOnly == BOOLEAN
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetShippingLabel
valid {
input.Body.jobIds[_] == STRING
input.Body.name == STRING
input.Body.company == STRING
input.Body.phoneNumber == STRING
input.Body.country == STRING
input.Body.stateOrProvince == STRING
input.Body.city == STRING
input.Body.postalCode == STRING
input.Body.street1 == STRING
input.Body.street2 == STRING
input.Body.street3 == STRING
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetStatus
valid {
input.Body.JobId == STRING
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListJobs
valid {
input.Body.MaxJobs == INTEGER
input.Body.Marker == STRING
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateJob
enum_JobType := [ "Import", "Export" ]
valid {
input.Body.JobId == STRING
input.Body.Manifest == STRING
input.Body.JobType == enum_JobType[_]
input.Body.ValidateOnly == BOOLEAN
input.Body.APIVersion == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
Updated 4 months ago