Documentation ¶
Index ¶
- func ClearLog()
- func GetPolicyDocument() []byte
- func Run()
- func RunWithArgs(setIni bool, profile string, failsOnly bool, outputFile string, ...)
- type ActionCandidate
- type Entry
- type IAMPolicy
- type ServiceDefinition
- type ServiceDefinitionMetadata
- type ServiceHttp
- type ServiceOperation
- type ServiceStructure
- type Statement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPolicyDocument ¶
func GetPolicyDocument() []byte
Types ¶
type ActionCandidate ¶
type Entry ¶
type Entry struct { Region string `json:"Region"` Type string `json:"Type"` Service string `json:"Service"` Method string `json:"Api"` Parameters map[string][]string URIParameters map[string]string FinalHTTPStatusCode int `json:"FinalHttpStatusCode"` AccessKey string `json:"AccessKey"` }
Entry is a single CSM entry
type ServiceDefinition ¶
type ServiceDefinition struct { Version string `json:"version"` Metadata ServiceDefinitionMetadata `json:"metadata"` Operations map[string]ServiceOperation `json:"operations"` Shapes map[string]ServiceStructure `json:"shapes"` }
type ServiceDefinitionMetadata ¶
type ServiceDefinitionMetadata struct { APIVersion string `json:"apiVersion"` EndpointPrefix string `json:"endpointPrefix"` JSONVersion string `json:"jsonVersion"` Protocol string `json:"protocol"` ServiceFullName string `json:"serviceFullName"` ServiceAbbreviation string `json:"serviceAbbreviation"` ServiceID string `json:"serviceId"` SignatureVersion string `json:"signatureVersion"` TargetPrefix string `json:"targetPrefix"` UID string `json:"uid"` }
type ServiceHttp ¶
type ServiceOperation ¶
type ServiceOperation struct { Http ServiceHttp `json:"http"` Input ServiceStructure `json:"input"` Output ServiceStructure `json:"output"` }
type ServiceStructure ¶
type ServiceStructure struct { Required []string `json:"required"` Shape string `json:"shape"` Type string `json:"type"` Member *ServiceStructure `json:"member"` Members map[string]ServiceStructure `json:"members"` LocationName string `json:"locationName"` QueryName string `json:"queryName"` }
Click to show internal directories.
Click to hide internal directories.