client

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client   *http.Client
	Endpoint string
}

Client for service smapi version v1.

func (*Client) AddTestersToBetaTestV1

func (s *Client) AddTestersToBetaTestV1(skillId string, testersRequest *testers_.TestersList) (err error)

AddTestersToBetaTestV1 Add testers to a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.

skillId - The skill ID.
testersRequest - JSON object containing the email address of beta testers.

func (*Client) AssociateIspWithSkillV1

func (s *Client) AssociateIspWithSkillV1(productId string, skillId string) (err error)

AssociateIspWithSkillV1 Associates an in-skill product with a skill.

productId - The in-skill product ID.
skillId - The skill ID.

func (*Client) CancelNextJobExecutionForInteractionModelV1

func (s *Client) CancelNextJobExecutionForInteractionModelV1(jobId string, executionId string) (err error)

CancelNextJobExecutionForInteractionModelV1 Cancel the next execution for the given job.

jobId - The identifier for dynamic jobs.
executionId - The identifier for dynamic job executions. Currently only allowed for scheduled executions.

func (*Client) CloneLocaleV1

func (s *Client) CloneLocaleV1(skillId string, stageV2 string, cloneLocaleRequest *skill_.CloneLocaleRequest) (err error)

CloneLocaleV1 Creates a new clone locale workflow for a skill with given skillId, source locale, and target locales. In a single workflow, a locale can be cloned to multiple target locales. However, only one such workflow can be started at any time.

skillId - The skill ID.
stageV2 - Stages of a skill on which locales can be cloned. Currently only `development` stage is supported.

* `development` - skills which are currently in development corresponds to this stage.

cloneLocaleRequest - Defines the request body for the cloneLocale API.

func (*Client) CreateASRAnnotationSetV1

func (s *Client) CreateASRAnnotationSetV1(skillId string, createAsrAnnotationSetRequest *annotationSets_.CreateAsrAnnotationSetRequestObject) (response *annotationSets_.CreateAsrAnnotationSetResponse, err error)

CreateASRAnnotationSetV1 This is an API that creates a new ASR annotation set with a name and returns the annotationSetId which can later be used to retrieve or reference the annotation set

skillId - The skill ID.
createAsrAnnotationSetRequest - Payload sent to the create ASR annotation set API.

func (*Client) CreateASREvaluationV1

func (s *Client) CreateASREvaluationV1(postAsrEvaluationsRequest *evaluations_.PostAsrEvaluationsRequestObject, skillId string) (response *evaluations_.PostAsrEvaluationsResponseObject, err error)

CreateASREvaluationV1 This is an asynchronous API that starts an evaluation against the ASR model built by the skill's interaction model. The operation outputs an evaluationId which allows the retrieval of the current status of the operation and the results upon completion. This operation is unified, meaning both internal and external skill developers may use it to evaluate ASR models.

postAsrEvaluationsRequest - Payload sent to trigger evaluation run.
skillId - The skill ID.

func (*Client) CreateBetaTestV1

func (s *Client) CreateBetaTestV1(skillId string, createTestBody *betaTest_.TestBody) (err error)

CreateBetaTestV1 Create a beta test for a given Alexa skill.

skillId - The skill ID.
createTestBody - JSON object containing the details of a beta test used to create the test.

func (*Client) CreateCatalogUploadV1

func (s *Client) CreateCatalogUploadV1(catalogId string, catalogUploadRequestBody *upload_.CatalogUploadBase) (err error)

CreateCatalogUploadV1 Creates a new upload for a catalog and returns location to track the upload process.

catalogId - Provides a unique identifier of the catalog
catalogUploadRequestBody - Provides the request body for create content upload

func (*Client) CreateExportRequestForSkillV1

func (s *Client) CreateExportRequestForSkillV1(skillId string, stage string) (err error)

CreateExportRequestForSkillV1 Creates a new export for a skill with given skillId and stage.

skillId - The skill ID.
stage - Stage for skill.

func (*Client) CreateInteractionModelCatalogV1

func (s *Client) CreateInteractionModelCatalogV1(catalog *catalog_.DefinitionData) (response *catalog_.CatalogResponse, err error)

CreateInteractionModelCatalogV1 Create a new version of catalog within the given catalogId.

catalog -

func (*Client) CreateInteractionModelCatalogVersionV1

func (s *Client) CreateInteractionModelCatalogVersionV1(catalogId string, catalog *version_.VersionData) (err error)

CreateInteractionModelCatalogVersionV1 Create a new version of catalog entity for the given catalogId.

catalogId - Provides a unique identifier of the catalog
catalog -

func (*Client) CreateInteractionModelSlotTypeV1

func (s *Client) CreateInteractionModelSlotTypeV1(slotType *type1_.DefinitionData) (response *type1_.SlotTypeResponse, err error)

CreateInteractionModelSlotTypeV1 Create a new version of slot type within the given slotTypeId.

slotType -

func (*Client) CreateInteractionModelSlotTypeVersionV1

func (s *Client) CreateInteractionModelSlotTypeVersionV1(slotTypeId string, slotType *typeVersion_.VersionData) (err error)

CreateInteractionModelSlotTypeVersionV1 Create a new version of slot type entity for the given slotTypeId.

slotTypeId - The identifier for a slot type.
slotType -

func (*Client) CreateIspForVendorV1

func (s *Client) CreateIspForVendorV1(createInSkillProductRequest *isp_.CreateInSkillProductRequest) (response *isp_.ProductResponse, err error)

CreateIspForVendorV1 Creates a new in-skill product for given vendorId.

createInSkillProductRequest - defines the request body for createInSkillProduct API.

func (*Client) CreateJobDefinitionForInteractionModelV1

func (s *Client) CreateJobDefinitionForInteractionModelV1(createJobDefinitionRequest *jobs_.CreateJobDefinitionRequest) (response *jobs_.CreateJobDefinitionResponse, err error)

CreateJobDefinitionForInteractionModelV1 Creates a new Job Definition from the Job Definition request provided. This can be either a CatalogAutoRefresh, which supports time-based configurations for catalogs, or a ReferencedResourceVersionUpdate, which is used for slotTypes and Interaction models to be automatically updated on the dynamic update of their referenced catalog.

createJobDefinitionRequest - Request to create a new Job Definition.

func (*Client) CreateNLUAnnotationSetV1

func (s *Client) CreateNLUAnnotationSetV1(skillId string, createNLUAnnotationSetRequest *annotationSets_.CreateNLUAnnotationSetRequest) (response *annotationSets_.CreateNLUAnnotationSetResponse, err error)

CreateNLUAnnotationSetV1 This is an API that creates a new NLU annotation set with properties and returns the annotationId.

skillId - The skill ID.
createNLUAnnotationSetRequest - Payload sent to the create NLU annotation set API.

func (*Client) CreateNLUEvaluationsV1

func (s *Client) CreateNLUEvaluationsV1(evaluateNLURequest *evaluations_.EvaluateNLURequest, skillId string) (response *evaluations_.EvaluateResponse, err error)

CreateNLUEvaluationsV1 This is an asynchronous API that starts an evaluation against the NLU model built by the skill's interaction model. The operation outputs an evaluationId which allows the retrieval of the current status of the operation and the results upon completion. This operation is unified, meaning both internal and external skill developers may use it evaluate NLU models.

evaluateNLURequest - Payload sent to the evaluate NLU API.
skillId - The skill ID.

func (*Client) CreateSkillForVendorV1

func (s *Client) CreateSkillForVendorV1(createSkillRequest *skill_.CreateSkillRequest) (response *skill_.CreateSkillResponse, err error)

CreateSkillForVendorV1 Creates a new skill for given vendorId.

createSkillRequest - Defines the request body for createSkill API.

func (*Client) CreateSkillPackageV1

func (s *Client) CreateSkillPackageV1(createSkillWithPackageRequest *skill_.CreateSkillWithPackageRequest) (err error)

CreateSkillPackageV1 Creates a new import for a skill.

createSkillWithPackageRequest - Defines the request body for createPackage API.

func (*Client) CreateSmarthomeCapabilityEvaluationV1

func (s *Client) CreateSmarthomeCapabilityEvaluationV1(skillId string, evaluateSHCapabilityPayload *smartHomeEvaluation_.EvaluateSHCapabilityRequest) (response *smartHomeEvaluation_.EvaluateSHCapabilityResponse, err error)

CreateSmarthomeCapabilityEvaluationV1 Start a capability evaluation against a Smart Home skill.

skillId - The skill ID.
evaluateSHCapabilityPayload - Payload sent to start a capability evaluation against a Smart Home skill.

func (*Client) CreateUploadUrlV1

func (s *Client) CreateUploadUrlV1() (response *skill_.UploadResponse, err error)

CreateUploadUrlV1 Creates a new uploadUrl.

func (*Client) DeleteASRAnnotationSetV1

func (s *Client) DeleteASRAnnotationSetV1(skillId string, annotationSetId string) (err error)

DeleteASRAnnotationSetV1 API which deletes the ASR annotation set. Developers cannot get/list the deleted annotation set.

skillId - The skill ID.
annotationSetId - Identifier of the ASR annotation set.

func (*Client) DeleteASREvaluationV1

func (s *Client) DeleteASREvaluationV1(skillId string, evaluationId string) (err error)

DeleteASREvaluationV1 API which enables the deletion of an evaluation.

skillId - The skill ID.
evaluationId - Identifier of the evaluation.

func (*Client) DeleteAccountLinkingInfoV1

func (s *Client) DeleteAccountLinkingInfoV1(skillId string, stageV2 string) (err error)

DeleteAccountLinkingInfoV1 Delete AccountLinking information of a skill for the given stage.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

func (*Client) DeleteInteractionModelCatalogV1

func (s *Client) DeleteInteractionModelCatalogV1(catalogId string) (err error)

DeleteInteractionModelCatalogV1 Delete the catalog.

catalogId - Provides a unique identifier of the catalog

func (*Client) DeleteInteractionModelCatalogVersionV1

func (s *Client) DeleteInteractionModelCatalogVersionV1(catalogId string, version string) (err error)

DeleteInteractionModelCatalogVersionV1 Delete catalog version.

catalogId - Provides a unique identifier of the catalog
version - Version for interaction model.

func (*Client) DeleteInteractionModelSlotTypeV1

func (s *Client) DeleteInteractionModelSlotTypeV1(slotTypeId string) (err error)

DeleteInteractionModelSlotTypeV1 Delete the slot type.

slotTypeId - The identifier for a slot type.

func (*Client) DeleteInteractionModelSlotTypeVersionV1

func (s *Client) DeleteInteractionModelSlotTypeVersionV1(slotTypeId string, version string) (err error)

DeleteInteractionModelSlotTypeVersionV1 Delete slot type version.

slotTypeId - The identifier for a slot type.
version - Version for interaction model.

func (*Client) DeleteIspForProductV1

func (s *Client) DeleteIspForProductV1(productId string, stage string, if_Match string) (err error)

DeleteIspForProductV1 Deletes the in-skill product for given productId. Only development stage supported. Live in-skill products or in-skill products associated with a skill cannot be deleted by this API.

productId - The in-skill product ID.
stage - Stage for skill.
if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.

func (*Client) DeleteJobDefinitionForInteractionModelV1

func (s *Client) DeleteJobDefinitionForInteractionModelV1(jobId string) (err error)

DeleteJobDefinitionForInteractionModelV1 Delete the job definition for a given jobId.

jobId - The identifier for dynamic jobs.

func (*Client) DeletePrivateDistributionAccountIdV1

func (s *Client) DeletePrivateDistributionAccountIdV1(skillId string, stage string, id string) (err error)

DeletePrivateDistributionAccountIdV1 Remove an id from the private distribution accounts.

skillId - The skill ID.
stage - Stage for skill.
id - ARN that a skill can be privately distributed to.

func (*Client) DeletePropertiesForNLUAnnotationSetsV1

func (s *Client) DeletePropertiesForNLUAnnotationSetsV1(skillId string, annotationId string) (err error)

DeletePropertiesForNLUAnnotationSetsV1 API which deletes the NLU annotation set. Developers cannot get/list the deleted annotation set.

skillId - The skill ID.
annotationId - Identifier of the NLU annotation set.

func (*Client) DeleteSkillEnablementV1

func (s *Client) DeleteSkillEnablementV1(skillId string, stage string) (err error)

DeleteSkillEnablementV1 Deletes the enablement for given skillId/stage and customerId (retrieved from Auth token).

skillId - The skill ID.
stage - Stage for skill.

func (*Client) DeleteSkillV1

func (s *Client) DeleteSkillV1(skillId string) (err error)

DeleteSkillV1 Delete the skill and model for given skillId.

skillId - The skill ID.

func (*Client) DisassociateIspWithSkillV1

func (s *Client) DisassociateIspWithSkillV1(productId string, skillId string) (err error)

DisassociateIspWithSkillV1 Disassociates an in-skill product from a skill.

productId - The in-skill product ID.
skillId - The skill ID.

func (*Client) EndBetaTestV1

func (s *Client) EndBetaTestV1(skillId string) (err error)

EndBetaTestV1 End a beta test for a given Alexa skill. System will revoke the entitlement of each tester and send access-end notification email to them.

skillId - The skill ID.

func (*Client) GenerateCatalogUploadUrlV1

func (s *Client) GenerateCatalogUploadUrlV1(catalogId string, generateCatalogUploadUrlRequestBody *catalog_.CreateContentUploadUrlRequest) (response *catalog_.CreateContentUploadUrlResponse, err error)

GenerateCatalogUploadUrlV1 Generates preSigned urls to upload data

catalogId - Provides a unique identifier of the catalog
generateCatalogUploadUrlRequestBody - Request body to generate catalog upload url

func (*Client) GenerateCredentialsForAlexaHostedSkillV1

func (s *Client) GenerateCredentialsForAlexaHostedSkillV1(skillId string, hostedSkillRepositoryCredentialsRequest *AlexaHosted_.HostedSkillRepositoryCredentialsRequest) (response *AlexaHosted_.HostedSkillRepositoryCredentialsList, err error)

GenerateCredentialsForAlexaHostedSkillV1 Generates hosted skill repository credentials to access the hosted skill repository.

skillId - The skill ID.
hostedSkillRepositoryCredentialsRequest - defines the request body for hosted skill repository credentials

func (*Client) GetASRAnnotationSetV1

func (s *Client) GetASRAnnotationSetV1(skillId string, annotationSetId string) (response *annotationSets_.GetASRAnnotationSetsPropertiesResponse, err error)

GetASRAnnotationSetV1 Return the metadata for an ASR annotation set.

skillId - The skill ID.
annotationSetId - Identifier of the ASR annotation set.

func (*Client) GetASREvaluationStatusV1

func (s *Client) GetASREvaluationStatusV1(skillId string, evaluationId string) (response *evaluations_.GetAsrEvaluationStatusResponseObject, err error)

GetASREvaluationStatusV1 API which requests high level information about the evaluation like the current state of the job, status of the evaluation (if complete). Also returns the request used to start the job, like the number of total evaluations, number of completed evaluations, and start time. This should be considered the "cheap" operation while GetAsrEvaluationsResults is "expensive".

skillId - The skill ID.
evaluationId - Identifier of the evaluation.

func (*Client) GetAccountLinkingInfoV1

func (s *Client) GetAccountLinkingInfoV1(skillId string, stageV2 string) (response *accountLinking_.AccountLinkingResponse, err error)

GetAccountLinkingInfoV1 Get AccountLinking information for the skill.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

func (*Client) GetAlexaHostedSkillMetadataV1

func (s *Client) GetAlexaHostedSkillMetadataV1(skillId string) (response *AlexaHosted_.HostedSkillMetadata, err error)

GetAlexaHostedSkillMetadataV1 Get Alexa hosted skill's metadata

skillId - The skill ID.

func (*Client) GetAlexaHostedSkillUserPermissionsV1

func (s *Client) GetAlexaHostedSkillUserPermissionsV1(vendorId string, permission string) (response *AlexaHosted_.HostedSkillPermission, err error)

GetAlexaHostedSkillUserPermissionsV1 Get the current user permissions about Alexa hosted skill features.

vendorId - vendorId
permission - The permission of a hosted skill feature that customer needs to check.

func (*Client) GetAnnotationsForASRAnnotationSetV1

func (s *Client) GetAnnotationsForASRAnnotationSetV1(skillId string, nextToken string, maxResults int, annotationSetId string, accept string) (response *annotationSets_.GetAsrAnnotationSetAnnotationsResponse, err error)

GetAnnotationsForASRAnnotationSetV1

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 1000. If more results are present, the response will contain a paginationContext.

annotationSetId - Identifier of the ASR annotation set.
accept - - `application/json`: indicate to download annotation set contents in JSON format - `text/csv`: indicate to download annotation set contents in CSV format

func (*Client) GetAnnotationsForNLUAnnotationSetsV1

func (s *Client) GetAnnotationsForNLUAnnotationSetsV1(skillId string, annotationId string, accept string) (err error)

GetAnnotationsForNLUAnnotationSetsV1

skillId - The skill ID.
annotationId - Identifier of the NLU annotation set.
accept - Standard HTTP. Pass `application/json` or `test/csv` for GET calls.

func (*Client) GetBetaTestV1

func (s *Client) GetBetaTestV1(skillId string) (response *betaTest_.BetaTest, err error)

GetBetaTestV1 Get beta test for a given Alexa skill.

skillId - The skill ID.

func (*Client) GetCertificationReviewV1

func (s *Client) GetCertificationReviewV1(accept_Language string, skillId string, certificationId string) (response *certification_.CertificationResponse, err error)

GetCertificationReviewV1 Gets a specific certification resource. The response contains the review tracking information for a skill to show how much time the skill is expected to remain under review by Amazon. Once the review is complete, the response also contains the outcome of the review. Old certifications may not be available, however any ongoing certification would always give a response. If the certification is unavailable the result will return a 404 HTTP status code.

accept_Language - User's locale/language in context.
skillId - The skill ID.
certificationId - Id of the certification. Reserved word identifier of mostRecent can be used to get the most recent certification for the skill. Note that the behavior of the API in this case would be the same as when the actual certification id of the most recent certification is used in the request.

func (*Client) GetCertificationsListV1

func (s *Client) GetCertificationsListV1(skillId string, nextToken string, maxResults int) (response *certification_.ListCertificationsResponse, err error)

GetCertificationsListV1 Get list of all certifications available for a skill, including information about past certifications and any ongoing certification. The default sort order is descending on skillSubmissionTimestamp for Certifications.

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) GetCloneLocaleStatusV1

func (s *Client) GetCloneLocaleStatusV1(skillId string, stageV2 string, cloneLocaleRequestId string) (response *skill_.CloneLocaleStatusResponse, err error)

GetCloneLocaleStatusV1 Returns the status of a clone locale workflow associated with the unique identifier of cloneLocaleRequestId.

skillId - The skill ID.
stageV2 - Stages of a skill on which locales can be cloned. Currently only `development` stage is supported.

* `development` - skills which are currently in development corresponds to this stage.

cloneLocaleRequestId - Defines the identifier for a clone locale workflow.

If set to ~latest, request returns the status of the latest clone locale workflow.

func (*Client) GetConflictDetectionJobStatusForInteractionModelV1

func (s *Client) GetConflictDetectionJobStatusForInteractionModelV1(skillId string, locale string, stage string, version string) (response *conflictDetection_.GetConflictDetectionJobStatusResponse, err error)

GetConflictDetectionJobStatusForInteractionModelV1 This API returns the job status of conflict detection job for a specified interaction model.

skillId - The skill ID.
locale - The locale for the model requested e.g. en-GB, en-US, de-DE.
stage - Stage of the interaction model.
version - Version of interaction model. Use "~current" to get the model of the current version.

func (*Client) GetConflictsForInteractionModelV1

func (s *Client) GetConflictsForInteractionModelV1(skillId string, locale string, stage string, version string, nextToken string, maxResults int) (response *conflictDetection_.GetConflictsResponse, err error)

GetConflictsForInteractionModelV1 This is a paginated API that retrieves results of conflict detection job for a specified interaction model.

skillId - The skill ID.
locale - The locale for the model requested e.g. en-GB, en-US, de-DE.
stage - Stage of the interaction model.
version - Version of interaction model. Use "~current" to get the model of the current version.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 100. If more results are present, the response will contain a nextToken and a _link.next href.

func (*Client) GetContentUploadByIdV1

func (s *Client) GetContentUploadByIdV1(catalogId string, uploadId string) (response *upload_.GetContentUploadResponse, err error)

GetContentUploadByIdV1 Gets detailed information about an upload which was created for a specific catalog. Includes the upload's ingestion steps and a url for downloading the file.

catalogId - Provides a unique identifier of the catalog
uploadId - Unique identifier of the upload

func (*Client) GetImportStatusV1

func (s *Client) GetImportStatusV1(importId string) (response *skill_.ImportResponse, err error)

GetImportStatusV1 Get status for given importId.

importId - The Import ID.

func (*Client) GetInteractionModelCatalogDefinitionV1

func (s *Client) GetInteractionModelCatalogDefinitionV1(catalogId string) (response *catalog_.CatalogDefinitionOutput, err error)

GetInteractionModelCatalogDefinitionV1 get the catalog definition

catalogId - Provides a unique identifier of the catalog

func (*Client) GetInteractionModelCatalogUpdateStatusV1

func (s *Client) GetInteractionModelCatalogUpdateStatusV1(catalogId string, updateRequestId string) (response *catalog_.CatalogStatus, err error)

GetInteractionModelCatalogUpdateStatusV1 Get the status of catalog resource and its sub-resources for a given catalogId.

catalogId - Provides a unique identifier of the catalog
updateRequestId - The identifier for slotType version creation process

func (*Client) GetInteractionModelCatalogValuesV1

func (s *Client) GetInteractionModelCatalogValuesV1(catalogId string, version string, maxResults int, nextToken string) (response *version_.CatalogValues, err error)

GetInteractionModelCatalogValuesV1 Get catalog values from the given catalogId & version.

catalogId - Provides a unique identifier of the catalog
version - Version for interaction model.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.

func (*Client) GetInteractionModelCatalogVersionV1

func (s *Client) GetInteractionModelCatalogVersionV1(catalogId string, version string) (response *version_.CatalogVersionData, err error)

GetInteractionModelCatalogVersionV1 Get catalog version data of given catalog version.

catalogId - Provides a unique identifier of the catalog
version - Version for interaction model.

func (*Client) GetInteractionModelMetadataV1

func (s *Client) GetInteractionModelMetadataV1(skillId string, stageV2 string, locale string) (err error)

GetInteractionModelMetadataV1 Get the latest metadata for the interaction model resource for the given stage.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

locale - The locale for the model requested e.g. en-GB, en-US, de-DE.

func (*Client) GetInteractionModelSlotTypeBuildStatusV1

func (s *Client) GetInteractionModelSlotTypeBuildStatusV1(slotTypeId string, updateRequestId string) (response *type1_.SlotTypeStatus, err error)

GetInteractionModelSlotTypeBuildStatusV1 Get the status of slot type resource and its sub-resources for a given slotTypeId.

slotTypeId - The identifier for a slot type.
updateRequestId - The identifier for slotType version creation process

func (*Client) GetInteractionModelSlotTypeDefinitionV1

func (s *Client) GetInteractionModelSlotTypeDefinitionV1(slotTypeId string) (response *type1_.SlotTypeDefinitionOutput, err error)

GetInteractionModelSlotTypeDefinitionV1 Get the slot type definition.

slotTypeId - The identifier for a slot type.

func (*Client) GetInteractionModelSlotTypeVersionV1

func (s *Client) GetInteractionModelSlotTypeVersionV1(slotTypeId string, version string) (response *typeVersion_.SlotTypeVersionData, err error)

GetInteractionModelSlotTypeVersionV1 Get slot type version data of given slot type version.

slotTypeId - The identifier for a slot type.
version - Version for interaction model.

func (*Client) GetInteractionModelV1

func (s *Client) GetInteractionModelV1(skillId string, stageV2 string, locale string) (response *interactionModel_.InteractionModelData, err error)

GetInteractionModelV1 Gets the `InteractionModel` for the skill in the given stage. The path params **skillId**, **stage** and **locale** are required.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

locale - The locale for the model requested e.g. en-GB, en-US, de-DE.

func (*Client) GetInteractionModelVersionV1

func (s *Client) GetInteractionModelVersionV1(skillId string, stageV2 string, locale string, version string) (response *interactionModel_.InteractionModelData, err error)

GetInteractionModelVersionV1 Gets the specified version `InteractionModel` of a skill for the vendor. Use `~current` as version parameter to get the current version model.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

locale - The locale for the model requested e.g. en-GB, en-US, de-DE.
version - Version for interaction model.

func (*Client) GetIspAssociatedSkillsV1

func (s *Client) GetIspAssociatedSkillsV1(productId string, stage string, nextToken string, maxResults int) (response *isp_.AssociatedSkillResponse, err error)

GetIspAssociatedSkillsV1 Get the associated skills for the in-skill product.

productId - The in-skill product ID.
stage - Stage for skill.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) GetIspDefinitionV1

func (s *Client) GetIspDefinitionV1(productId string, stage string) (response *isp_.InSkillProductDefinitionResponse, err error)

GetIspDefinitionV1 Returns the in-skill product definition for given productId.

productId - The in-skill product ID.
stage - Stage for skill.

func (*Client) GetIspListForSkillIdV1

func (s *Client) GetIspListForSkillIdV1(skillId string, stage string, nextToken string, maxResults int) (response *isp_.ListInSkillProductResponse, err error)

GetIspListForSkillIdV1 Get the list of in-skill products for the skillId.

skillId - The skill ID.
stage - Stage for skill.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) GetIspListForVendorV1

func (s *Client) GetIspListForVendorV1(vendorId string, nextToken string, maxResults int, productId []string, stage string, type_ string, referenceName string, status string, isAssociatedWithSkill string) (response *isp_.ListInSkillProductResponse, err error)

GetIspListForVendorV1 Get the list of in-skill products for the vendor.

vendorId - The vendor ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
productId - The list of in-skill product IDs that you wish to get the summary for. A maximum of 50 in-skill product IDs can be specified in a single listInSkillProducts call. Please note that this parameter must not be used with 'nextToken' and/or 'maxResults' parameter.
stage - Filter in-skill products by specified stage.
type_ - Type of in-skill product to filter on.
referenceName - Filter in-skill products by reference name.
status - Status of in-skill product.
isAssociatedWithSkill - Filter in-skill products by whether or not they are associated to a skill.

func (*Client) GetIspSummaryV1

func (s *Client) GetIspSummaryV1(productId string, stage string) (response *isp_.InSkillProductSummaryResponse, err error)

GetIspSummaryV1 Get the summary information for an in-skill product.

productId - The in-skill product ID.
stage - Stage for skill.

func (*Client) GetJobDefinitionForInteractionModelV1

func (s *Client) GetJobDefinitionForInteractionModelV1(jobId string) (response *jobs_.JobDefinition, err error)

GetJobDefinitionForInteractionModelV1 Get the job definition for a given jobId.

jobId - The identifier for dynamic jobs.

func (*Client) GetListOfTestersV1

func (s *Client) GetListOfTestersV1(skillId string, nextToken string, maxResults int) (response *testers_.ListTestersResponse, err error)

GetListOfTestersV1 List all testers in a beta test for the given Alexa skill.

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) GetNLUEvaluationV1

func (s *Client) GetNLUEvaluationV1(skillId string, evaluationId string) (response *evaluations_.GetNLUEvaluationResponse, err error)

GetNLUEvaluationV1 API which requests top level information about the evaluation like the current state of the job, status of the evaluation (if complete). Also returns data used to start the job, like the number of test cases, stage, locale, and start time. This should be considered the 'cheap' operation while getResultForNLUEvaluations is 'expensive'.

skillId - The skill ID.
evaluationId - Identifier of the evaluation.

func (*Client) GetPropertiesForNLUAnnotationSetsV1

func (s *Client) GetPropertiesForNLUAnnotationSetsV1(skillId string, annotationId string) (response *annotationSets_.GetNLUAnnotationSetPropertiesResponse, err error)

GetPropertiesForNLUAnnotationSetsV1 Return the properties for an NLU annotation set.

skillId - The skill ID.
annotationId - Identifier of the NLU annotation set.

func (*Client) GetResourceSchemaV1

func (s *Client) GetResourceSchemaV1(resource string, vendorId string, operation string) (response *resourceSchema_.GetResourceSchemaResponse, err error)

GetResourceSchemaV1 GetResourceSchema API provides schema for skill related resources. The schema returned by this API will be specific to vendor because it considers public beta features allowed for the vendor.

resource - Name of the ASK resource for which schema is requested.
vendorId - The vendor ID.
operation - This parameter is required when resource is manifest because skill manifest schema differs based on operation. For example, submit for certification schema has more validations than create skill schema.

func (*Client) GetResultForNLUEvaluationsV1

func (s *Client) GetResultForNLUEvaluationsV1(skillId string, evaluationId string, sortfield string, testCaseStatus string, actualIntentName string, expectedIntentName string, nextToken string, maxResults int) (response *evaluations_.GetNLUEvaluationResultsResponse, err error)

GetResultForNLUEvaluationsV1 Paginated API which returns the test case results of an evaluation. This should be considered the 'expensive' operation while getNluEvaluation is 'cheap'.

skillId - The skill ID.
evaluationId - Identifier of the evaluation.
sortfield -
testCaseStatus - only returns test cases with this status
actualIntentName - only returns test cases with intents which resolve to this intent
expectedIntentName - only returns test cases with intents which are expected to be this intent
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 1000. If more results are present, the response will contain a nextToken and a _link.next href.

func (*Client) GetRollbackForSkillV1

func (s *Client) GetRollbackForSkillV1(skillId string, rollbackRequestId string) (response *skill_.RollbackRequestStatus, err error)

GetRollbackForSkillV1 Get the rollback status of a skill given an associated rollbackRequestId. Use ~latest in place of rollbackRequestId to get the latest rollback status.

skillId - The skill ID.
rollbackRequestId - Defines the identifier for a rollback request. If set to ~latest, request returns the status of the latest rollback request.

func (*Client) GetSSLCertificatesV1

func (s *Client) GetSSLCertificatesV1(skillId string) (response *skill_.SSLCertificatePayload, err error)

GetSSLCertificatesV1 Returns the ssl certificate sets currently associated with this skill. Sets consist of one ssl certificate blob associated with a region as well as the default certificate for the skill.

skillId - The skill ID.

func (*Client) GetSkillCredentialsV1

func (s *Client) GetSkillCredentialsV1(skillId string) (response *skill_.SkillCredentials, err error)

GetSkillCredentialsV1 Get the client credentials for the skill.

skillId - The skill ID.

func (*Client) GetSkillEnablementStatusV1

func (s *Client) GetSkillEnablementStatusV1(skillId string, stage string) (err error)

GetSkillEnablementStatusV1 Checks whether an enablement exist for given skillId/stage and customerId (retrieved from Auth token)

skillId - The skill ID.
stage - Stage for skill.

func (*Client) GetSkillManifestV1

func (s *Client) GetSkillManifestV1(skillId string, stageV2 string) (response *Manifest_.SkillManifestEnvelope, err error)

GetSkillManifestV1 Returns the skill manifest for given skillId and stage.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

func (*Client) GetSkillMetricsV1

func (s *Client) GetSkillMetricsV1(skillId string, startTime string, endTime string, period string, metric string, stage string, skillType string, intent string, locale string, maxResults int, nextToken string) (response *metrics_.GetMetricDataResponse, err error)

GetSkillMetricsV1 Get analytic metrics report of skill usage.

skillId - The skill ID.
startTime - The start time of query.
endTime - The end time of query (The maximum time duration is 1 week)
period - The aggregation period to use when retrieving the metric, follows ISO_8601#Durations format.
metric - A distinct set of logic which predictably returns a set of data.
stage - The stage of the skill (live, development).
skillType - The type of the skill (custom, smartHome and flashBriefing).
intent - The intent of the skill.
locale - The locale for the skill. e.g. en-GB, en-US, de-DE and etc.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.

func (*Client) GetSkillPublicationsV1

func (s *Client) GetSkillPublicationsV1(skillId string, accept_Language string) (response *publication_.SkillPublicationResponse, err error)

GetSkillPublicationsV1 Retrieves the latest skill publishing details of the certified stage of the skill. The publishesAtDate and status of skill publishing.

skillId - The skill ID.
accept_Language - User's locale/language in context.

func (*Client) GetSkillSimulationV1

func (s *Client) GetSkillSimulationV1(skillId string, simulationId string) (response *simulations_.SimulationsApiResponse, err error)

GetSkillSimulationV1 This API gets the result of a previously executed simulation. A successful response will contain the status of the executed simulation. If the simulation successfully completed, the response will also contain information related to skill invocation. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where the simulation failed, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the skill endpoint. Note that simulation results are stored for 10 minutes. A request for an expired simulation result will return a 404 HTTP status code.

skillId - The skill ID.
simulationId - Id of the simulation.

func (*Client) GetSkillStatusV1

func (s *Client) GetSkillStatusV1(skillId string, resource string) (response *skill_.SkillStatus, err error)

GetSkillStatusV1 Get the status of skill resource and its sub-resources for a given skillId.

skillId - The skill ID.
resource - Resource name for which status information is desired.

It is an optional, filtering parameter and can be used more than once, to retrieve status for all the desired (sub)resources only, in single API call. If this parameter is not specified, status for all the resources/sub-resources will be returned.

func (*Client) GetSkillValidationsV1

func (s *Client) GetSkillValidationsV1(skillId string, validationId string, stage string, accept_Language string) (response *validations_.ValidationsApiResponse, err error)

GetSkillValidationsV1 This API gets the result of a previously executed validation. A successful response will contain the status of the executed validation. If the validation successfully completed, the response will also contain information related to executed validations. In cases where requests to this API results in an error, the response will contain a description of the problem. In cases where the validation failed, the response will contain a status attribute indicating that a failure occurred. Note that validation results are stored for 60 minutes. A request for an expired validation result will return a 404 HTTP status code.

skillId - The skill ID.
validationId - Id of the validation. Reserved word identifier of mostRecent can be used to get the most recent validation for the skill and stage. Note that the behavior of the API in this case would be the same as when the actual validation id of the most recent validation is used in the request.

stage - Stage for skill.
accept_Language - User's locale/language in context.

func (*Client) GetSmartHomeCapabilityEvaluationV1

func (s *Client) GetSmartHomeCapabilityEvaluationV1(skillId string, evaluationId string) (response *smartHomeEvaluation_.GetSHCapabilityEvaluationResponse, err error)

GetSmartHomeCapabilityEvaluationV1 Get top level information and status of a Smart Home capability evaluation.

skillId - The skill ID.
evaluationId - A unique ID to identify each Smart Home capability evaluation.

func (*Client) GetSmarthomeCapablityEvaluationResultsV1

func (s *Client) GetSmarthomeCapablityEvaluationResultsV1(skillId string, maxResults int, nextToken string, evaluationId string) (response *smartHomeEvaluation_.GetSHCapabilityEvaluationResultsResponse, err error)

GetSmarthomeCapablityEvaluationResultsV1 Get test case results for an evaluation run.

skillId - The skill ID.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
evaluationId - A unique ID to identify each Smart Home capability evaluation.

func (*Client) GetStatusOfExportRequestV1

func (s *Client) GetStatusOfExportRequestV1(exportId string) (response *skill_.ExportResponse, err error)

GetStatusOfExportRequestV1 Get status for given exportId

exportId - The Export ID.

func (*Client) GetUtteranceDataV1

func (s *Client) GetUtteranceDataV1(skillId string, nextToken string, maxResults int, sortDirection string, sortField string, stage string, locale []history_.LocaleInQuery, dialogActname []history_.DialogActName, intentconfidencebin []history_.IntentConfidenceBin, intentname []string, intentslotsname []string, interactionType []history_.InteractionType, publicationStatus []history_.PublicationStatus, utteranceText []string) (response *history_.IntentRequests, err error)

GetUtteranceDataV1

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
sortField - Sets the field on which the sorting would be applied.
stage - The stage of the skill to be used for evaluation. An error will be returned if this skill stage is not enabled on the account used for evaluation.
locale -
dialogActname - A filter used to retrieve items where the dialogAct name is equal to the given value.

* `Dialog.ElicitSlot`: Alexa asked the user for the value of a specific slot. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#elicitslot) * `Dialog.ConfirmSlot`: Alexa confirmed the value of a specific slot before continuing with the dialog. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#confirmslot) * `Dialog.ConfirmIntent`: Alexa confirmed the all the information the user has provided for the intent before the skill took action. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#confirmintent)

intentconfidencebin -
intentname - A filter used to retrieve items where the intent name is equal to the given value.
intentslotsname - A filter used to retrieve items where the one of the slot names is equal to the given value.
interactionType -
publicationStatus -
utteranceText - A filter used to retrieve items where the utterance text contains the given phrase. Each filter value can be at-least 1 character and at-most 100 characters long.

func (*Client) GetVendorListV1

func (s *Client) GetVendorListV1() (response *vendorManagement_.Vendors, err error)

GetVendorListV1 Get the list of Vendor information.

func (*Client) ImportSkillPackageV1

func (s *Client) ImportSkillPackageV1(updateSkillWithPackageRequest *skill_.UpdateSkillWithPackageRequest, skillId string, if_Match string) (err error)

ImportSkillPackageV1 Creates a new import for a skill with given skillId.

updateSkillWithPackageRequest - Defines the request body for updatePackage API.
skillId - The skill ID.
if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.

func (*Client) InvokeSkillV1

func (s *Client) InvokeSkillV1(skillId string, invokeSkillRequest *invocations_.InvokeSkillRequest) (response *invocations_.InvokeSkillResponse, err error)

InvokeSkillV1 This is a synchronous API that invokes the Lambda or third party HTTPS endpoint for a given skill. A successful response will contain information related to what endpoint was called, payload sent to and received from the endpoint. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where invoking the skill endpoint specifically fails, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the endpoint. The skill must belong to and be enabled by the user of this API. Also, note that calls to the skill endpoint will timeout after 10 seconds.

skillId - The skill ID.
invokeSkillRequest - Payload sent to the skill invocation API.

func (*Client) ListASRAnnotationSetsV1

func (s *Client) ListASRAnnotationSetsV1(skillId string, nextToken string, maxResults int) (response *annotationSets_.ListASRAnnotationSetsResponse, err error)

ListASRAnnotationSetsV1 API which requests all the ASR annotation sets for a skill. Returns the annotation set id and properties for each ASR annotation set. Supports paging of results.

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 1000. If more results are present, the response will contain a paginationContext.

func (*Client) ListASREvaluationsResultsV1

func (s *Client) ListASREvaluationsResultsV1(skillId string, nextToken string, evaluationId string, maxResults int, status string) (response *evaluations_.GetAsrEvaluationsResultsResponse, err error)

ListASREvaluationsResultsV1 Paginated API which returns the test case results of an evaluation. This should be considered the "expensive" operation while GetAsrEvaluationsStatus is "cheap".

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
evaluationId - Identifier of the evaluation.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 1000. If more results are present, the response will contain a nextToken.

status - query parameter used to filter evaluation result status.
 * `PASSED` - filter evaluation result status of `PASSED`
 * `FAILED` - filter evaluation result status of `FAILED`

func (*Client) ListASREvaluationsV1

func (s *Client) ListASREvaluationsV1(skillId string, nextToken string, locale string, stage string, annotationSetId string, maxResults int) (response *evaluations_.ListAsrEvaluationsResponse, err error)

ListASREvaluationsV1 API that allows developers to get historical ASR evaluations they run before.

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
locale - locale in bcp 47 format. Used to filter results with the specified locale. If omitted, the response would include all evaluations regardless of what locale was used in the evaluation
stage - Query parameter used to filter evaluations with specified skill stage.
 * `development` - skill in `development` stage
 * `live` - skill in `live` stage

annotationSetId - filter to evaluations started using this annotationSetId
maxResults - Sets the maximum number of results returned in the response body. Defaults to 1000. If more results are present, the response will contain a nextToken.

func (*Client) ListInteractionModelCatalogVersionsV1

func (s *Client) ListInteractionModelCatalogVersionsV1(catalogId string, maxResults int, nextToken string, sortDirection string, sortField string) (response *version_.ListCatalogEntityVersionsResponse, err error)

ListInteractionModelCatalogVersionsV1 List all the historical versions of the given catalogId.

catalogId - Provides a unique identifier of the catalog
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
sortField - Sets the field on which the sorting would be applied.

func (*Client) ListInteractionModelCatalogsV1

func (s *Client) ListInteractionModelCatalogsV1(vendorId string, maxResults int, nextToken string, sortDirection string) (response *catalog_.ListCatalogResponse, err error)

ListInteractionModelCatalogsV1 List all catalogs for the vendor.

vendorId - The vendor ID.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.

func (*Client) ListInteractionModelSlotTypeVersionsV1

func (s *Client) ListInteractionModelSlotTypeVersionsV1(slotTypeId string, maxResults int, nextToken string, sortDirection string) (response *typeVersion_.ListSlotTypeVersionResponse, err error)

ListInteractionModelSlotTypeVersionsV1 List all slot type versions for the slot type id.

slotTypeId - The identifier for a slot type.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.

func (*Client) ListInteractionModelSlotTypesV1

func (s *Client) ListInteractionModelSlotTypesV1(vendorId string, maxResults int, nextToken string, sortDirection string) (response *type1_.ListSlotTypeResponse, err error)

ListInteractionModelSlotTypesV1 List all slot types for the vendor.

vendorId - The vendor ID.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.

func (*Client) ListInteractionModelVersionsV1

func (s *Client) ListInteractionModelVersionsV1(skillId string, stageV2 string, locale string, nextToken string, maxResults int, sortDirection string, sortField string) (response *version_.ListResponse, err error)

ListInteractionModelVersionsV1 Get the list of interactionModel versions of a skill for the vendor.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

locale - The locale for the model requested e.g. en-GB, en-US, de-DE.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
sortField - Sets the field on which the sorting would be applied.

func (*Client) ListJobDefinitionsForInteractionModelV1

func (s *Client) ListJobDefinitionsForInteractionModelV1(vendorId string, maxResults int, nextToken string) (response *jobs_.ListJobDefinitionsResponse, err error)

ListJobDefinitionsForInteractionModelV1 Retrieve a list of jobs associated with the vendor.

vendorId - The vendor ID.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.

func (*Client) ListJobExecutionsForInteractionModelV1

func (s *Client) ListJobExecutionsForInteractionModelV1(jobId string, maxResults int, nextToken string, sortDirection string) (response *jobs_.GetExecutionsResponse, err error)

ListJobExecutionsForInteractionModelV1 List the execution history associated with the job definition, with default sortField to be the executions' timestamp.

jobId - The identifier for dynamic jobs.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
sortDirection - Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.

func (*Client) ListNLUAnnotationSetsV1

func (s *Client) ListNLUAnnotationSetsV1(skillId string, locale string, nextToken string, maxResults int) (response *annotationSets_.ListNLUAnnotationSetsResponse, err error)

ListNLUAnnotationSetsV1 API which requests all the NLU annotation sets for a skill. Returns the annotationId and properties for each NLU annotation set. Developers can filter the results using locale. Supports paging of results.

skillId - The skill ID.
locale - filter to NLU annotation set created using this locale
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 10. If more results are present, the response will contain a nextToken and a _link.next href.

func (*Client) ListNLUEvaluationsV1

func (s *Client) ListNLUEvaluationsV1(skillId string, locale string, stage string, annotationId string, nextToken string, maxResults int) (response *evaluations_.ListNLUEvaluationsResponse, err error)

ListNLUEvaluationsV1 API which requests recently run nlu evaluations started by a vendor for a skill. Returns the evaluation id and some of the parameters used to start the evaluation. Developers can filter the results using locale and stage. Supports paging of results.

skillId - The skill ID.
locale - filter to evaluations started using this locale
stage - filter to evaluations started using this stage
annotationId - filter to evaluations started using this annotationId
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. Defaults to 10. If more results are present, the response will contain a nextToken and a _link.next href.

func (*Client) ListPrivateDistributionAccountsV1

func (s *Client) ListPrivateDistributionAccountsV1(skillId string, stage string, nextToken string, maxResults int) (response *Private_.ListPrivateDistributionAccountsResponse, err error)

ListPrivateDistributionAccountsV1 List private distribution accounts.

skillId - The skill ID.
stage - Stage for skill.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) ListSkillsForVendorV1

func (s *Client) ListSkillsForVendorV1(vendorId string, nextToken string, maxResults int, skillId []string) (response *skill_.ListSkillResponse, err error)

ListSkillsForVendorV1 Get the list of skills for the vendor.

vendorId - The vendor ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
skillId - The list of skillIds that you wish to get the summary for. A maximum of 10 skillIds can be specified to get the skill summary in single listSkills call. Please note that this parameter must not be used with 'nextToken' or/and 'maxResults' parameter.

func (*Client) ListSmarthomeCapabilityEvaluationsV1

func (s *Client) ListSmarthomeCapabilityEvaluationsV1(skillId string, stage string, startTimestampFrom string, startTimestampTo string, maxResults int, nextToken string) (response *smartHomeEvaluation_.ListSHCapabilityEvaluationsResponse, err error)

ListSmarthomeCapabilityEvaluationsV1 List Smart Home capability evaluation runs for a skill.

skillId - The skill ID.
stage - The stage of the skill to be used for evaluation. An error will be returned if this skill stage is not enabled on the account used for evaluation.
startTimestampFrom - The begnning of the start time to query evaluation result.
startTimestampTo - The end of the start time to query evaluation result.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.

func (*Client) ListSmarthomeCapabilityTestPlansV1

func (s *Client) ListSmarthomeCapabilityTestPlansV1(skillId string, maxResults int, nextToken string) (response *smartHomeEvaluation_.ListSHCapabilityTestPlansResponse, err error)

ListSmarthomeCapabilityTestPlansV1 List all the test plan names and ids for a given skill ID.

skillId - The skill ID.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.

func (*Client) ListVersionsForSkillV1

func (s *Client) ListVersionsForSkillV1(skillId string, nextToken string, maxResults int) (response *skill_.ListSkillVersionsResponse, err error)

ListVersionsForSkillV1 Retrieve a list of all skill versions associated with this skill id

skillId - The skill ID.
nextToken - When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
maxResults - Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.

func (*Client) ProfileNluV1

func (s *Client) ProfileNluV1(profileNluRequest *evaluations_.ProfileNluRequest, skillId string, stage string, locale string) (response *evaluations_.ProfileNluResponse, err error)

ProfileNluV1 This is a synchronous API that profiles an utterance against interaction model.

profileNluRequest - Payload sent to the profile nlu API.
skillId - The skill ID.
stage - Stage for skill.
locale - The locale for the model requested e.g. en-GB, en-US, de-DE.

func (*Client) PublishSkillV1

func (s *Client) PublishSkillV1(skillId string, accept_Language string, publishSkillRequest *publication_.PublishSkillRequest) (response *publication_.SkillPublicationResponse, err error)

PublishSkillV1 If the skill is in certified stage, initiate publishing immediately or set a date at which the skill can publish at.

skillId - The skill ID.
accept_Language - User's locale/language in context.
publishSkillRequest - Defines the request body for publish skill API.

func (*Client) QueryDevelopmentAuditLogsV1

func (s *Client) QueryDevelopmentAuditLogsV1(getAuditLogsRequest *auditLogs_.AuditLogsRequest) (response *auditLogs_.AuditLogsResponse, err error)

QueryDevelopmentAuditLogsV1 The SMAPI Audit Logs API provides customers with an audit history of all SMAPI calls made by a developer or developers with permissions on that account.

getAuditLogsRequest - Request object encompassing vendorId, optional request filters and optional pagination context.

func (*Client) RemoveTestersFromBetaTestV1

func (s *Client) RemoveTestersFromBetaTestV1(skillId string, testersRequest *testers_.TestersList) (err error)

RemoveTestersFromBetaTestV1 Remove testers from a beta test for the given Alexa skill. System will send access end email to each tester and remove entitlement for them.

skillId - The skill ID.
testersRequest - JSON object containing the email address of beta testers.

func (*Client) RequestFeedbackFromTestersV1

func (s *Client) RequestFeedbackFromTestersV1(skillId string, testersRequest *testers_.TestersList) (err error)

RequestFeedbackFromTestersV1 Request feedback from the testers in a beta test for the given Alexa skill. System will send notification emails to testers to request feedback.

skillId - The skill ID.
testersRequest - JSON object containing the email address of beta testers.

func (*Client) ResetEntitlementForProductV1

func (s *Client) ResetEntitlementForProductV1(productId string, stage string) (err error)

ResetEntitlementForProductV1 Resets the entitlement(s) of the Product for the current user.

productId - The in-skill product ID.
stage - Stage for skill.

func (*Client) RollbackSkillV1

func (s *Client) RollbackSkillV1(skillId string, createRollbackRequest *skill_.CreateRollbackRequest) (response *skill_.CreateRollbackResponse, err error)

RollbackSkillV1 Submit a target skill version to rollback to. Only one rollback or publish operation can be outstanding for a given skillId.

skillId - The skill ID.
createRollbackRequest - defines the request body to create a rollback request

func (*Client) SendReminderToTestersV1

func (s *Client) SendReminderToTestersV1(skillId string, testersRequest *testers_.TestersList) (err error)

SendReminderToTestersV1 Send reminder to the testers in a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.

skillId - The skill ID.
testersRequest - JSON object containing the email address of beta testers.

func (*Client) SetASRAnnotationSetV1

func (s *Client) SetASRAnnotationSetV1(skillId string, annotationSetId string, updateAsrAnnotationSetPropertiesRequestV1 *annotationSets_.UpdateAsrAnnotationSetPropertiesRequestObject) (err error)

SetASRAnnotationSetV1 API which updates the ASR annotation set properties. Currently, the only data can be updated is annotation set name.

skillId - The skill ID.
annotationSetId - Identifier of the ASR annotation set.
updateAsrAnnotationSetPropertiesRequestV1 - Payload sent to the update ASR annotation set properties API.

func (*Client) SetAnnotationsForASRAnnotationSetV1

func (s *Client) SetAnnotationsForASRAnnotationSetV1(skillId string, annotationSetId string, updateAsrAnnotationSetContentsRequest *annotationSets_.UpdateAsrAnnotationSetContentsPayload) (err error)

SetAnnotationsForASRAnnotationSetV1 API that updates the annotaions in the annotation set

skillId - The skill ID.
annotationSetId - Identifier of the ASR annotation set.
updateAsrAnnotationSetContentsRequest - Payload containing annotation set contents. Two formats are accepted here: - `application/json`: Annotation set payload in JSON format. - `text/csv`: Annotation set payload in CSV format. Note that for CSV format, the first row should describe the column attributes. Columns should be delimited by comma.  The subsequent rows should describe annotation data and each annotation attributes has to follow the strict ordering defined in the first row. Each annotation fields should be delimited by comma.

func (*Client) SetInteractionModelV1

func (s *Client) SetInteractionModelV1(skillId string, stageV2 string, locale string, interactionModel *interactionModel_.InteractionModelData, if_Match string) (err error)

SetInteractionModelV1 Creates an `InteractionModel` for the skill.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

locale - The locale for the model requested e.g. en-GB, en-US, de-DE.
interactionModel -
if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.

func (*Client) SetJobStatusForInteractionModelV1

func (s *Client) SetJobStatusForInteractionModelV1(jobId string, updateJobStatusRequest *jobs_.UpdateJobStatusRequest) (err error)

SetJobStatusForInteractionModelV1 Update the JobStatus to Enable or Disable a job.

jobId - The identifier for dynamic jobs.
updateJobStatusRequest - Request to update Job Definition status.

func (*Client) SetPrivateDistributionAccountIdV1

func (s *Client) SetPrivateDistributionAccountIdV1(skillId string, stage string, id string) (err error)

SetPrivateDistributionAccountIdV1 Add an id to the private distribution accounts.

skillId - The skill ID.
stage - Stage for skill.
id - ARN that a skill can be privately distributed to.

func (*Client) SetSSLCertificatesV1

func (s *Client) SetSSLCertificatesV1(skillId string, sslCertificatePayload *skill_.SSLCertificatePayload) (err error)

SetSSLCertificatesV1 Updates the ssl certificates associated with this skill.

skillId - The skill ID.
sslCertificatePayload - Defines the input/output of the ssl certificates api for a skill.

func (*Client) SetSkillEnablementV1

func (s *Client) SetSkillEnablementV1(skillId string, stage string) (err error)

SetSkillEnablementV1 Creates/Updates the enablement for given skillId/stage and customerId (retrieved from Auth token)

skillId - The skill ID.
stage - Stage for skill.

func (*Client) SimulateSkillV1

func (s *Client) SimulateSkillV1(skillId string, simulationsApiRequest *simulations_.SimulationsApiRequest) (response *simulations_.SimulationsApiResponse, err error)

SimulateSkillV1 This is an asynchronous API that simulates a skill execution in the Alexa eco-system given an utterance text of what a customer would say to Alexa. A successful response will contain a header with the location of the simulation resource. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. The skill being simulated must be in development stage, and it must also belong to and be enabled by the user of this API. Concurrent requests per user is currently not supported.

skillId - The skill ID.
simulationsApiRequest - Payload sent to the skill simulation API.

func (*Client) StartBetaTestV1

func (s *Client) StartBetaTestV1(skillId string) (err error)

StartBetaTestV1 Start a beta test for a given Alexa skill. System will send invitation emails to each tester in the test, and add entitlement on the acceptance.

skillId - The skill ID.

func (*Client) SubmitSkillForCertificationV1

func (s *Client) SubmitSkillForCertificationV1(skillId string, submitSkillForCertificationRequest *skill_.SubmitSkillForCertificationRequest) (err error)

SubmitSkillForCertificationV1 Submit the skill for certification.

skillId - The skill ID.
submitSkillForCertificationRequest - Defines the request body for submitSkillForCertification API.

func (*Client) SubmitSkillValidationV1

func (s *Client) SubmitSkillValidationV1(validationsApiRequest *validations_.ValidationsApiRequest, skillId string, stage string) (response *validations_.ValidationsApiResponse, err error)

SubmitSkillValidationV1 This is an asynchronous API which allows a skill developer to execute various validations against their skill.

validationsApiRequest - Payload sent to the skill validation API.
skillId - The skill ID.
stage - Stage for skill.

func (*Client) UpdateAccountLinkingInfoV1

func (s *Client) UpdateAccountLinkingInfoV1(skillId string, stageV2 string, accountLinkingRequest *accountLinking_.AccountLinkingRequest, if_Match string) (err error)

UpdateAccountLinkingInfoV1 Create AccountLinking information for the skill.

skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

accountLinkingRequest - The fields required to create accountLinking partner.
if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.

func (*Client) UpdateAnnotationsForNLUAnnotationSetsV1

func (s *Client) UpdateAnnotationsForNLUAnnotationSetsV1(skillId string, annotationId string, content_Type string, updateNLUAnnotationSetAnnotationsRequest *annotationSets_.UpdateNLUAnnotationSetAnnotationsRequest) (err error)

UpdateAnnotationsForNLUAnnotationSetsV1 API which replaces the annotations in NLU annotation set.

skillId - The skill ID.
annotationId - Identifier of the NLU annotation set.
content_Type - Standard HTTP. Pass `application/json` or `test/csv` for POST calls with a json/csv body.

updateNLUAnnotationSetAnnotationsRequest - Payload sent to the update NLU annotation set API.

func (*Client) UpdateBetaTestV1

func (s *Client) UpdateBetaTestV1(skillId string, createTestBody *betaTest_.TestBody) (err error)

UpdateBetaTestV1 Update a beta test for a given Alexa skill.

skillId - The skill ID.
createTestBody - JSON object containing the details of a beta test used to create the test.

func (*Client) UpdateInteractionModelCatalogV1

func (s *Client) UpdateInteractionModelCatalogV1(catalogId string, updateRequest *catalog_.UpdateRequest) (err error)

UpdateInteractionModelCatalogV1 update description and vendorGuidance string for certain version of a catalog.

catalogId - Provides a unique identifier of the catalog
updateRequest -

func (*Client) UpdateInteractionModelCatalogVersionV1

func (s *Client) UpdateInteractionModelCatalogVersionV1(catalogId string, version string, catalogUpdate *version_.CatalogUpdate) (err error)

UpdateInteractionModelCatalogVersionV1 Update description and vendorGuidance string for certain version of a catalog.

catalogId - Provides a unique identifier of the catalog
version - Version for interaction model.
catalogUpdate -

func (*Client) UpdateInteractionModelSlotTypeV1

func (s *Client) UpdateInteractionModelSlotTypeV1(slotTypeId string, updateRequest *type1_.UpdateRequest) (err error)

UpdateInteractionModelSlotTypeV1 Update description and vendorGuidance string for certain version of a slot type.

slotTypeId - The identifier for a slot type.
updateRequest -

func (*Client) UpdateInteractionModelSlotTypeVersionV1

func (s *Client) UpdateInteractionModelSlotTypeVersionV1(slotTypeId string, version string, slotTypeUpdate *typeVersion_.SlotTypeUpdate) (err error)

UpdateInteractionModelSlotTypeVersionV1 Update description and vendorGuidance string for certain version of a slot type.

slotTypeId - The identifier for a slot type.
version - Version for interaction model.
slotTypeUpdate -

func (*Client) UpdateIspForProductV1

func (s *Client) UpdateIspForProductV1(if_Match string, productId string, stage string, updateInSkillProductRequest *isp_.UpdateInSkillProductRequest) (err error)

UpdateIspForProductV1 Updates in-skill product definition for given productId. Only development stage supported.

if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
productId - The in-skill product ID.
stage - Stage for skill.
updateInSkillProductRequest - defines the request body for updateInSkillProduct API.

func (*Client) UpdatePropertiesForNLUAnnotationSetsV1

func (s *Client) UpdatePropertiesForNLUAnnotationSetsV1(skillId string, annotationId string, updateNLUAnnotationSetPropertiesRequest *annotationSets_.UpdateNLUAnnotationSetPropertiesRequest) (err error)

UpdatePropertiesForNLUAnnotationSetsV1 API which updates the NLU annotation set properties. Currently, the only data can be updated is annotation set name.

skillId - The skill ID.
annotationId - Identifier of the NLU annotation set.
updateNLUAnnotationSetPropertiesRequest - Payload sent to the update NLU annotation set properties API.

func (*Client) UpdateSkillManifestV1

func (s *Client) UpdateSkillManifestV1(if_Match string, skillId string, stageV2 string, updateSkillRequest *Manifest_.SkillManifestEnvelope) (err error)

UpdateSkillManifestV1 Updates skill manifest for given skillId and stage.

if_Match - Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
skillId - The skill ID.
stageV2 - Stages of a skill including the new certified stage.

* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.

updateSkillRequest - Defines the request body for updateSkill API.

func (*Client) WithdrawSkillFromCertificationV1

func (s *Client) WithdrawSkillFromCertificationV1(skillId string, withdrawRequest *skill_.WithdrawRequest) (err error)

WithdrawSkillFromCertificationV1 Withdraws the skill from certification.

skillId - The skill ID.
withdrawRequest - The reason and message (in case of OTHER) to withdraw a skill.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL