{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2025-08-05",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"pricingplanmanager",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"PricingPlanManager",
    "serviceId":"Pricing Plan Manager",
    "signatureVersion":"v4",
    "signingName":"pricingplanmanager",
    "uid":"pricing-plan-manager-2025-08-05"
  },
  "operations":{
    "ApprovePaidSubscription":{
      "name":"ApprovePaidSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/ApprovePaidSubscription",
        "responseCode":200
      },
      "input":{"shape":"ApprovePaidSubscriptionInput"},
      "output":{"shape":"ApprovePaidSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "AssociateResourcesToSubscription":{
      "name":"AssociateResourcesToSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/AssociateResourcesToSubscription",
        "responseCode":200
      },
      "input":{"shape":"AssociateResourcesToSubscriptionInput"},
      "output":{"shape":"AssociateResourcesToSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "CancelSubscription":{
      "name":"CancelSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/CancelSubscription",
        "responseCode":200
      },
      "input":{"shape":"CancelSubscriptionInput"},
      "output":{"shape":"CancelSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "CancelSubscriptionChange":{
      "name":"CancelSubscriptionChange",
      "http":{
        "method":"POST",
        "requestUri":"/v1/CancelSubscriptionChange",
        "responseCode":200
      },
      "input":{"shape":"CancelSubscriptionChangeInput"},
      "output":{"shape":"CancelSubscriptionChangeOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "CreateSubscription":{
      "name":"CreateSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/CreateSubscription",
        "responseCode":200
      },
      "input":{"shape":"CreateSubscriptionInput"},
      "output":{"shape":"CreateSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "DisassociateResourcesFromSubscription":{
      "name":"DisassociateResourcesFromSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/DisassociateResourcesFromSubscription",
        "responseCode":200
      },
      "input":{"shape":"DisassociateResourcesFromSubscriptionInput"},
      "output":{"shape":"DisassociateResourcesFromSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    },
    "GetSubscription":{
      "name":"GetSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/GetSubscription",
        "responseCode":200
      },
      "input":{"shape":"GetSubscriptionInput"},
      "output":{"shape":"GetSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ],
      "readonly":true
    },
    "ListSubscriptions":{
      "name":"ListSubscriptions",
      "http":{
        "method":"POST",
        "requestUri":"/v1/ListSubscriptions",
        "responseCode":200
      },
      "input":{"shape":"ListSubscriptionsInput"},
      "output":{"shape":"ListSubscriptionsOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ],
      "readonly":true
    },
    "UpdateSubscription":{
      "name":"UpdateSubscription",
      "http":{
        "method":"POST",
        "requestUri":"/v1/UpdateSubscription",
        "responseCode":200
      },
      "input":{"shape":"UpdateSubscriptionInput"},
      "output":{"shape":"UpdateSubscriptionOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"}
      ]
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "ApprovalMode":{
      "type":"string",
      "enum":[
        "MANUAL",
        "IMMEDIATE"
      ]
    },
    "ApprovePaidSubscriptionInput":{
      "type":"structure",
      "required":[
        "arn",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "ApprovePaidSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "AssociateResourcesToSubscriptionInput":{
      "type":"structure",
      "required":[
        "arn",
        "resourceArns",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "resourceArns":{"shape":"ResourceArns"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "AssociateResourcesToSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "CancelSubscriptionChangeInput":{
      "type":"structure",
      "required":[
        "arn",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "CancelSubscriptionChangeOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "CancelSubscriptionInput":{
      "type":"structure",
      "required":[
        "arn",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "CancelSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "CreateSubscriptionInput":{
      "type":"structure",
      "required":[
        "planFamily",
        "planTier",
        "resourceArns"
      ],
      "members":{
        "planFamily":{"shape":"String"},
        "planTier":{"shape":"String"},
        "usageLevel":{"shape":"String"},
        "resourceArns":{"shape":"ResourceArns"},
        "approvalMode":{"shape":"ApprovalMode"},
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "CreateSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "DisassociateResourcesFromSubscriptionInput":{
      "type":"structure",
      "required":[
        "arn",
        "resourceArns",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "resourceArns":{"shape":"ResourceArns"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "DisassociateResourcesFromSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "GetSubscriptionInput":{
      "type":"structure",
      "required":["arn"],
      "members":{
        "arn":{"shape":"SubscriptionArn"}
      }
    },
    "GetSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "IdempotencyToken":{
      "type":"string",
      "max":64,
      "min":1
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "ListSubscriptionsInput":{
      "type":"structure",
      "members":{
        "nextToken":{"shape":"String"}
      }
    },
    "ListSubscriptionsOutput":{
      "type":"structure",
      "required":["subscriptionSummaries"],
      "members":{
        "subscriptionSummaries":{"shape":"SubscriptionSummaryList"},
        "nextToken":{"shape":"String"}
      }
    },
    "ResourceArns":{
      "type":"list",
      "member":{"shape":"String"},
      "max":10,
      "min":1
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ScheduledChange":{
      "type":"structure",
      "required":["changeType"],
      "members":{
        "changeType":{"shape":"ScheduledChangeType"},
        "effectiveDate":{"shape":"SyntheticTimestamp_date_time"},
        "planTier":{"shape":"String"},
        "usageLevel":{"shape":"String"}
      }
    },
    "ScheduledChangeType":{
      "type":"string",
      "enum":[
        "DOWNGRADE",
        "CANCELLATION"
      ]
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":402,
        "senderFault":true
      },
      "exception":true
    },
    "Status":{
      "type":"string",
      "enum":[
        "PENDING_APPROVAL",
        "ACTIVE",
        "SYNC_IN_PROGRESS",
        "FAILED"
      ]
    },
    "String":{"type":"string"},
    "Subscription":{
      "type":"structure",
      "required":[
        "arn",
        "planFamily",
        "planTier",
        "status",
        "resourceArns",
        "createdAt",
        "updatedAt"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "planFamily":{"shape":"String"},
        "planTier":{"shape":"String"},
        "usageLevel":{"shape":"String"},
        "scheduledChange":{"shape":"ScheduledChange"},
        "status":{"shape":"Status"},
        "statusReason":{"shape":"String"},
        "resourceArns":{"shape":"ResourceArns"},
        "createdAt":{"shape":"SyntheticTimestamp_date_time"},
        "updatedAt":{"shape":"SyntheticTimestamp_date_time"}
      }
    },
    "SubscriptionArn":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "SubscriptionSummary":{
      "type":"structure",
      "required":[
        "arn",
        "planFamily",
        "planTier",
        "status",
        "resourceArns",
        "createdAt",
        "updatedAt",
        "eTag"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "planFamily":{"shape":"String"},
        "planTier":{"shape":"String"},
        "usageLevel":{"shape":"String"},
        "scheduledChange":{"shape":"ScheduledChange"},
        "status":{"shape":"Status"},
        "statusReason":{"shape":"String"},
        "resourceArns":{"shape":"ResourceArns"},
        "createdAt":{"shape":"SyntheticTimestamp_date_time"},
        "updatedAt":{"shape":"SyntheticTimestamp_date_time"},
        "eTag":{"shape":"String"}
      }
    },
    "SubscriptionSummaryList":{
      "type":"list",
      "member":{"shape":"SubscriptionSummary"}
    },
    "SyntheticTimestamp_date_time":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "ThrottlingException":{
      "type":"structure",
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true
    },
    "UpdateSubscriptionInput":{
      "type":"structure",
      "required":[
        "arn",
        "planTier",
        "ifMatch"
      ],
      "members":{
        "arn":{"shape":"SubscriptionArn"},
        "planTier":{"shape":"String"},
        "usageLevel":{"shape":"String"},
        "ifMatch":{
          "shape":"String",
          "location":"header",
          "locationName":"If-Match"
        },
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        }
      }
    },
    "UpdateSubscriptionOutput":{
      "type":"structure",
      "required":[
        "subscription",
        "eTag"
      ],
      "members":{
        "subscription":{"shape":"Subscription"},
        "eTag":{
          "shape":"String",
          "location":"header",
          "locationName":"ETag"
        }
      },
      "payload":"subscription"
    },
    "ValidationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    }
  }
}
