Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

squarecapadmin / botocore   python

Repository URL to install this package:

/ botocore / data / cloudfront / 2015-04-17 / service-2.json

{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2015-04-17",
    "endpointPrefix":"cloudfront",
    "globalEndpoint":"cloudfront.amazonaws.com",
    "serviceAbbreviation":"CloudFront",
    "serviceFullName":"Amazon CloudFront",
    "signatureVersion":"v4",
    "protocol":"rest-xml"
  },
  "operations":{
    "CreateCloudFrontOriginAccessIdentity":{
      "name":"CreateCloudFrontOriginAccessIdentity2015_04_17",
      "http":{
        "method":"POST",
        "requestUri":"/2015-04-17/origin-access-identity/cloudfront",
        "responseCode":201
      },
      "input":{
        "shape":"CreateCloudFrontOriginAccessIdentityRequest",
        "documentation":"The request to create a new origin access identity."
      },
      "output":{
        "shape":"CreateCloudFrontOriginAccessIdentityResult",
        "documentation":"The returned result of the corresponding request."
      },
      "errors":[
        {
          "shape":"CloudFrontOriginAccessIdentityAlreadyExists",
          "error":{"httpStatusCode":409},
          "exception":true,
          "documentation":"If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error."
        },
        {
          "shape":"MissingBody",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"This operation requires a body. Ensure that the body is present and the Content-Type header is set."
        },
        {
          "shape":"TooManyCloudFrontOriginAccessIdentities",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Processing your request would cause you to exceed the maximum number of origin access identities allowed."
        },
        {
          "shape":"InvalidArgument",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The argument is invalid."
        },
        {
          "shape":"InconsistentQuantities",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The value of Quantity and the size of Items do not match."
        }
      ],
      "documentation":"Create a new origin access identity."
    },
    "CreateDistribution":{
      "name":"CreateDistribution2015_04_17",
      "http":{
        "method":"POST",
        "requestUri":"/2015-04-17/distribution",
        "responseCode":201
      },
      "input":{
        "shape":"CreateDistributionRequest",
        "documentation":"The request to create a new distribution."
      },
      "output":{
        "shape":"CreateDistributionResult",
        "documentation":"The returned result of the corresponding request."
      },
      "errors":[
        {
          "shape":"CNAMEAlreadyExists",
          "error":{"httpStatusCode":409},
          "exception":true
        },
        {
          "shape":"DistributionAlreadyExists",
          "error":{"httpStatusCode":409},
          "exception":true,
          "documentation":"The caller reference you attempted to create the distribution with is associated with another distribution."
        },
        {
          "shape":"InvalidOrigin",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket."
        },
        {
          "shape":"InvalidOriginAccessIdentity",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The origin access identity is not valid or doesn't exist."
        },
        {
          "shape":"AccessDenied",
          "error":{"httpStatusCode":403},
          "exception":true,
          "documentation":"Access denied."
        },
        {
          "shape":"TooManyTrustedSigners",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Your request contains more trusted signers than are allowed per distribution."
        },
        {
          "shape":"TrustedSignerDoesNotExist",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"One or more of your trusted signers do not exist."
        },
        {
          "shape":"InvalidViewerCertificate",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidMinimumProtocolVersion",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"MissingBody",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"This operation requires a body. Ensure that the body is present and the Content-Type header is set."
        },
        {
          "shape":"TooManyDistributionCNAMEs",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Your request contains more CNAMEs than are allowed per distribution."
        },
        {
          "shape":"TooManyDistributions",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Processing your request would cause you to exceed the maximum number of distributions allowed."
        },
        {
          "shape":"InvalidDefaultRootObject",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The default root object file name is too big or contains an invalid character."
        },
        {
          "shape":"InvalidRelativePath",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The relative path is too big, is not URL-encoded, or does not begin with a slash (/)."
        },
        {
          "shape":"InvalidErrorCode",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidResponseCode",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidArgument",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The argument is invalid."
        },
        {
          "shape":"InvalidRequiredProtocol",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration."
        },
        {
          "shape":"NoSuchOrigin",
          "error":{"httpStatusCode":404},
          "exception":true,
          "documentation":"No origin exists with the specified Origin Id."
        },
        {
          "shape":"TooManyOrigins",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"You cannot create anymore origins for the distribution."
        },
        {
          "shape":"TooManyCacheBehaviors",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"You cannot create anymore cache behaviors for the distribution."
        },
        {
          "shape":"TooManyCookieNamesInWhiteList",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Your request contains more cookie names in the whitelist than are allowed per cache behavior."
        },
        {
          "shape":"InvalidForwardCookies",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected."
        },
        {
          "shape":"TooManyHeadersInForwardedValues",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidHeadersForS3Origin",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InconsistentQuantities",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The value of Quantity and the size of Items do not match."
        },
        {
          "shape":"TooManyCertificates",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"You cannot create anymore custom ssl certificates."
        },
        {
          "shape":"InvalidLocationCode",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidGeoRestrictionParameter",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidProtocolSettings",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that Support Server Name Indication (SNI)."
        },
        {
          "shape":"InvalidTTLOrder",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ],
      "documentation":"Create a new distribution."
    },
    "CreateInvalidation":{
      "name":"CreateInvalidation2015_04_17",
      "http":{
        "method":"POST",
        "requestUri":"/2015-04-17/distribution/{DistributionId}/invalidation",
        "responseCode":201
      },
      "input":{
        "shape":"CreateInvalidationRequest",
        "documentation":"The request to create an invalidation."
      },
      "output":{
        "shape":"CreateInvalidationResult",
        "documentation":"The returned result of the corresponding request."
      },
      "errors":[
        {
          "shape":"AccessDenied",
          "error":{"httpStatusCode":403},
          "exception":true,
          "documentation":"Access denied."
        },
        {
          "shape":"MissingBody",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"This operation requires a body. Ensure that the body is present and the Content-Type header is set."
        },
        {
          "shape":"InvalidArgument",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The argument is invalid."
        },
        {
          "shape":"NoSuchDistribution",
          "error":{"httpStatusCode":404},
          "exception":true,
          "documentation":"The specified distribution does not exist."
        },
        {
          "shape":"BatchTooLarge",
          "error":{"httpStatusCode":413},
          "exception":true
        },
        {
          "shape":"TooManyInvalidationsInProgress",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects."
        },
        {
          "shape":"InconsistentQuantities",
          "error":{"httpStatusCode":400},
          "exception":true,
          "documentation":"The value of Quantity and the size of Items do not match."
        }
      ],
      "documentation":"Create a new invalidation."
    },
    "CreateStreamingDistribution":{
      "name":"CreateStreamingDistribution2015_04_17",
      "http":{
        "method":"POST",
        "requestUri":"/2015-04-17/streaming-distribution",
        "responseCode":201
      },
      "input":{
        "shape":"CreateStreamingDistributionRequest",
        "documentation":"The request to create a new streaming distribution."
      },
      "output":{
        "shape":"CreateStreamingDistributionResult",
        "documentation":"The returned result of the corresponding request."
      },
      "errors":[
        {
          "shape":"CNAMEAlreadyExists",
          "error":{"httpStatusCode":409},
          "exception":true
        },
        {
          "shape":"StreamingDistributionAlreadyExists",
          "error":{"httpStatusCode":409},
          "exception":true
        },
        {
          "shape":"InvalidOrigin",
          "error":{"httpStatusCode":400},
Loading ...