CreateApiKeyRequest

public struct CreateApiKeyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID for your GraphQL API.

    Declaration

    Swift

    public let apiId: String
  • A description of the purpose of the API key.

    Declaration

    Swift

    public let description: String?
  • The time from creation time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .

    Declaration

    Swift

    public let expires: Int64?
  • Undocumented

    Declaration

    Swift

    public init(apiId: String, description: String? = nil, expires: Int64? = nil)