Documentation ¶
Overview ¶
Package cdnv1iface provides an interface to enable mocking the cdnv1 service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cdnv1API ¶
type Cdnv1API interface { AddCdnDomainGet(*map[string]interface{}) (*map[string]interface{}, error) AddCdnDomainGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AddCdnDomainGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) AddCdnDomainPost(*map[string]interface{}) (*map[string]interface{}, error) AddCdnDomainPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) AddCdnDomainPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) BlockDomainUrlPost(*map[string]interface{}) (*map[string]interface{}, error) BlockDomainUrlPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) BlockDomainUrlPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ConfigCertificateGet(*map[string]interface{}) (*map[string]interface{}, error) ConfigCertificateGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ConfigCertificateGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ConfigCertificatePost(*map[string]interface{}) (*map[string]interface{}, error) ConfigCertificatePostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ConfigCertificatePostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteCdnDomainGet(*map[string]interface{}) (*map[string]interface{}, error) DeleteCdnDomainGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteCdnDomainGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteCdnDomainPost(*map[string]interface{}) (*map[string]interface{}, error) DeleteCdnDomainPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteCdnDomainPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteHttpHeadersConfigGet(*map[string]interface{}) (*map[string]interface{}, error) DeleteHttpHeadersConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteHttpHeadersConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteHttpHeadersConfigPost(*map[string]interface{}) (*map[string]interface{}, error) DeleteHttpHeadersConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteHttpHeadersConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetAreaDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetAreaDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetAreaDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetAreaDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetAreaDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetAreaDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBandwidthDataByDirGet(*map[string]interface{}) (*map[string]interface{}, error) GetBandwidthDataByDirGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBandwidthDataByDirGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBandwidthDataByDirPost(*map[string]interface{}) (*map[string]interface{}, error) GetBandwidthDataByDirPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBandwidthDataByDirPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBandwidthDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetBandwidthDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBandwidthDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBandwidthDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetBandwidthDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBandwidthDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBillingDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetBillingDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBillingDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBillingDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetBillingDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBillingDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBillingModeGet(*map[string]interface{}) (*map[string]interface{}, error) GetBillingModeGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBillingModeGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBillingModePost(*map[string]interface{}) (*map[string]interface{}, error) GetBillingModePostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBillingModePostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBlockUrlQuotaGet(*map[string]interface{}) (*map[string]interface{}, error) GetBlockUrlQuotaGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBlockUrlQuotaGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBlockUrlQuotaPost(*map[string]interface{}) (*map[string]interface{}, error) GetBlockUrlQuotaPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBlockUrlQuotaPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetBlockUrlTaskPost(*map[string]interface{}) (*map[string]interface{}, error) GetBlockUrlTaskPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetBlockUrlTaskPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCdnDomainBasicInfoGet(*map[string]interface{}) (*map[string]interface{}, error) GetCdnDomainBasicInfoGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCdnDomainBasicInfoGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCdnDomainBasicInfoPost(*map[string]interface{}) (*map[string]interface{}, error) GetCdnDomainBasicInfoPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCdnDomainBasicInfoPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCdnDomainsGet(*map[string]interface{}) (*map[string]interface{}, error) GetCdnDomainsGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCdnDomainsGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCdnDomainsPost(*map[string]interface{}) (*map[string]interface{}, error) GetCdnDomainsPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCdnDomainsPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCertificatesGet(*map[string]interface{}) (*map[string]interface{}, error) GetCertificatesGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCertificatesGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCertificatesPost(*map[string]interface{}) (*map[string]interface{}, error) GetCertificatesPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCertificatesPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetCnameSuffixsGet(*map[string]interface{}) (*map[string]interface{}, error) GetCnameSuffixsGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetCnameSuffixsGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainConfigsGet(*map[string]interface{}) (*map[string]interface{}, error) GetDomainConfigsGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainConfigsGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainConfigsPost(*map[string]interface{}) (*map[string]interface{}, error) GetDomainConfigsPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainConfigsPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainLogServiceStatusGet(*map[string]interface{}) (*map[string]interface{}, error) GetDomainLogServiceStatusGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainLogServiceStatusGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainLogServiceStatusPost(*map[string]interface{}) (*map[string]interface{}, error) GetDomainLogServiceStatusPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainLogServiceStatusPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainLogsGet(*map[string]interface{}) (*map[string]interface{}, error) GetDomainLogsGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainLogsGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainLogsPost(*map[string]interface{}) (*map[string]interface{}, error) GetDomainLogsPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainLogsPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainRankingListDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetDomainRankingListDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainRankingListDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainRankingListDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetDomainRankingListDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainRankingListDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetDomainsByOriginGet(*map[string]interface{}) (*map[string]interface{}, error) GetDomainsByOriginGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetDomainsByOriginGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetFlowDataByDirGet(*map[string]interface{}) (*map[string]interface{}, error) GetFlowDataByDirGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetFlowDataByDirGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetFlowDataByDirPost(*map[string]interface{}) (*map[string]interface{}, error) GetFlowDataByDirPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetFlowDataByDirPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetFlowDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetFlowDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetFlowDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetFlowDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetFlowDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetFlowDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHitRateDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetHitRateDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHitRateDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHitRateDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetHitRateDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHitRateDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHitRateDetailedDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetHitRateDetailedDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHitRateDetailedDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHitRateDetailedDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetHitRateDetailedDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHitRateDetailedDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpCodeDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetHttpCodeDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpCodeDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpCodeDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetHttpCodeDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpCodeDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpCodeDetailedDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetHttpCodeDetailedDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpCodeDetailedDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpCodeDetailedDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetHttpCodeDetailedDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpCodeDetailedDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpHeaderListGet(*map[string]interface{}) (*map[string]interface{}, error) GetHttpHeaderListGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpHeaderListGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetHttpHeaderListPost(*map[string]interface{}) (*map[string]interface{}, error) GetHttpHeaderListPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetHttpHeaderListPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetIspDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetIspDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetIspDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetIspDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetIspDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetIspDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveBandwidthDataByStreamGet(*map[string]interface{}) (*map[string]interface{}, error) GetLiveBandwidthDataByStreamGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveBandwidthDataByStreamGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveBandwidthDataByStreamPost(*map[string]interface{}) (*map[string]interface{}, error) GetLiveBandwidthDataByStreamPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveBandwidthDataByStreamPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveFlowDataByStreamGet(*map[string]interface{}) (*map[string]interface{}, error) GetLiveFlowDataByStreamGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveFlowDataByStreamGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveFlowDataByStreamPost(*map[string]interface{}) (*map[string]interface{}, error) GetLiveFlowDataByStreamPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveFlowDataByStreamPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveOnlineUserDataByDomainGet(*map[string]interface{}) (*map[string]interface{}, error) GetLiveOnlineUserDataByDomainGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveOnlineUserDataByDomainGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveOnlineUserDataByDomainPost(*map[string]interface{}) (*map[string]interface{}, error) GetLiveOnlineUserDataByDomainPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveOnlineUserDataByDomainPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveOnlineUserDataByStreamGet(*map[string]interface{}) (*map[string]interface{}, error) GetLiveOnlineUserDataByStreamGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveOnlineUserDataByStreamGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveOnlineUserDataByStreamPost(*map[string]interface{}) (*map[string]interface{}, error) GetLiveOnlineUserDataByStreamPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveOnlineUserDataByStreamPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLivePlayStatDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetLivePlayStatDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLivePlayStatDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLivePlayStatDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetLivePlayStatDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLivePlayStatDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveTopOnlineUserDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetLiveTopOnlineUserDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveTopOnlineUserDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetLiveTopOnlineUserDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetLiveTopOnlineUserDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetLiveTopOnlineUserDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPeakBandwidthDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetPeakBandwidthDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPeakBandwidthDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPeakBandwidthDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetPeakBandwidthDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPeakBandwidthDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPlayTimeDataByDomainGet(*map[string]interface{}) (*map[string]interface{}, error) GetPlayTimeDataByDomainGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPlayTimeDataByDomainGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPlayTimeDataByDomainPost(*map[string]interface{}) (*map[string]interface{}, error) GetPlayTimeDataByDomainPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPlayTimeDataByDomainPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPlayTimeDataByStreamGet(*map[string]interface{}) (*map[string]interface{}, error) GetPlayTimeDataByStreamGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPlayTimeDataByStreamGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPlayTimeDataByStreamPost(*map[string]interface{}) (*map[string]interface{}, error) GetPlayTimeDataByStreamPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPlayTimeDataByStreamPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspBandwidthDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspBandwidthDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspBandwidthDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspBandwidthDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspBandwidthDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspBandwidthDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspFlowDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspFlowDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspFlowDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspFlowDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspFlowDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspFlowDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHitRateDetailedDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHitRateDetailedDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHitRateDetailedDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHitRateDetailedDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHitRateDetailedDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHitRateDetailedDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHttpCodeDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHttpCodeDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHttpCodeDetailedDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDetailedDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDetailedDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspHttpCodeDetailedDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDetailedDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspHttpCodeDetailedDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspPvDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspPvDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspPvDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetProvinceAndIspPvDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetProvinceAndIspPvDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetProvinceAndIspPvDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPvDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetPvDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPvDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetPvDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetPvDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetPvDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetRefreshOrPreloadQuotaGet(*map[string]interface{}) (*map[string]interface{}, error) GetRefreshOrPreloadQuotaGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetRefreshOrPreloadQuotaGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetRefreshOrPreloadQuotaPost(*map[string]interface{}) (*map[string]interface{}, error) GetRefreshOrPreloadQuotaPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetRefreshOrPreloadQuotaPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetRefreshOrPreloadTaskPost(*map[string]interface{}) (*map[string]interface{}, error) GetRefreshOrPreloadTaskPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetRefreshOrPreloadTaskPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetServiceIpDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetServiceIpDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetServiceIpDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetServiceIpDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetServiceIpDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetServiceIpDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSrcHttpCodeDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetSrcHttpCodeDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSrcHttpCodeDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSrcHttpCodeDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetSrcHttpCodeDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSrcHttpCodeDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSrcHttpCodeDetailedDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetSrcHttpCodeDetailedDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSrcHttpCodeDetailedDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSrcHttpCodeDetailedDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetSrcHttpCodeDetailedDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSrcHttpCodeDetailedDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsBandwidthDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsBandwidthDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsBandwidthDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsBandwidthDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsBandwidthDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsBandwidthDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsFlowDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsFlowDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsFlowDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsFlowDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsFlowDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsFlowDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsPvDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsPvDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsPvDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetSubDomainsPvDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetSubDomainsPvDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetSubDomainsPvDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopIpDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetTopIpDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopIpDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopIpDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetTopIpDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopIpDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopReferDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetTopReferDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopReferDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopReferDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetTopReferDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopReferDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopUrlDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetTopUrlDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopUrlDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetTopUrlDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetTopUrlDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetTopUrlDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetUvDataGet(*map[string]interface{}) (*map[string]interface{}, error) GetUvDataGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetUvDataGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetUvDataPost(*map[string]interface{}) (*map[string]interface{}, error) GetUvDataPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetUvDataPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetVideoSeekConfigGet(*map[string]interface{}) (*map[string]interface{}, error) GetVideoSeekConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetVideoSeekConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) GetVideoSeekConfigPost(*map[string]interface{}) (*map[string]interface{}, error) GetVideoSeekConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) GetVideoSeekConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ModifyCdnDomainBasicInfoGet(*map[string]interface{}) (*map[string]interface{}, error) ModifyCdnDomainBasicInfoGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ModifyCdnDomainBasicInfoGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ModifyCdnDomainBasicInfoPost(*map[string]interface{}) (*map[string]interface{}, error) ModifyCdnDomainBasicInfoPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ModifyCdnDomainBasicInfoPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) PreloadCachesPost(*map[string]interface{}) (*map[string]interface{}, error) PreloadCachesPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) PreloadCachesPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) RefreshCachesPost(*map[string]interface{}) (*map[string]interface{}, error) RefreshCachesPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) RefreshCachesPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) RemoveCertificatesGet(*map[string]interface{}) (*map[string]interface{}, error) RemoveCertificatesGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) RemoveCertificatesGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) RemoveCertificatesPost(*map[string]interface{}) (*map[string]interface{}, error) RemoveCertificatesPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) RemoveCertificatesPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetBackOriginHostConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetBackOriginHostConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetBackOriginHostConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetBackOriginHostConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetBackOriginHostConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetBackOriginHostConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetCacheRuleConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetCacheRuleConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetCacheRuleConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetCertificateGet(*map[string]interface{}) (*map[string]interface{}, error) SetCertificateGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetCertificateGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetCertificatePost(*map[string]interface{}) (*map[string]interface{}, error) SetCertificatePostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetCertificatePostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetDomainConfigsPost(*map[string]interface{}) (*map[string]interface{}, error) SetDomainConfigsPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetDomainConfigsPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetDomainLogServiceGet(*map[string]interface{}) (*map[string]interface{}, error) SetDomainLogServiceGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetDomainLogServiceGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetDomainLogServicePost(*map[string]interface{}) (*map[string]interface{}, error) SetDomainLogServicePostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetDomainLogServicePostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetErrorPageConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetErrorPageConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetErrorPageConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetForceRedirectConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetForceRedirectConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetForceRedirectConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetForceRedirectConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetForceRedirectConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetForceRedirectConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetHttp2OptionConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetHttp2OptionConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetHttp2OptionConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetHttp2OptionConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetHttp2OptionConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetHttp2OptionConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetHttpHeadersConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetHttpHeadersConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetHttpHeadersConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetHttpHeadersConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetHttpHeadersConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetHttpHeadersConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetIpProtectionConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetIpProtectionConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetIpProtectionConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetIpProtectionConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetIpProtectionConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetIpProtectionConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetOriginAdvancedConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetOriginAdvancedConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetOriginAdvancedConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetPageCompressConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetPageCompressConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetPageCompressConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetPageCompressConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetPageCompressConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetPageCompressConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetReferProtectionConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetReferProtectionConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetReferProtectionConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetReferProtectionConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetReferProtectionConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetReferProtectionConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetRemarkConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetRemarkConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetRemarkConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetRemarkConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetRemarkConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetRemarkConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetRequestAuthConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetRequestAuthConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetRequestAuthConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetRequestAuthConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetRequestAuthConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetRequestAuthConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetTestUrlConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetTestUrlConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetTestUrlConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetTestUrlConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetTestUrlConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetTestUrlConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetVideoSeekConfigGet(*map[string]interface{}) (*map[string]interface{}, error) SetVideoSeekConfigGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetVideoSeekConfigGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) SetVideoSeekConfigPost(*map[string]interface{}) (*map[string]interface{}, error) SetVideoSeekConfigPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) SetVideoSeekConfigPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) StartStopCdnDomainGet(*map[string]interface{}) (*map[string]interface{}, error) StartStopCdnDomainGetWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) StartStopCdnDomainGetRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) StartStopCdnDomainPost(*map[string]interface{}) (*map[string]interface{}, error) StartStopCdnDomainPostWithContext(aws.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) StartStopCdnDomainPostRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) }
Cdnv1API provides an interface to enable mocking the cdnv1.Cdnv1 service client's API operation, paginators, and waiters. This make unit testing your code that calls out to the SDK's service client's calls easier.
The best way to use this interface is so the SDK's service client's calls can be stubbed out for unit testing your code with the SDK without needing to inject custom request handlers into the SDK's request pipeline.
// myFunc uses an SDK service client to make a request to // cdnv1. func myFunc(svc cdnv1iface.Cdnv1API) bool { // Make svc.AddCdnDomainGet request } func main() { sess := session.New() svc := cdnv1.New(sess) myFunc(svc) }
In your _test.go file:
// Define a mock struct to be used in your unit tests of myFunc. type mockCdnv1Client struct { cdnv1iface.Cdnv1API } func (m *mockCdnv1Client) AddCdnDomainGet(input *map[string]interface{}) (*map[string]interface{}, error) { // mock response/functionality } func TestMyFunc(t *testing.T) { // Setup Test mockSvc := &mockCdnv1Client{} myfunc(mockSvc) // Verify myFunc's functionality }
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters. Its suggested to use the pattern above for testing, or using tooling to generate mocks to satisfy the interfaces.