Documentation ¶
Index ¶
- type Distribution
- type Service
- func (s *Service) CreateDistribution(accountID string, customerTags map[string]string) (*Distribution, error)
- func (s *Service) CreateOriginAccessIdentity() (string, error)
- func (s *Service) DeleteDistribution(distributionId string) error
- func (s *Service) DeleteOriginAccessIdentity(oaiId string) error
- func (s *Service) DisableDistribution(distributionId string) error
- func (s *Service) GetOriginAccessIdentity(oaiId string) (*cloudfront.OriginAccessIdentity, *string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distribution ¶
type Service ¶
type Service struct { Client cloudfrontiface.CloudFrontAPI // contains filtered or unexported fields }
Service holds a collection of interfaces.
func NewService ¶
NewService returns a new service given the Cloudfront api client.
func (*Service) CreateDistribution ¶
func (*Service) CreateOriginAccessIdentity ¶
func (*Service) DeleteDistribution ¶
func (*Service) DeleteOriginAccessIdentity ¶
func (*Service) DisableDistribution ¶
func (*Service) GetOriginAccessIdentity ¶
func (s *Service) GetOriginAccessIdentity(oaiId string) (*cloudfront.OriginAccessIdentity, *string, error)
Click to show internal directories.
Click to hide internal directories.