Documentation
¶
Index ¶
- type Action
- type AgreementType
- type BuildDetails
- type BuildStep
- type BuildStepName
- type CloneLocaleRequest
- type CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_FAILED() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_INELIGIBLE() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_IN_PROGRESS() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_MIXED() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_ROLLBACK_FAILED() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_ROLLBACK_SUCCEEDED() CloneLocaleRequestStatus
- func CloneLocaleRequestStatus_SUCCEEDED() CloneLocaleRequestStatus
- type CloneLocaleResourceStatus
- type CloneLocaleStatus
- func CloneLocaleStatus_FAILED() CloneLocaleStatus
- func CloneLocaleStatus_INELIGIBLE() CloneLocaleStatus
- func CloneLocaleStatus_IN_PROGRESS() CloneLocaleStatus
- func CloneLocaleStatus_ROLLBACK_FAILED() CloneLocaleStatus
- func CloneLocaleStatus_ROLLBACK_SUCCEEDED() CloneLocaleStatus
- func CloneLocaleStatus_SUCCEEDED() CloneLocaleStatus
- type CloneLocaleStatusResponse
- type CreateRollbackRequest
- type CreateRollbackResponse
- type CreateSkillRequest
- type CreateSkillResponse
- type CreateSkillWithPackageRequest
- type ExportResponse
- type ExportResponseSkill
- type Format
- type HostedSkillDeploymentDetails
- type HostedSkillDeploymentStatus
- type HostedSkillDeploymentStatusLastUpdateRequest
- type HostedSkillProvisioningLastUpdateRequest
- type HostedSkillProvisioningStatus
- type ImageAttributes
- type ImageDimension
- type ImageSize
- type ImageSizeUnit
- type ImportResponse
- type ImportResponseSkill
- type Instance
- type InteractionModelLastUpdateRequest
- type ListSkillResponse
- type ListSkillVersionsResponse
- type ManifestLastUpdateRequest
- type ManifestStatus
- type OverwriteMode
- type PublicationMethod
- type PublicationStatus
- func PublicationStatus_CERTIFICATION() PublicationStatus
- func PublicationStatus_CERTIFIED() PublicationStatus
- func PublicationStatus_DEVELOPMENT() PublicationStatus
- func PublicationStatus_HIDDEN() PublicationStatus
- func PublicationStatus_PUBLISHED() PublicationStatus
- func PublicationStatus_REMOVED() PublicationStatus
- type Reason
- type RegionalSSLCertificate
- type ResourceImportStatus
- type ResponseStatus
- type RollbackRequestStatus
- type RollbackRequestStatusTypes
- type SSLCertificatePayload
- type SkillCredentials
- type SkillInteractionModelStatus
- type SkillMessagingCredentials
- type SkillStatus
- type SkillSummary
- type SkillSummaryApis
- func SkillSummaryApis_AlexaForBusiness() SkillSummaryApis
- func SkillSummaryApis_Custom() SkillSummaryApis
- func SkillSummaryApis_FlashBriefing() SkillSummaryApis
- func SkillSummaryApis_Health() SkillSummaryApis
- func SkillSummaryApis_HouseholdList() SkillSummaryApis
- func SkillSummaryApis_Music() SkillSummaryApis
- func SkillSummaryApis_SmartHome() SkillSummaryApis
- func SkillSummaryApis_Video() SkillSummaryApis
- type SkillVersion
- type StandardizedError
- type Status
- type SubmitSkillForCertificationRequest
- type UpdateSkillWithPackageRequest
- type UploadResponse
- type ValidationDataTypes
- func ValidationDataTypes_Array() ValidationDataTypes
- func ValidationDataTypes_Boolean() ValidationDataTypes
- func ValidationDataTypes_Integer() ValidationDataTypes
- func ValidationDataTypes_Null() ValidationDataTypes
- func ValidationDataTypes_Object() ValidationDataTypes
- func ValidationDataTypes_String() ValidationDataTypes
- type ValidationDetails
- type ValidationEndpoint
- type ValidationFailureReason
- type ValidationFailureType
- func ValidationFailureType_EXPECTED_ATLEAST_ONE_RELATED_INSTANCE() ValidationFailureType
- func ValidationFailureType_EXPECTED_EXACTLY_ONE_RELATED_INSTANCE() ValidationFailureType
- func ValidationFailureType_EXPECTED_NOT_EMPTY_VALUE() ValidationFailureType
- func ValidationFailureType_INVALID_NUMBER_OF_OCCURENCES() ValidationFailureType
- func ValidationFailureType_INVALID_NUMBER_OF_PROPERTIES() ValidationFailureType
- func ValidationFailureType_MALFORMED_INPUT() ValidationFailureType
- func ValidationFailureType_MISSING_RESOURCE_PROPERTY() ValidationFailureType
- func ValidationFailureType_RESOURCE_DOES_NOT_EXIST() ValidationFailureType
- func ValidationFailureType_RESOURCE_LOCKED() ValidationFailureType
- func ValidationFailureType_RESOURCE_VERSION_DOES_NOT_MATCH() ValidationFailureType
- func ValidationFailureType_UNEXPECTED_RESOURCE_PROPERTY() ValidationFailureType
- func ValidationFailureType_UNEXPECTED_RESOURCE_STAGE() ValidationFailureType
- type ValidationFeature
- type VersionSubmission
- type VersionSubmissionStatus
- func VersionSubmissionStatus_CERTIFIED() VersionSubmissionStatus
- func VersionSubmissionStatus_FAILED_CERTIFICATION() VersionSubmissionStatus
- func VersionSubmissionStatus_HIDDEN() VersionSubmissionStatus
- func VersionSubmissionStatus_IN_REVIEW() VersionSubmissionStatus
- func VersionSubmissionStatus_LIVE() VersionSubmissionStatus
- func VersionSubmissionStatus_REMOVED() VersionSubmissionStatus
- func VersionSubmissionStatus_WITHDRAWN_FROM_CERTIFICATION() VersionSubmissionStatus
- type WithdrawRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
Action Action of a resource.
func Action_ASSOCIATE ¶
func Action_ASSOCIATE() Action
func Action_CREATE ¶
func Action_CREATE() Action
func Action_DISASSOCIATE ¶
func Action_DISASSOCIATE() Action
func Action_UPDATE ¶
func Action_UPDATE() Action
type AgreementType ¶
type AgreementType string
AgreementType Type of the agreement that the customer must be compliant to.
func AgreementType_EXPORT_COMPLIANCE ¶
func AgreementType_EXPORT_COMPLIANCE() AgreementType
type BuildDetails ¶
type BuildDetails struct {
// An array where each element represents a build step.
Steps []*BuildStep `json:"steps,omitempty"`
}
BuildDetails Contains array which describes steps involved in a build. Elements (or build steps) are added to this array as they become IN_PROGRESS.
type BuildStep ¶
type BuildStep struct {
Name *BuildStepName `json:"name,omitempty"`
Status *Status `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
}
BuildStep Describes the status of a build step.
type BuildStepName ¶
type BuildStepName string
BuildStepName Name of the build step. Possible values - * `DIALOG_MODEL_BUILD` - Build status for dialog model. * `LANGUAGE_MODEL_QUICK_BUILD` - Build status for FST model. * `LANGUAGE_MODEL_FULL_BUILD` - Build status for statistical model.
func BuildStepName_DIALOG_MODEL_BUILD ¶
func BuildStepName_DIALOG_MODEL_BUILD() BuildStepName
func BuildStepName_LANGUAGE_MODEL_FULL_BUILD ¶
func BuildStepName_LANGUAGE_MODEL_FULL_BUILD() BuildStepName
func BuildStepName_LANGUAGE_MODEL_QUICK_BUILD ¶
func BuildStepName_LANGUAGE_MODEL_QUICK_BUILD() BuildStepName
type CloneLocaleRequest ¶
type CloneLocaleRequest struct {
// Locale with the assets that will be cloned.
SourceLocale string `json:"sourceLocale,omitempty"`
// A list of locale(s) where the assets will be copied to.
TargetLocales []string `json:"targetLocales,omitempty"`
// Can locale of skill be overwritten. Default value is DO_NOT_OVERWRITE.
OverwriteMode *OverwriteMode `json:"overwriteMode,omitempty"`
}
CloneLocaleRequest Defines the request body for the cloneLocale API.
type CloneLocaleRequestStatus ¶
type CloneLocaleRequestStatus string
CloneLocaleRequestStatus Status for a locale clone request CloneLocale API initiates cloning from a source locale to all target locales.
- `IN_PROGRESS` status would indicate the clone is still in progress.
- `SUCCEEDED` status would indicate the source locale was cloned successfully to all target locales.
- `INELIGIBLE` status would indicate the source locale was ineligible to be cloned to all target locales.
- `MIXED` status would indicate the different status of clone on different locales, and individual target locale statues should be checked.
- `FAILED` status would indicate the source locale was not cloned all target locales successfully despite the request being eligible due to internal service issues.
- `ROLLBACK_SUCCEEDED` status would indicate the skill was rolled back to the previous state in case any failure.
- `ROLLBACK_FAILED` status would indicate that in case of failure, the rollback to the previous state of the skill was attempted, but it failed.
func CloneLocaleRequestStatus_FAILED ¶
func CloneLocaleRequestStatus_FAILED() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_INELIGIBLE ¶
func CloneLocaleRequestStatus_INELIGIBLE() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_IN_PROGRESS ¶
func CloneLocaleRequestStatus_IN_PROGRESS() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_MIXED ¶
func CloneLocaleRequestStatus_MIXED() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_ROLLBACK_FAILED ¶
func CloneLocaleRequestStatus_ROLLBACK_FAILED() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_ROLLBACK_SUCCEEDED ¶
func CloneLocaleRequestStatus_ROLLBACK_SUCCEEDED() CloneLocaleRequestStatus
func CloneLocaleRequestStatus_SUCCEEDED ¶
func CloneLocaleRequestStatus_SUCCEEDED() CloneLocaleRequestStatus
type CloneLocaleResourceStatus ¶
type CloneLocaleResourceStatus struct {
Status *CloneLocaleStatus `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
}
CloneLocaleResourceStatus an object detailing the status of a locale clone request and if applicable the errors occurred when saving/building resources during clone process.
type CloneLocaleStatus ¶
type CloneLocaleStatus string
CloneLocaleStatus Status for a locale clone on a particular target locale
- `IN_PROGRESS` status would indicate the clone is still in progress to the target locale.
- `SUCCEEDED` status would indicate the source locale was cloned successfully to the target locale.
- `INELIGIBLE` status would indicate the source locale was ineligible to be cloned the target locale.
- `FAILED` status would indicate the source locale was not cloned the target locale successfully.
- `ROLLBACK_SUCCEEDED` status would indicate the locale was rolled back to the previous state in case any failure.
- `ROLLBACK_FAILED` status would indicate that in case of failure, the rollback to the previous state of the locale was attempted, but it failed.
func CloneLocaleStatus_FAILED ¶
func CloneLocaleStatus_FAILED() CloneLocaleStatus
func CloneLocaleStatus_INELIGIBLE ¶
func CloneLocaleStatus_INELIGIBLE() CloneLocaleStatus
func CloneLocaleStatus_IN_PROGRESS ¶
func CloneLocaleStatus_IN_PROGRESS() CloneLocaleStatus
func CloneLocaleStatus_ROLLBACK_FAILED ¶
func CloneLocaleStatus_ROLLBACK_FAILED() CloneLocaleStatus
func CloneLocaleStatus_ROLLBACK_SUCCEEDED ¶
func CloneLocaleStatus_ROLLBACK_SUCCEEDED() CloneLocaleStatus
func CloneLocaleStatus_SUCCEEDED ¶
func CloneLocaleStatus_SUCCEEDED() CloneLocaleStatus
type CloneLocaleStatusResponse ¶
type CloneLocaleStatusResponse struct {
Status *CloneLocaleRequestStatus `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
// Source locale which is cloned to target locales.
SourceLocale string `json:"sourceLocale,omitempty"`
// Mapping of statuses per locale.
TargetLocales map[string]CloneLocaleResourceStatus `json:"targetLocales,omitempty"`
}
CloneLocaleStatusResponse A mapping of statuses per locale detailing progress of resource or error if encountered.
type CreateRollbackRequest ¶
type CreateRollbackRequest struct {
// The target skill version to rollback to.
TargetVersion string `json:"targetVersion,omitempty"`
}
CreateRollbackRequest Defines the request body to create a rollback request
type CreateRollbackResponse ¶
type CreateRollbackResponse struct {
// Defines the identifier for a rollback request.
RollbackRequestId string `json:"rollbackRequestId,omitempty"`
}
CreateRollbackResponse Defines the response body when a rollback request is created
type CreateSkillRequest ¶
type CreateSkillRequest struct {
// ID of the vendor owning the skill.
VendorId string `json:"vendorId,omitempty"`
Manifest *manifest.SkillManifest `json:"manifest,omitempty"`
Hosting *alexahosted.HostingConfiguration `json:"hosting,omitempty"`
}
type CreateSkillResponse ¶
type CreateSkillResponse struct {
// ID of the skill created.
SkillId string `json:"skillId,omitempty"`
}
CreateSkillResponse SkillId information.
type ExportResponse ¶
type ExportResponse struct {
Status *ResponseStatus `json:"status,omitempty"`
Skill *ExportResponseSkill `json:"skill,omitempty"`
}
type ExportResponseSkill ¶
type ExportResponseSkill struct {
ETag string `json:"eTag,omitempty"`
Location string `json:"location,omitempty"`
// ExpiresAt timestamp in milliseconds.
ExpiresAt string `json:"expiresAt,omitempty"`
}
ExportResponseSkill Defines the structure of the GetExport response.
type Format ¶
type Format string
Format Format in which instance value is expected in.
func Format_URI ¶
func Format_URI() Format
type HostedSkillDeploymentDetails ¶
type HostedSkillDeploymentDetails struct {
CommitId string `json:"commitId,omitempty"`
LogUrl string `json:"logUrl,omitempty"`
}
HostedSkillDeploymentDetails Details about hosted skill deployment.
type HostedSkillDeploymentStatus ¶
type HostedSkillDeploymentStatus struct {
LastUpdateRequest *HostedSkillDeploymentStatusLastUpdateRequest `json:"lastUpdateRequest,omitempty"`
}
HostedSkillDeploymentStatus Defines the most recent deployment status for the Alexa hosted skill.
type HostedSkillDeploymentStatusLastUpdateRequest ¶
type HostedSkillDeploymentStatusLastUpdateRequest struct {
Status *Status `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
DeploymentDetails *HostedSkillDeploymentDetails `json:"deploymentDetails,omitempty"`
}
HostedSkillDeploymentStatusLastUpdateRequest Contains attributes related to last modification request of a hosted skill deployment resource.
type HostedSkillProvisioningLastUpdateRequest ¶
type HostedSkillProvisioningLastUpdateRequest struct {
Status *Status `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
}
HostedSkillProvisioningLastUpdateRequest Contains attributes related to last modification request of a hosted skill provisioning resource.
type HostedSkillProvisioningStatus ¶
type HostedSkillProvisioningStatus struct {
LastUpdateRequest *HostedSkillProvisioningLastUpdateRequest `json:"lastUpdateRequest,omitempty"`
}
HostedSkillProvisioningStatus Defines the provisioning status for hosted skill.
type ImageAttributes ¶
type ImageAttributes struct {
Dimension *ImageDimension `json:"dimension,omitempty"`
Size *ImageSize `json:"size,omitempty"`
}
ImageAttributes Set of properties of the image provided by the customer.
type ImageDimension ¶
type ImageDimension struct {
// Width of the image in pixels.
WidthInPixels int `json:"widthInPixels,omitempty"`
// Height of the image in pixels.
HeightInPixels int `json:"heightInPixels,omitempty"`
}
ImageDimension Dimensions of an image.
type ImageSize ¶
type ImageSize struct {
// Value measuring the size of the image.
Value int `json:"value,omitempty"`
Unit *ImageSizeUnit `json:"unit,omitempty"`
}
ImageSize On disk storage size of image.
type ImageSizeUnit ¶
type ImageSizeUnit string
ImageSizeUnit Unit of measurement for size of image.
func ImageSizeUnit_MB ¶
func ImageSizeUnit_MB() ImageSizeUnit
type ImportResponse ¶
type ImportResponse struct {
Status *ResponseStatus `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
Skill *ImportResponseSkill `json:"skill,omitempty"`
}
type ImportResponseSkill ¶
type ImportResponseSkill struct {
SkillId string `json:"skillId,omitempty"`
ETag string `json:"eTag,omitempty"`
Resources []*ResourceImportStatus `json:"resources,omitempty"`
}
type Instance ¶
type Instance struct {
// Path that uniquely identifies the instance in the resource.
PropertyPath string `json:"propertyPath,omitempty"`
DataType *ValidationDataTypes `json:"dataType,omitempty"`
// String value of the instance. Incase of null, object or array the value field would be null or not present. Incase of string, boolean or integer dataType it will be the corresponding String value.
Value string `json:"value,omitempty"`
}
Instance Structure representing properties of an instance of data. Definition will be either one of a booleanInstance, stringInstance, integerInstance, or compoundInstance.
type InteractionModelLastUpdateRequest ¶
type InteractionModelLastUpdateRequest struct {
Status *Status `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
BuildDetails *BuildDetails `json:"buildDetails,omitempty"`
}
InteractionModelLastUpdateRequest Contains attributes related to last modification (create/update) request of a resource.
type ListSkillResponse ¶
type ListSkillResponse struct {
Links *smapiv1.Links `json:"_links,omitempty"`
/*
List of skill summaries. List might contain either one, two or three entries for a given skillId depending on the skill's publication history and the publication method.
`Skill containing certified stage`
* If a skill was never published to live, this list will contain two entries `:` one with stage 'development' and another with stage 'certified'. Both of these summaries will have same skillId.
* For any skill that has been published to 'live', this list will contain three entries `:` one with stage 'development', one with stage `certified` and one with stage 'live'. All of these summaries will have same skillId.
`Skill without certified stage`
* If a skill was never published to live, this list will contain only one entry for the skill with stage as 'development'.
* For any skill that has been published to 'live', this list will contain two entries `:` one with stage 'development' and another with stage 'live'. Both of these summaries will have same skillId.
*/
Skills []*SkillSummary `json:"skills,omitempty"`
IsTruncated bool `json:"isTruncated,omitempty"`
NextToken string `json:"nextToken,omitempty"`
}
ListSkillResponse List of skills for the vendor.
type ListSkillVersionsResponse ¶
type ListSkillVersionsResponse struct {
Links *smapiv1.Links `json:"_links,omitempty"`
// Skill version metadata
SkillVersions []*SkillVersion `json:"skillVersions,omitempty"`
IsTruncated bool `json:"isTruncated,omitempty"`
NextToken string `json:"nextToken,omitempty"`
}
ListSkillVersionsResponse List of all skill versions
type ManifestLastUpdateRequest ¶
type ManifestLastUpdateRequest struct {
Status *Status `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
// on success, this field indicates the created version.
Version string `json:"version,omitempty"`
}
ManifestLastUpdateRequest Contains attributes related to last modification (create/update) request of a resource.
type ManifestStatus ¶
type ManifestStatus struct {
LastUpdateRequest *ManifestLastUpdateRequest `json:"lastUpdateRequest,omitempty"`
// An opaque identifier for last successfully updated resource.
ETag string `json:"eTag,omitempty"`
}
ManifestStatus Defines the structure for a resource status.
type OverwriteMode ¶
type OverwriteMode string
OverwriteMode Can locale of skill be overwritten. Default value is DO_NOT_OVERWRITE.
func OverwriteMode_DO_NOT_OVERWRITE ¶
func OverwriteMode_DO_NOT_OVERWRITE() OverwriteMode
func OverwriteMode_OVERWRITE ¶
func OverwriteMode_OVERWRITE() OverwriteMode
type PublicationMethod ¶
type PublicationMethod string
PublicationMethod Determines if the skill should be submitted only for certification and manually publish later or publish immediately after the skill is certified. Omitting the publication method will default to auto publishing.
func PublicationMethod_AUTO_PUBLISHING ¶
func PublicationMethod_AUTO_PUBLISHING() PublicationMethod
func PublicationMethod_MANUAL_PUBLISHING ¶
func PublicationMethod_MANUAL_PUBLISHING() PublicationMethod
type PublicationStatus ¶
type PublicationStatus string
PublicationStatus Publication status of the skill. It is associated with the skill's stage. Skill in 'development' stage can have publication status as 'DEVELOPMENT' or 'CERTIFICATION'. Skill in 'certified' stage can have publication status as 'CERTIFIED'. 'Skill in 'live' stage can have publication status as 'PUBLISHED', 'HIDDEN' or 'REMOVED'. * `DEVELOPMENT` - The skill is available only to you. If you have enabled it for testing, you can test it on devices registered to your developer account. * `CERTIFICATION` - Amazon is currently reviewing the skill for publication. During this time, you cannot edit the configuration. * `CERTIFIED` - The skill has been certified and ready to be published. Skill can be either published immediately or an future release date can be set for the skill. You cannot edit the configuration for the certified skills. To start development, make your changes on the development version. * `PUBLISHED` - The skill has been published and is available to users. You cannot edit the configuration for live skills. To start development on an updated version, make your changes on the development version instead. * `HIDDEN` - The skill has been published but is no longer available to new users for activation. Existing users can still invoke this skill. * `REMOVED` - The skill has been published but removed for use, due to Amazon's policy violation. You can update your skill and publish a new version to live to address the policy violation.
func PublicationStatus_CERTIFICATION ¶
func PublicationStatus_CERTIFICATION() PublicationStatus
func PublicationStatus_CERTIFIED ¶
func PublicationStatus_CERTIFIED() PublicationStatus
func PublicationStatus_DEVELOPMENT ¶
func PublicationStatus_DEVELOPMENT() PublicationStatus
func PublicationStatus_HIDDEN ¶
func PublicationStatus_HIDDEN() PublicationStatus
func PublicationStatus_PUBLISHED ¶
func PublicationStatus_PUBLISHED() PublicationStatus
func PublicationStatus_REMOVED ¶
func PublicationStatus_REMOVED() PublicationStatus
type Reason ¶
type Reason string
Reason The reason to withdraw.
func Reason_DISCOVERED_ISSUE ¶
func Reason_DISCOVERED_ISSUE() Reason
func Reason_MORE_FEATURES ¶
func Reason_MORE_FEATURES() Reason
func Reason_NOT_INTEND_TO_PUBLISH ¶
func Reason_NOT_INTEND_TO_PUBLISH() Reason
func Reason_NOT_RECEIVED_CERTIFICATION_FEEDBACK ¶
func Reason_NOT_RECEIVED_CERTIFICATION_FEEDBACK() Reason
func Reason_OTHER ¶
func Reason_OTHER() Reason
func Reason_TEST_SKILL ¶
func Reason_TEST_SKILL() Reason
type RegionalSSLCertificate ¶
type RegionalSSLCertificate struct {
SslCertificate string `json:"sslCertificate,omitempty"`
}
type ResourceImportStatus ¶
type ResourceImportStatus struct {
// Resource name. eg. manifest, interactionModels.en_US and so on.
Name string `json:"name,omitempty"`
Status *ResponseStatus `json:"status,omitempty"`
Action *Action `json:"action,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
Warnings []*StandardizedError `json:"warnings,omitempty"`
}
ResourceImportStatus Defines the structure for a resource deployment status.
type ResponseStatus ¶
type ResponseStatus string
ResponseStatus Status for a Response resource.
func ResponseStatus_FAILED ¶
func ResponseStatus_FAILED() ResponseStatus
func ResponseStatus_IN_PROGRESS ¶
func ResponseStatus_IN_PROGRESS() ResponseStatus
func ResponseStatus_ROLLBACK_FAILED ¶
func ResponseStatus_ROLLBACK_FAILED() ResponseStatus
func ResponseStatus_ROLLBACK_SUCCEEDED ¶
func ResponseStatus_ROLLBACK_SUCCEEDED() ResponseStatus
func ResponseStatus_SKIPPED ¶
func ResponseStatus_SKIPPED() ResponseStatus
func ResponseStatus_SUCCEEDED ¶
func ResponseStatus_SUCCEEDED() ResponseStatus
type RollbackRequestStatus ¶
type RollbackRequestStatus struct {
// rollback request id
Id string `json:"id,omitempty"`
// The target skill version to rollback to.
TargetVersion string `json:"targetVersion,omitempty"`
SubmissionTime time.Time `json:"submissionTime,omitempty"`
Status *RollbackRequestStatusTypes `json:"status,omitempty"`
Errors []*StandardizedError `json:"errors,omitempty"`
}
RollbackRequestStatus Rollback request for a skill
type RollbackRequestStatusTypes ¶
type RollbackRequestStatusTypes string
RollbackRequestStatusTypes The rollback status of the rollback request. * `FAILED` - The rollback has failed. Please retry the rollback. * `INELIGIBLE` - The target version is ineligible for rollback. * `IN_PROGRESS` - The rollback is in progress. * `SUCCEEDED` - The rollback has succeeded.
func RollbackRequestStatusTypes_FAILED ¶
func RollbackRequestStatusTypes_FAILED() RollbackRequestStatusTypes
func RollbackRequestStatusTypes_INELIGIBLE ¶
func RollbackRequestStatusTypes_INELIGIBLE() RollbackRequestStatusTypes
func RollbackRequestStatusTypes_IN_PROGRESS ¶
func RollbackRequestStatusTypes_IN_PROGRESS() RollbackRequestStatusTypes
func RollbackRequestStatusTypes_SUCCEEDED ¶
func RollbackRequestStatusTypes_SUCCEEDED() RollbackRequestStatusTypes
type SSLCertificatePayload ¶
type SSLCertificatePayload struct {
// The default ssl certificate for the skill. If a request is made for a region without an explicit ssl certificate, this certificate will be used.
SslCertificate string `json:"sslCertificate,omitempty"`
// A map of region to ssl certificate. Keys are string region codes (https://developer.amazon.com/docs/smapi/skill-manifest.html#regions), values are regional ssl certificate objects which contain the ssl certificate blobs as strings.
Regions map[string]RegionalSSLCertificate `json:"regions,omitempty"`
}
type SkillCredentials ¶
type SkillCredentials struct {
SkillMessagingCredentials *SkillMessagingCredentials `json:"skillMessagingCredentials,omitempty"`
}
SkillCredentials Structure for skill credentials response.
type SkillInteractionModelStatus ¶
type SkillInteractionModelStatus struct {
LastUpdateRequest *InteractionModelLastUpdateRequest `json:"lastUpdateRequest,omitempty"`
// An opaque identifier for last successfully updated resource.
ETag string `json:"eTag,omitempty"`
// Version for last successfully built model.
Version string `json:"version,omitempty"`
}
SkillInteractionModelStatus Defines the structure for interaction model build status.
type SkillMessagingCredentials ¶
type SkillMessagingCredentials struct {
// The client id for the security profile.
ClientId string `json:"clientId,omitempty"`
// The client secret for the security profile.
ClientSecret string `json:"clientSecret,omitempty"`
}
SkillMessagingCredentials Defines the structure for skill messaging credentials.
type SkillStatus ¶
type SkillStatus struct {
Manifest *ManifestStatus `json:"manifest,omitempty"`
// Status for available interaction models, keyed by locale.
InteractionModel map[string]SkillInteractionModelStatus `json:"interactionModel,omitempty"`
HostedSkillDeployment *HostedSkillDeploymentStatus `json:"hostedSkillDeployment,omitempty"`
HostedSkillProvisioning *HostedSkillProvisioningStatus `json:"hostedSkillProvisioning,omitempty"`
}
SkillStatus Defines the structure for skill status response.
type SkillSummary ¶
type SkillSummary struct {
SkillId string `json:"skillId,omitempty"`
Stage *smapiv1.StageV2Type `json:"stage,omitempty"`
// List of APIs currently implemented by the skill.
Apis []*SkillSummaryApis `json:"apis,omitempty"`
PublicationStatus *PublicationStatus `json:"publicationStatus,omitempty"`
LastUpdated time.Time `json:"lastUpdated,omitempty"`
/*
Name of the skill in skill locales (keys are locale names (e.g. 'en-US') whereas values are name of the
skill in that locale.
*/
NameByLocale map[string]string `json:"nameByLocale,omitempty"`
/*
Amazon Standard Identification Number (ASIN) is unique blocks of 10 letters and/or numbers that identify items. More info about ASIN can be found here: https://www.amazon.com/gp/seller/asin-upc-isbn-info.html
ASIN is available for those skills only, that have been published, at least once.
*/
Asin string `json:"asin,omitempty"`
Links *smapiv1.Links `json:"_links,omitempty"`
}
SkillSummary Information about the skills.
type SkillSummaryApis ¶
type SkillSummaryApis string
func SkillSummaryApis_AlexaForBusiness ¶
func SkillSummaryApis_AlexaForBusiness() SkillSummaryApis
func SkillSummaryApis_Custom ¶
func SkillSummaryApis_Custom() SkillSummaryApis
func SkillSummaryApis_FlashBriefing ¶
func SkillSummaryApis_FlashBriefing() SkillSummaryApis
func SkillSummaryApis_Health ¶
func SkillSummaryApis_Health() SkillSummaryApis
func SkillSummaryApis_HouseholdList ¶
func SkillSummaryApis_HouseholdList() SkillSummaryApis
func SkillSummaryApis_Music ¶
func SkillSummaryApis_Music() SkillSummaryApis
func SkillSummaryApis_SmartHome ¶
func SkillSummaryApis_SmartHome() SkillSummaryApis
func SkillSummaryApis_Video ¶
func SkillSummaryApis_Video() SkillSummaryApis
type SkillVersion ¶
type SkillVersion struct {
Version string `json:"version,omitempty"`
/*
Description of the version (limited to 300 characters).
*/
Message string `json:"message,omitempty"`
CreationTime time.Time `json:"creationTime,omitempty"`
/*
List of submissions for the skill version
*/
Submissions []*VersionSubmission `json:"submissions,omitempty"`
}
SkillVersion Information about the skill version
type StandardizedError ¶
type StandardizedError struct {
// Standardized, machine readable structure that wraps all the information about a specific occurrence of an error of the type specified by the code.
ValidationDetails *ValidationDetails `json:"validationDetails,omitempty"`
}
StandardizedError Standardized structure which wraps machine parsable and human readable information about an error.
type Status ¶
type Status string
Status Status of a resource.
func Status_FAILED ¶
func Status_FAILED() Status
func Status_IN_PROGRESS ¶
func Status_IN_PROGRESS() Status
func Status_SUCCEEDED ¶
func Status_SUCCEEDED() Status
type SubmitSkillForCertificationRequest ¶
type SubmitSkillForCertificationRequest struct {
PublicationMethod *PublicationMethod `json:"publicationMethod,omitempty"`
// Description of the version (limited to 300 characters).
VersionMessage string `json:"versionMessage,omitempty"`
}
type UpdateSkillWithPackageRequest ¶
type UpdateSkillWithPackageRequest struct {
// The URL for the skill package.
Location string `json:"location,omitempty"`
}
type UploadResponse ¶
type UploadResponse struct {
// The upload URL to upload a skill package.
UploadUrl string `json:"uploadUrl,omitempty"`
ExpiresAt time.Time `json:"expiresAt,omitempty"`
}
UploadResponse Defines the structure for skill upload response.
type ValidationDataTypes ¶
type ValidationDataTypes string
func ValidationDataTypes_Array ¶
func ValidationDataTypes_Array() ValidationDataTypes
func ValidationDataTypes_Boolean ¶
func ValidationDataTypes_Boolean() ValidationDataTypes
func ValidationDataTypes_Integer ¶
func ValidationDataTypes_Integer() ValidationDataTypes
func ValidationDataTypes_Null ¶
func ValidationDataTypes_Null() ValidationDataTypes
func ValidationDataTypes_Object ¶
func ValidationDataTypes_Object() ValidationDataTypes
func ValidationDataTypes_String ¶
func ValidationDataTypes_String() ValidationDataTypes
type ValidationDetails ¶
type ValidationDetails struct {
// Set of properties of the image provided by the customer.
ActualImageAttributes *ImageAttributes `json:"actualImageAttributes,omitempty"`
// Number of items in an array provided by the customer.
ActualNumberOfItems int `json:"actualNumberOfItems,omitempty"`
// Number of characters in a string provided by the customer.
ActualStringLength int `json:"actualStringLength,omitempty"`
// List of allowed content types for a resource.
AllowedContentTypes []string `json:"allowedContentTypes,omitempty"`
// List of allowed data types for an instance.
AllowedDataTypes []*ValidationDataTypes `json:"allowedDataTypes,omitempty"`
// List of set of properties representing all possible allowed images.
AllowedImageAttributes []*ImageAttributes `json:"allowedImageAttributes,omitempty"`
// Instance conflicting with another instance.
ConflictingInstance *Instance `json:"conflictingInstance,omitempty"`
// Format in which instance value is expected in.
ExpectedFormat *Format `json:"expectedFormat,omitempty"`
// Instance that is expected by a related instance.
ExpectedInstance *Instance `json:"expectedInstance,omitempty"`
// Regular expression that a string instance is expected to match.
ExpectedRegexPattern string `json:"expectedRegexPattern,omitempty"`
// Type of the agreement that the customer must be compliant to.
AgreementType *AgreementType `json:"agreementType,omitempty"`
// Properties of a publicly known feature that has restricted access.
Feature *ValidationFeature `json:"feature,omitempty"`
// Endpoint which has a different value for property named type when compared to original endpoint.
InconsistentEndpoint *ValidationEndpoint `json:"inconsistentEndpoint,omitempty"`
// Minimum allowed value of an integer instance.
MinimumIntegerValue int `json:"minimumIntegerValue,omitempty"`
// Minimum allowed number of items in an array.
MinimumNumberOfItems int `json:"minimumNumberOfItems,omitempty"`
// Minimum allowed number of characters in a string.
MinimumStringLength int `json:"minimumStringLength,omitempty"`
// Maximum allowed value of an integer instance.
MaximumIntegerValue int `json:"maximumIntegerValue,omitempty"`
// Maximum allowed number of items in an array.
MaximumNumberOfItems int `json:"maximumNumberOfItems,omitempty"`
// Maximum allowed number of characters in a string.
MaximumStringLength int `json:"maximumStringLength,omitempty"`
// An Endpoint instance
OriginalEndpoint *ValidationEndpoint `json:"originalEndpoint,omitempty"`
// An Instance
OriginalInstance *Instance `json:"originalInstance,omitempty"`
// Represents what is wrong in the request.
Reason *ValidationFailureReason `json:"reason,omitempty"`
// Property required but missing in the object.
RequiredProperty string `json:"requiredProperty,omitempty"`
// Property not expected but present in the object.
UnexpectedProperty string `json:"unexpectedProperty,omitempty"`
}
ValidationDetails Standardized, machine readable structure that wraps all the information about a specific occurrence of an error of the type specified by the code.
type ValidationEndpoint ¶
type ValidationEndpoint struct {
// Path to the endpoint URI in the resource.
PropertyPath string `json:"propertyPath,omitempty"`
// Type of the endpoint (https, http, arn etc).
Type_ string `json:"type,omitempty"`
// Full URI of the endpoint.
Value string `json:"value,omitempty"`
}
ValidationEndpoint Structure representing an endpoint.
type ValidationFailureReason ¶
type ValidationFailureReason struct {
// Enum for type of validation failure in the request.
Type_ *ValidationFailureType `json:"type,omitempty"`
}
ValidationFailureReason Object representing what is wrong in the request.
type ValidationFailureType ¶
type ValidationFailureType string
ValidationFailureType Enum for type of validation failure in the request.
func ValidationFailureType_EXPECTED_ATLEAST_ONE_RELATED_INSTANCE ¶
func ValidationFailureType_EXPECTED_ATLEAST_ONE_RELATED_INSTANCE() ValidationFailureType
func ValidationFailureType_EXPECTED_EXACTLY_ONE_RELATED_INSTANCE ¶
func ValidationFailureType_EXPECTED_EXACTLY_ONE_RELATED_INSTANCE() ValidationFailureType
func ValidationFailureType_EXPECTED_NOT_EMPTY_VALUE ¶
func ValidationFailureType_EXPECTED_NOT_EMPTY_VALUE() ValidationFailureType
func ValidationFailureType_INVALID_NUMBER_OF_OCCURENCES ¶
func ValidationFailureType_INVALID_NUMBER_OF_OCCURENCES() ValidationFailureType
func ValidationFailureType_INVALID_NUMBER_OF_PROPERTIES ¶
func ValidationFailureType_INVALID_NUMBER_OF_PROPERTIES() ValidationFailureType
func ValidationFailureType_MALFORMED_INPUT ¶
func ValidationFailureType_MALFORMED_INPUT() ValidationFailureType
func ValidationFailureType_MISSING_RESOURCE_PROPERTY ¶
func ValidationFailureType_MISSING_RESOURCE_PROPERTY() ValidationFailureType
func ValidationFailureType_RESOURCE_DOES_NOT_EXIST ¶
func ValidationFailureType_RESOURCE_DOES_NOT_EXIST() ValidationFailureType
func ValidationFailureType_RESOURCE_LOCKED ¶
func ValidationFailureType_RESOURCE_LOCKED() ValidationFailureType
func ValidationFailureType_RESOURCE_VERSION_DOES_NOT_MATCH ¶
func ValidationFailureType_RESOURCE_VERSION_DOES_NOT_MATCH() ValidationFailureType
func ValidationFailureType_UNEXPECTED_RESOURCE_PROPERTY ¶
func ValidationFailureType_UNEXPECTED_RESOURCE_PROPERTY() ValidationFailureType
func ValidationFailureType_UNEXPECTED_RESOURCE_STAGE ¶
func ValidationFailureType_UNEXPECTED_RESOURCE_STAGE() ValidationFailureType
type ValidationFeature ¶
type ValidationFeature struct {
// Name of the feature.
Name string `json:"name,omitempty"`
// Contact URL or email for the feature.
Contact string `json:"contact,omitempty"`
}
ValidationFeature Structure representing a public feature.
type VersionSubmission ¶
type VersionSubmission struct {
Status *VersionSubmissionStatus `json:"status,omitempty"`
SubmissionTime time.Time `json:"submissionTime,omitempty"`
}
VersionSubmission Submission for a skill version
type VersionSubmissionStatus ¶
type VersionSubmissionStatus string
VersionSubmissionStatus The lifecycle status of the skill version submission. * `LIVE` - The skill version is in the live stage * `CERTIFIED` - The skill version has gone through the certification review process and has been certified. * `IN_REVIEW` - The skill version is currently under review for certification and publication. During this time, you cannot edit the configuration. * `FAILED_CERTIFICATION` - The skill version has been submitted for certification, however it has failed certification review. Please submit a new version for certification. * `HIDDEN` - The skill version has been published but is no longer available to new users for activation. Existing users can still invoke this skill if it is the most recent version. * `REMOVED` - The skill version has been published but removed for use, due to Amazon's policy violation. You can update your skill and publish a new version to live to address the policy violation. * `WITHDRAWN_FROM_CERTIFICATION` - The skill version was submitted for certification but was withdrawn from review.
func VersionSubmissionStatus_CERTIFIED ¶
func VersionSubmissionStatus_CERTIFIED() VersionSubmissionStatus
func VersionSubmissionStatus_FAILED_CERTIFICATION ¶
func VersionSubmissionStatus_FAILED_CERTIFICATION() VersionSubmissionStatus
func VersionSubmissionStatus_HIDDEN ¶
func VersionSubmissionStatus_HIDDEN() VersionSubmissionStatus
func VersionSubmissionStatus_IN_REVIEW ¶
func VersionSubmissionStatus_IN_REVIEW() VersionSubmissionStatus
func VersionSubmissionStatus_LIVE ¶
func VersionSubmissionStatus_LIVE() VersionSubmissionStatus
func VersionSubmissionStatus_REMOVED ¶
func VersionSubmissionStatus_REMOVED() VersionSubmissionStatus
func VersionSubmissionStatus_WITHDRAWN_FROM_CERTIFICATION ¶
func VersionSubmissionStatus_WITHDRAWN_FROM_CERTIFICATION() VersionSubmissionStatus
type WithdrawRequest ¶
type WithdrawRequest struct {
Reason *Reason `json:"reason,omitempty"`
// The message only in case the reason in OTHER.
Message string `json:"message,omitempty"`
}
WithdrawRequest The payload for the withdraw operation.
Source Files
¶
- action.go
- agreementType.go
- buildDetails.go
- buildStep.go
- buildStepName.go
- cloneLocaleRequest.go
- cloneLocaleRequestStatus.go
- cloneLocaleResourceStatus.go
- cloneLocaleStatus.go
- cloneLocaleStatusResponse.go
- createRollbackRequest.go
- createRollbackResponse.go
- createSkillRequest.go
- createSkillResponse.go
- createSkillWithPackageRequest.go
- exportResponse.go
- exportResponseSkill.go
- format.go
- hostedSkillDeploymentDetails.go
- hostedSkillDeploymentStatus.go
- hostedSkillDeploymentStatusLastUpdateRequest.go
- hostedSkillProvisioningLastUpdateRequest.go
- hostedSkillProvisioningStatus.go
- imageAttributes.go
- imageDimension.go
- imageSize.go
- imageSizeUnit.go
- importResponse.go
- importResponseSkill.go
- instance.go
- interactionModelLastUpdateRequest.go
- listSkillResponse.go
- listSkillVersionsResponse.go
- manifestLastUpdateRequest.go
- manifestStatus.go
- overwriteMode.go
- publicationMethod.go
- publicationStatus.go
- reason.go
- regionalSSLCertificate.go
- resourceImportStatus.go
- responseStatus.go
- rollbackRequestStatus.go
- rollbackRequestStatusTypes.go
- sSLCertificatePayload.go
- skillCredentials.go
- skillInteractionModelStatus.go
- skillMessagingCredentials.go
- skillStatus.go
- skillSummary.go
- skillSummaryApis.go
- skillVersion.go
- standardizedError.go
- status.go
- submitSkillForCertificationRequest.go
- updateSkillWithPackageRequest.go
- uploadResponse.go
- validationDataTypes.go
- validationDetails.go
- validationEndpoint.go
- validationFailureReason.go
- validationFailureType.go
- validationFeature.go
- versionSubmission.go
- versionSubmissionStatus.go
- withdrawRequest.go