Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new client crate organization scheme #2081

Closed
18 tasks done
Tracked by #1692
jdisanti opened this issue Dec 8, 2022 · 0 comments
Closed
18 tasks done
Tracked by #1692

Implement new client crate organization scheme #2081

jdisanti opened this issue Dec 8, 2022 · 0 comments
Assignees
Labels

Comments

@jdisanti
Copy link
Collaborator

jdisanti commented Dec 8, 2022

Implement the client crate organization RFC:

  • Move crate::AppName, crate::Endpoint, crate::Credentials, and crate::Region into crate::config
  • Move crate::PKG_VERSION into a new crate::meta module
  • Move crate::operation::customize into crate::client
  • Organize code generated types by operation
  • Reorganize builders that aren't per-operation
  • Only re-export aws_smithy_client::client::Builder for non-SDK clients (remove from SDK clients)
  • Rename crate::types to crate::primitives
  • Rename crate::model to crate::types
  • Move crate::error into crate::types
  • Move crate::ErrorExt into crate::error
  • Re-export aws_smithy_types::error::display::DisplayErrorContext and aws_smithy_http::result::SdkError in crate::error
  • Move crate::paginator into crate::operation
  • Flatten crate::presigning
  • Remove/hide operation ParseResponse implementations in crate::operation
  • Hide or remove crate::lens and crate::http_body_checksum
  • Update "Crate Organization" top-level section in generated crate docs
  • Update the RFC status and checklist
  • Add test the generated SDK crate that warns if any file is larger than 1MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants