Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the name and the Amazon Resource Name (ARN) of the specified table.
Synopsis
- data GetKeyspace = GetKeyspace' {
- keyspaceName :: Text
- newGetKeyspace :: Text -> GetKeyspace
- getKeyspace_keyspaceName :: Lens' GetKeyspace Text
- data GetKeyspaceResponse = GetKeyspaceResponse' {
- httpStatus :: Int
- keyspaceName :: Text
- resourceArn :: Text
- newGetKeyspaceResponse :: Int -> Text -> Text -> GetKeyspaceResponse
- getKeyspaceResponse_httpStatus :: Lens' GetKeyspaceResponse Int
- getKeyspaceResponse_keyspaceName :: Lens' GetKeyspaceResponse Text
- getKeyspaceResponse_resourceArn :: Lens' GetKeyspaceResponse Text
Creating a Request
data GetKeyspace Source #
See: newGetKeyspace
smart constructor.
GetKeyspace' | |
|
Instances
Create a value of GetKeyspace
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetKeyspace
, getKeyspace_keyspaceName
- The name of the keyspace.
Request Lenses
getKeyspace_keyspaceName :: Lens' GetKeyspace Text Source #
The name of the keyspace.
Destructuring the Response
data GetKeyspaceResponse Source #
See: newGetKeyspaceResponse
smart constructor.
GetKeyspaceResponse' | |
|
Instances
newGetKeyspaceResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> GetKeyspaceResponse |
Create a value of GetKeyspaceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetKeyspaceResponse'
, getKeyspaceResponse_httpStatus
- The response's http status code.
GetKeyspace
, getKeyspaceResponse_keyspaceName
- The name of the keyspace.
GetKeyspaceResponse
, getKeyspaceResponse_resourceArn
- The ARN of the keyspace.
Response Lenses
getKeyspaceResponse_httpStatus :: Lens' GetKeyspaceResponse Int Source #
The response's http status code.
getKeyspaceResponse_keyspaceName :: Lens' GetKeyspaceResponse Text Source #
The name of the keyspace.
getKeyspaceResponse_resourceArn :: Lens' GetKeyspaceResponse Text Source #
The ARN of the keyspace.